Coppercube position x percent1/4/2023 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. 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 position x percent 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.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |