Open 3D Engine WhiteBox Gem API Reference
24.09
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
|
#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.