Breyta

Deila með


Vector2.Item[Int32] Property

Definition

Gets or sets the element at the specified index.

public:
 property float default[int] { float get(int index); void set(int index, float value); };
public float this[int index] { get; set; }
member this.Item(int) : single with get, set
Default Public Property Item(index As Integer) As Single

Parameters

index
Int32

The index of the element to get or set.

Property Value

The the element at index.

Exceptions

index was less than zero or greater than the number of elements.

Applies to