Union Bytes EngineModulesNodeGetNodePosition

Union Bytes Engine

GeneralHilfeseitensyntaxModules
AnimationBillboardCageCameraControlDefinitionDrawingFontGadgetGeneralJoystickLightMaterialMathMeshNetworkNode
CreateNodeFreeNodeGetNodePositionGetNodePositionXYZMoveNodeNodeIDRotateNodeSetNodePosition
ObjectParticlePhysicShaderSoundsSpriteTexture

GetNodePositionFUNCTION

Description

Gets the position of the specified node.

Syntax

*Position.UBE_VECTOR4f = UBE_GetNodePosition( Node.i [, *Position.UBE_VECTOR4f [, Mode.i]] )

Parameters

Node The number of the node.
*Position A pointer to a vector in which the position is stored.
It is possible to set this pointer to #UBE_NONE (used by default).
In this case the position is stored in a temporary buffer.
Mode One of following constants:
#UBE_PARENT The returned position is in the parent coordinate system.
#UBE_LOCAL The returned position is in the local coordinate system.
#UBE_WORLD The returned position is in the world coordinate system.
The default mode is #UBE_WORLD.

Return value

The pointer of the temporary buffer or the passed value of *Position.

See also

Union Bytes | Login