Click or drag to resize
Ab4d.SharpEngine logo

InstancedMeshNodeInstancesCount Property

Gets or sets number of rendered instances. This value is automatically set from the SetInstanceData method to the length of the InstancesData array. But user can change the value to render just part of the instances. Changing this property will recalculate the bounding box of this SceneNode. To prevent potentially slow recalculation, use the SetInstancesRange(Int32, Int32, BoundingBox) method.

Namespace: Ab4d.SharpEngine.SceneNodes
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
Syntax
C#
public int InstancesCount { get; set; }

Property Value

Int32

[Missing <value> documentation for "P:Ab4d.SharpEngine.SceneNodes.InstancedMeshNode.InstancesCount"]

Remarks

[Missing <remarks> documentation for "P:Ab4d.SharpEngine.SceneNodes.InstancedMeshNode.InstancesCount"]

See Also