Click or drag to resize

Vector3Item Property

Access vector components using their index.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public float this[
	int index
] { get; set; }

Parameters

index
Type: SystemInt32

Property Value

Type: Single
`[0]` is equivalent to `.x`, `[1]` is equivalent to `.y`, `[2]` is equivalent to `.z`.
See Also