Union Bytes EngineModulesMathVectorv4fSet

Union Bytes Engine

GeneralHilfeseitensyntaxModules
AnimationBillboardCageCameraControlDefinitionDrawingFontGadgetGeneralJoystickLightMaterialMath
QuaternionVector
v4fAddv4fAdditionv4fChangev4fDotv4fLengthv4fSetVECTOR4f
MeshNetworkNodeObjectParticlePhysicShaderSoundsSpriteTexture

v4fSetFUNCTION

Description

Sets the specified homogeneous vector.

Syntax

*v4fTarget.UBE_VECTOR4f = UBE_v4fSet( *v4fTarget.UBE_VECTOR4f, X.f, Y.f, Z.f, W.f )

Parameters

*v4fTarget A valid pointer to a homogeneous vector
X, Y, Z The values of the three coordinates
W Should be 0.0 if the vector is a direction and 1.0 if the vector is a location!

Return value

The pointer to the homogeneous vector.

See also

Union Bytes | Login