#include <WhiteBoxRenderMeshInterface.h>
Inherited by WhiteBox::AtomRenderMesh, and WhiteBox::WhiteBoxNullRenderMesh.
Public Member Functions | |
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). | |
A generic interface for the White Box Component to communicate with regardless of the rendering backend.
|
pure virtual |
Take White Box render data and populate the render mesh from it.
Implemented in WhiteBox::AtomRenderMesh, and WhiteBox::WhiteBoxNullRenderMesh.
|
pure virtual |
Set the White Box mesh visible (true) or invisible (false).
Implemented in WhiteBox::AtomRenderMesh, and WhiteBox::WhiteBoxNullRenderMesh.
|
pure virtual |
Update the material of the render mesh.
Implemented in WhiteBox::AtomRenderMesh, and WhiteBox::WhiteBoxNullRenderMesh.
|
pure virtual |
Update the transform of the render mesh.
Implemented in WhiteBox::AtomRenderMesh, and WhiteBox::WhiteBoxNullRenderMesh.