Click or drag to resize
AB4D logo

RenderableInstancedObjectsPrimitive Constructor

Initializes a new instance of the RenderableInstancedObjectsPrimitive class.

Namespace: Ab3d.DirectX
Assembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.1.9105.2048 (1.0.0.0)
Syntax
C#
public RenderableInstancedObjectsPrimitive(
	ObjectNode parentObjectNode,
	MeshBase meshBase,
	Material material,
	VertexBufferBinding instanceBufferBinding,
	int instancesCount,
	int startInstanceIndex = 0
)

Parameters

parentObjectNode  ObjectNode
The parent ObjectNode
meshBase  MeshBase
MeshBase
material  Material
Material
instanceBufferBinding  VertexBufferBinding
VertexBufferBinding that represents instances buffer
instancesCount  Int32
The number of instances
startInstanceIndex  Int32  (Optional)
The start index of the instances in InstanceBufferBinding
See Also