Click or drag to resize
DigitalRuneInstanceData Constructor (Matrix, Vector4)
Initializes a new instance of the InstanceData struct.

Namespace: DigitalRune.Graphics
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
public InstanceData(
	Matrix world,
	Vector4 color
)

Parameters

world
Type: Matrix
The world matrix.
color
Type: Vector4
The instance color (RGBA).
Remarks
The first three columns of the world matrix is stored in Register0 to Register2. The color is stored in Register3.
See Also