Script v1.7.1.0
- AI
- Animals
- Contracts
- Debug
- Economy
- Effects
- Events
- Farms
- GUI
- Handtools
- I3d
- Materials
- Misc
- Objects
- Placeables
- Player
- Shop
- Sounds
- Specializations
- Triggers
- Utils
- Vehicles
- Weather
Engine v1.7.1.0
- AI
- Animation
- Camera
- Entity
- Fillplanes
- General
- I3D
- Input
- Lighting
- Math
- Network
- Node
- Overlays
- Particle System
- Physics
- Rendering
- Scenegraph
- clone
- getClipDistance
- getMinClipDistance
- getObjectMask
- getQuaternion
- getScale
- getTranslation
- getUserAttribute
- getVisibility
- getWorldQuaternion
- getWorldRotation
- getWorldTranslation
- localDirectionToLocal
- localDirectionToWorld
- localRotationToWorld
- localToLocal
- localToWorld
- project
- rotateAboutLocalAxis
- setClipDistance
- setDirection
- setMinClipDistance
- setObjectMask
- setQuaternion
- setRootNode
- setScale
- setUserAttribute
- setVisibility
- unProject
- worldDirectionToLocal
- worldToLocal
- Shape
- Sound
- Spline
- String
- Terrain Detail
- Text Rendering
- Tire Track
- XML
- general
Foundation Reference
clone
DescriptionClone scenegraph objectDefinition
clone(integer objectId, boolean groupUnderParent, boolean callOnCreate, boolean addPhysics)Arguments
integer | objectId | objectId |
boolean | groupUnderParent | groupUnderParent |
boolean | callOnCreate | callOnCreate (optional) |
boolean | addPhysics | addPhysics (optional) |
cloneId | string | cloneId |