Click or drag to resize
Ab4d.SharpEngine logo

InstancedMeshNodeUpdateInstancesData(Boolean) Method

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.

Namespace: Ab4d.SharpEngine.SceneNodes
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
Syntax
C#
public void UpdateInstancesData(
	bool updateBoundingBox = true
)

Parameters

updateBoundingBox  Boolean  (Optional)

[Missing <param name="updateBoundingBox"/> documentation for "M:Ab4d.SharpEngine.SceneNodes.InstancedMeshNode.UpdateInstancesData(System.Boolean)"]

Exceptions
ExceptionCondition
InvalidOperationExceptionwhen SetInstancesData was not called before
Remarks

[Missing <remarks> documentation for "M:Ab4d.SharpEngine.SceneNodes.InstancedMeshNode.UpdateInstancesData(System.Boolean)"]

See Also