Skip to main content

Vector4

Complete API reference for Vector4, including constructors, attributes, virtual attributes, and methods.

Package: JAVARuntime

Category: Vector

Component: no


public class Vector4

Constructors

SignatureDescription
Vector4(Vector4)Executes Vector4 and returns after the underlying engine call finishes.
Vector4()Executes Vector4 and returns after the underlying engine call finishes.
Vector4(float, float, float, float)Creates a new instance of Vector4.
Vector4(float, float, float, int)Creates a new instance of Vector4.
Vector4(float, float, int, int)Creates a new instance of Vector4.
Vector4(float, int, int, int)Creates a new instance of Vector4.
Vector4(int, int, int, int)Creates a new instance of Vector4.
Vector4(int, float, int, int)Creates a new instance of Vector4.
Vector4(int, int, float, int)Creates a new instance of Vector4.
Vector4(int, int, int, float)Creates a new instance of Vector4.
Vector4(float, float, float)Creates a new instance of Vector4.
Vector4(int, float, float)Creates a new instance of Vector4.
Vector4(float, int, float)Creates a new instance of Vector4.
Vector4(float, float, int)Creates a new instance of Vector4.
Vector4(int, int, float)Creates a new instance of Vector4.
Vector4(float, int, int)Creates a new instance of Vector4.
Vector4(float, float)Creates a new instance of Vector4.
Vector4(int, float)Creates a new instance of Vector4.
Vector4(float, int)Creates a new instance of Vector4.
Vector4(int, int)Creates a new instance of Vector4.
Vector4(float)Creates a new instance of Vector4.
Vector4(int)Creates a new instance of Vector4.

Attributes

NameTypeDescription
instanceVector4Represents the instance value stored on this instance. Read or assign to update the property.

Virtual Attributes

NameTypeAccessDescription
wfloatget/setVirtual attribute exposed by getW. Access it like a field to read or write the underlying value.
xfloatget/setVirtual attribute exposed by getX. Access it like a field to read or write the underlying value.
yfloatget/setVirtual attribute exposed by getY. Access it like a field to read or write the underlying value.
zfloatget/setVirtual attribute exposed by getZ. Access it like a field to read or write the underlying value.

Methods

SignatureReturnsDescription
set(Vector4)voidSets or updates the the value.
set(float, float, float, float)voidSets or updates the the value.
set(float)voidSets or updates the the value.