Documentation
Resources
Community
Manual
Reference
Scripting
Scripting
>
Runtime Classes
>
Vector3
Menu
Overview
Runtime Classes
Attributes
Enumerations
Editor Classes
Enumerations
History
Index
Vector3
All Members
Variables
magnitude
normalized
sqrMagnitude
this [int index]
x
y
z
Constructors
Vector3
Functions
Normalize
Scale
ToString
Class Variables
forward
one
right
up
zero
Class Functions
Angle
Cross
Distance
Dot
Lerp
Max
Min
operator !=
operator *
operator +
operator -
operator /
operator ==
OrthoNormalize
Project
Reflect
RotateTowards
Scale
Slerp
Vector3
.this [int index]
var
this[index :
int
] :
float
Description
Access the x, y, z components using [0], [1], [2] respectively.
Vector3 p;
p[1] = 5;
// the same as p.y = 5