3D Lingo Dictionary > O-S > removeFromWorld |
![]() ![]() ![]() |
removeFromWorld
Syntax
member(whichCastmember
).model(whichModel
).removeFromWorld() member(whichCastmember
).light(whichLight
).removeFromWorld() member(whichCastmember
).camera(whichCamera
).removeFromWorld() member(whichCastmember
).group(whichGroup
).removeFromWorld()
Description
3D command; for models, lights, cameras or groups whose parent hierarchy terminates in the world object, this command sets their parent to void and removes them from the world.
For objects whose parent hierarchy does not terminate in the world, this command does nothing.
Example
This command removes the model named gbCyl from the 3D world of the cast member named Scene.
member("Scene").model("gbCyl").removeFromWorld()
![]() ![]() ![]() |