Click or drag to resize
DigitalRuneQuaternionFItem Property
Gets or sets the component at the specified index.

Namespace: DigitalRune.Mathematics.Algebra
Assembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax
public float this[
	int index
] { get; set; }

Parameters

index
Type: SystemInt32
The index.

Property Value

Type: Single
The component at index.
Exceptions
ExceptionCondition
ArgumentOutOfRangeException The index is out of range.
Remarks
The index is zero based: w = quaternion[0], x = quaternion[1], ... z = quaternion[3].
See Also