Constructor HalfVector3
HalfVector3(Vector3, bool3)
Constructor
Declaration
public HalfVector3(Vector3 vector3, bool3 axisToSynchronize)
Parameters
Type | Name | Description |
---|---|---|
Vector3 | vector3 | The initial axial values (converted to half floats) when instantiated. |
bool3 | axisToSynchronize |
HalfVector3(Vector3)
Constructor that defaults to all axis being synchronized.
Declaration
public HalfVector3(Vector3 vector3)
Parameters
Type | Name | Description |
---|---|---|
Vector3 | vector3 | The initial axial values (converted to half floats) when instantiated. |
HalfVector3(float, float, float, bool3)
Constructor
Declaration
public HalfVector3(float x, float y, float z, bool3 axisToSynchronize)
Parameters
Type | Name | Description |
---|---|---|
float | x | The initial x axis (converted to half float) value when instantiated. |
float | y | The initial y axis (converted to half float) value when instantiated. |
float | z | The initial z axis (converted to half float) value when instantiated. |
bool3 | axisToSynchronize | The axis to synchronize. |
HalfVector3(float, float, float)
Constructor that defaults to all axis being synchronized.
Declaration
public HalfVector3(float x, float y, float z)
Parameters
Type | Name | Description |
---|---|---|
float | x | The initial x axis (converted to half float) value when instantiated. |
float | y | The initial y axis (converted to half float) value when instantiated. |
float | z | The initial z axis (converted to half float) value when instantiated. |