Click or drag to resize
Ab4d.SharpEngine logo

InstancedMeshNodeUpdateInstancesData Method

Overload List
 NameDescription
Public methodUpdateInstancesData(Boolean) UpdateInstancesData recreates the instances data buffer from the array of WorldColorInstanceData that was set by calling the SetInstancesData(WorldColorInstanceData) method. When the BoundingBox has changed and you know the new bounding box, call the UpdateInstancesData(BoundingBox) to prevent calculating it from the instances data.
Public methodUpdateInstancesData(BoundingBox) UpdateInstancesData recreates the instances data buffer from the array of WorldColorInstanceData that was set by calling the SetInstancesData(WorldColorInstanceData) method. This method also sets new bounding box of all mesh instances (without the transformation that is applied to this SceneNode).
Top
See Also