Математика |
addToWorld Usage -- Lingo syntax member(whichCastmember).model(whichModel).addToWorld() member(whichCastmember).group(whichGroup).addToWorld() member(whichCastmember).camera(whichCamera).addToWorld() member(whichCastmember).light(whichLight).addToWorld() // JavaScript syntax member(whichCastmember).model(whichModel).addToWorld() member(whichCastmember).group(whichGroup).addToWorld() member(whichCastmember).camera(whichCamera).addToWorld() memberwhichCastmember).light(whichLight).addToWorld() Description 3D command; inserts the model, group, camera, or light into the 3D world of the cast member as a child of the group named World. When a model, group, camera, or light is created or cloned, it is automatically added to the world. Use the removeFromWorld command to take a model, group, camera, or light out of the 3D world without deleting it. Use the isInWorld() command to test whether a model, group, camera, or light has been added or removed from the world. Parameters None. Example This statement adds the model named gbCyl to the 3D world of the cast member named Scene. -- Lingo syntax member("Scene").model("gbCyl").addToWorld() // JavaScript syntax member("Scene").model("gbCyl").addToWorld();
|