| QuaternionDItem Property |
Gets or sets the component at the specified index.
Namespace: DigitalRune.Mathematics.AlgebraAssembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax public double this[
int index
] { get; set; }
Public Default Property Item (
index As Integer
) As Double
Get
Set
public:
property double default[int index] {
double get (int index);
void set (int index, double value);
}
member Item : float with get, set
Parameters
- index
- Type: SystemInt32
The index.
Property Value
Type:
DoubleThe component at
index.
Exceptions Remarks
The index is zero based: w = quaternion[0], x = quaternion[1], ... z = quaternion[3].
See Also