[]
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, 1 for the Y component, 2 for the Z component, and 3 for the W component. |
Type | Description |
---|---|
float | The value of the X, Y, Z, or W component, depending on the index. |
Type | Condition |
---|---|
ArgumentOutOfRangeException | Thrown when the |