Skip to main content

float4

A simple four float Vector used for interfacing with Vector4 and Networking.

note

This type can be networked

Properties

Property NameProperty TypeDefault ValueDescription
xfloat0The X value of the Vector
yfloat0The Y value of the Vector
zfloat0The Z value of the Vector
wfloat0The W value of the Vector

Constructors

ConstructorDescription
float4()Returns a float4 with properties x, y, z, and w left at default.
float4(float x, float y, float z, float w)Returns a float4 with property x set to the first parameter, property y set to the second parameter, property z set to the third parameter, and property w set to the fourth parameter.