Box |
The BoxModelNode type exposes the following members.
Name | Description | |
---|---|---|
GetCenterPosition |
Returns center position of this Box.
When applyTransformation is true (by default), then center position is also transformed by Transform.
(Overrides ModelNodeGetCenterPosition(Boolean, Boolean)) | |
OnInitializeSceneResources |
Initializes resources with the specified Scene and GpuDevice.
This method can be override and is called from InitializeSceneResources(Scene) method.
(Overrides ModelNodeOnInitializeSceneResources(Scene, VulkanDevice)) | |
UpdateLocalBoundingBox |
UpdateLocalBoundingBox
(Overrides ModelNodeUpdateLocalBoundingBox) | |
UpdateMesh |
UpdateMesh method recreates the mesh based on the current object properties.
The method should be overriden in the derived class that provides its own mesh generation.
(Overrides ModelNodeUpdateMesh) |