Access the X, Y components of the vector using [0], [1] respectively.
Namespace:
LightBuzz
Assembly:
LightBuzz (in LightBuzz.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic 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 of the component to access.
Return Value
Type:
SingleThe current vector.
See Also