[]
Gets or sets the component at the specified index.
public float this[int index] { get; set; }
| Type | Name | Description |
|---|---|---|
| int | index | The index of the component to access. Use 0 for the X component and 1 for the Y component. |
| Type | Description |
|---|---|
| float | The value of the X or Y component, depending on the index. |
| Type | Condition |
|---|---|
| ArgumentOutOfRangeException | Thrown when the |