Open 3D Engine WhiteBox Gem API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
WhiteBox::WhiteBoxNullRenderMesh Class Reference

Inherits WhiteBox::RenderMeshInterface.

Public Member Functions

 AZ_RTTI (WhiteBoxNullRenderMesh, "{99230D4D-5592-4A41-8BAB-60C1B7C1785D}", RenderMeshInterface)
 
 WhiteBoxNullRenderMesh (AZ::EntityId entityId)
 
void BuildMesh (const WhiteBoxRenderData &renderData, const AZ::Transform &worldFromLocal) override
 Take White Box render data and populate the render mesh from it.
 
void UpdateTransform (const AZ::Transform &worldFromLocal) override
 Update the transform of the render mesh.
 
void UpdateMaterial (const WhiteBoxMaterial &material) override
 Update the material of the render mesh.
 
void SetVisiblity (bool visibility) override
 Set the White Box mesh visible (true) or invisible (false).
 
bool IsVisible () const override
 
- Public Member Functions inherited from WhiteBox::RenderMeshInterface
 AZ_RTTI (RenderMeshInterface, "{F3ADF2DC-6A40-4943-95BE-6C7E24605BE9}")
 
virtual void BuildMesh (const WhiteBoxRenderData &renderData, const AZ::Transform &worldFromLocal)=0
 Take White Box render data and populate the render mesh from it.
 
virtual void UpdateTransform (const AZ::Transform &worldFromLocal)=0
 Update the transform of the render mesh.
 
virtual void UpdateMaterial (const WhiteBoxMaterial &material)=0
 Update the material of the render mesh.
 
virtual bool IsVisible () const =0
 
virtual void SetVisiblity (bool visibility)=0
 Set the White Box mesh visible (true) or invisible (false).
 

Member Function Documentation

◆ BuildMesh()

void WhiteBox::WhiteBoxNullRenderMesh::BuildMesh ( const WhiteBoxRenderData renderData,
const AZ::Transform &  worldFromLocal 
)
overridevirtual

Take White Box render data and populate the render mesh from it.

Implements WhiteBox::RenderMeshInterface.

◆ IsVisible()

bool WhiteBox::WhiteBoxNullRenderMesh::IsVisible ( ) const
overridevirtual

◆ SetVisiblity()

void WhiteBox::WhiteBoxNullRenderMesh::SetVisiblity ( bool  visibility)
overridevirtual

Set the White Box mesh visible (true) or invisible (false).

Implements WhiteBox::RenderMeshInterface.

◆ UpdateMaterial()

void WhiteBox::WhiteBoxNullRenderMesh::UpdateMaterial ( const WhiteBoxMaterial material)
overridevirtual

Update the material of the render mesh.

Implements WhiteBox::RenderMeshInterface.

◆ UpdateTransform()

void WhiteBox::WhiteBoxNullRenderMesh::UpdateTransform ( const AZ::Transform &  worldFromLocal)
overridevirtual

Update the transform of the render mesh.

Implements WhiteBox::RenderMeshInterface.


The documentation for this class was generated from the following file: