Gets or sets the component at the specified index.
Namespace:
NeoAxis
Assembly:
NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax public Vector2 this[
int index
] { get; set; }
Parameters
- index
- Type: SystemInt32
The index of the component to access. Use 0 for the A component, 1 for the B component, and 2 for the C component.
Property Value
Type:
Vector2The value of the A, B, or C component, depending on the index.
Return Value
Type:
Vector2The value of the component at the specified index.
Exceptions See Also