intrinsic-178 Copy3DObjects

Top  Previous  Next

178: Copy3DObjects(ToObj, FromObj);

 

This intrinsic copies one 3D Object to another. The objects can be any type of 3D objects including frames, meshes, strings, or lines. You can even copy one type of object to another type, because different types of objects share common properties and the program will only copy the common, shared properties. For example, frames and meshes both have position and rotation. Likewise meshes, strings, and lines share color information.

Arguments:

 

ToObj, FromObj. These arguments are integer handles created by the Add3DObject intrinsic. They can be any type of 3D Object including frames, meshes, strings, or lines. The ToObj is the handle for the destination object and the FromObj is the handle for source object.