Vector4.Set

Set(double, double, double)

Sets vector’s xyz components at a time, w will be set to 1

public void Set(double newX, double newY, double newZ)
ParameterTypeDescription
newXDoubleNew X component.
newYDoubleNew Y component.
newZDoubleNew Z component.

See Also


Set(double, double, double, double)

Sets vector’s all components at a time

public void Set(double newX, double newY, double newZ, double newW)
ParameterTypeDescription
newXDoubleNew X component.
newYDoubleNew Y component.
newZDoubleNew Z component.
newWDoubleNew W component.

See Also