Class InstancingUserArray
[DataContract("InstancingUserArray")]
[Display("UserArray", null)]
public class InstancingUserArray : IInstancing
- Inheritance
-
InstancingUserArray
- Implements
- Derived
Fields
WorldInverseMatrices
The inverse instance transformation matrices, updated automatically by the InstancingProcessor.
public Matrix[] WorldInverseMatrices
Field Value
- Matrix[]
WorldMatrices
The instance transformation matrices.
public Matrix[] WorldMatrices
Field Value
- Matrix[]
Properties
BoundingBox
The bounding box of the world matrices, updated automatically by the InstancingProcessor.
public virtual BoundingBox BoundingBox { get; }
Property Value
InstanceCount
The instance count
public virtual int InstanceCount { get; }
Property Value
ModelTransformUsage
[DataMember(10)]
[Display("Model Transformation Usage", null)]
public virtual ModelTransformUsage ModelTransformUsage { get; set; }
Property Value
Methods
Update()
public virtual void Update()
UpdateWorldMatrices(Matrix[], int)
Updates the world matrices.
public void UpdateWorldMatrices(Matrix[] matrices, int instanceCount = -1)