Vector3 constructor

init

Constructs a new instance of Vector3

def __init__(self):
    ...

init

Initializes a new instance of the Vector3 struct.

def __init__(self, vec):
    ...
ParameterTypeDescription
vecFVector3The x coordinate.

init

Initializes a new instance of the Vector3 struct.

def __init__(self, v):
    ...
ParameterTypeDescription
vfloatV.

init

Initializes a new instance of the Vector3 struct.

def __init__(self, vec4):
    ...
ParameterTypeDescription
vec4Vector4Vec4.

init

Initializes a new instance of the Vector3 struct.

def __init__(self, x, y, z):
    ...
ParameterTypeDescription
xfloatThe x coordinate.
yfloatThe y coordinate.
zfloatThe z coordinate.

See Also