 |
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.SceneNodesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
Syntaxpublic int InstancesCount { get; set; }Property Value
Int32
See Also