brazerzkidaibs.blogg.se

Coppercube set focus
Coppercube set focus







coppercube set focus

You can start this action using this call then:ĬcbInvokeAction(this.ActionWhenFinished) Referencing the action defined by the user in the editor. This means that the JavaScript instance of this action will have a property named 'ActionWhenFinished' at runtime then, Returns the child scene node of a parent scene node. The parameter 'node' must be a camera scene node. Sets the currently active camera to the scene. Returns the currently active camera of the scene.ĬcbSetActiveCamera(node) Note: This function is not available in the editor. This example will create a copy of an existing scene node with the name 'myNode'.ĬcbGetActiveCamera() Note: This function is not available in the editor. Var newscenenode = ccbCloneSceneNode(sourceNode) Var sourceNode = ccbGetSceneNodeFromName("myNode") You can get an existing scene node forexample with ccbGetSceneNodeFromName() The parameter 'node' must be an exiting scene node.

coppercube set focus

Standard Library(basic functions for math, strings, arrays, regex etc)ĬcbCloneSceneNode(node) Note: This function is not available in the editor.Ĭreates a new scene node based on an existing scene node. Mesh Editing ccbGetSceneNodeMeshBufferCount Internally using a scene graph to represent the 3d scene.ĬcbDoesLineCollideWithBoundingBoxOfSceneNodeĮditorGetFileNameFromDialog editorGetSelectedSceneNode The name 'scene node' is there because CopperCube is With a position, rotation, scale, its materials and children. A scene node is nothing more than a 3d object Most of these functions manipulate so called 'scene nodes'.

#Coppercube set focus how to#

See CopperCube Scripting overview for a short description on how to do this. app Scripting reference Back to ContentĬopperCube provides a very simple interface to manipulate all aspects of a 3D scene. Overview - Coppercube JavaScript Windows.









Coppercube set focus