Script v1.4.4.0
Engine v7.0.0.2
- General
- Entity
- Node
- Scenegraph
- clone
- createTransformGroup
- getClipDistance
- getEffectiveClipDistance
- getEffectiveMinClipDistance
- getMinClipDistance
- getObjectMask
- getQuaternion
- getRootNode
- getRotation
- getScale
- getTranslation
- getUserAttribute
- getVisibility
- getWorldQuaternion
- getWorldRotation
- getWorldTranslation
- localDirectionToLocal
- localDirectionToWorld
- localToLocal
- localToWorld
- project
- rotateAboutLocalAxis
- setClipDistance
- setDirection
- setMinClipDistance
- setObjectMask
- setQuaternion
- setRootNode
- setRotation
- setScale
- setTranslation
- setUserAttribute
- setVisibility
- unProject
- worldDirectionToLocal
- worldToLocal
- Lighting
- Camera
- Shape
- Particle System
- Physics
- Spline
- Animation
- Overlays
- Sound
- Input
- XML
- Network
- Callbacks
- Text Rendering
- Terrain Detail
- Tire Track
- Editor
- Rendering
- String
- Math
- I3D
- Fillplanes
Foundation Reference
clone
DescriptionClone scenegraph objectDefinition
clone(integer objectId, boolean groupUnderParent, boolean callOnCreate, boolean addPhysics)Arguments
integer | objectId | id of scenegraph object |
boolean | groupUnderParent | if true the clone will be linked to the the same parent as objectid, otherwise it is not linked to the scenegraph |
boolean | callOnCreate | call oncreate |
boolean | addPhysics | add node to physics |
string | cloneId | id of clone object |