Click or drag to resize
AB4D logo

RenderableInstancedObjectsNode Constructor

Initializes a new instance of the RenderableInstancedObjectsNode class.

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

Parameters

parentObjectNode
Type: Ab3d.DirectXObjectNode
The parent ObjectNode
meshBase
Type: Ab3d.DirectXMeshBase
MeshBase
material
Type: Ab3d.DirectXMaterial
Material
instanceBufferBinding
Type: VertexBufferBinding
VertexBufferBinding that represents instances buffer
instancesCount
Type: SystemInt32
The number of instances
startInstanceLocation (Optional)
Type: SystemInt32
The start index of the instances in InstanceBufferBinding
See Also