Union Bytes EngineModulesObjectCreateObject

Union Bytes Engine

GeneralHilfeseitensyntaxModules
AnimationBillboardCageCameraControlDefinitionDrawingFontGadgetGeneralJoystickLightMaterialMathMeshNetworkNodeObject
CreateObjectGetObjectPositionMoveObjectRotateObjectScaleObject
ParticlePhysicShaderSoundsSpriteTexture

CreateObject

Description

Creates a new object with the given Mesh and Material.

Syntax

UBE_CreateObject( Object.i, Mesh.i, Material.i )

Parameters

Object The number of the new object.
You can use #UBE_ANY to create a unique number.
Mesh The number of the Mesh.
Material The number of the Material.

Return value

If the function fails #Null, otherwise the unique number of the object.

See also

Union Bytes | Login