| Vector3FItem 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 float this[
int index
] { get; set; }
Public Default Property Item (
index As Integer
) As Single
Get
Set
public:
property float default[int index] {
float get (int index);
void set (int index, float value);
}
member Item : float32 with get, set
Parameters
- index
- Type: SystemInt32
The index.
Property Value
Type:
SingleThe component at
index.
Exceptions Remarks
The index is zero based: x = vector[0], y = vector[1], z = vector[2].
See Also