Click or drag to resize
DigitalRuneInstanceData Constructor (Vector3F, Pose, Vector4F)
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(
	Vector3F scale,
	Pose pose,
	Vector4F color
)

Parameters

scale
Type: DigitalRune.Mathematics.AlgebraVector3F
The instance scale.
pose
Type: DigitalRune.GeometryPose
The instance pose.
color
Type: DigitalRune.Mathematics.AlgebraVector4F
The instance color (RGBA).
Remarks
A world matrix is created from scale and pose. The first three columns of the world matrix is stored in Register0 to Register2. The color is stored in Register3.
See Also