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.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
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