|Top Previous Next|
182: Get3DObjectInfo(Handle, @Parent, @ObjType);
This intrinsic returns information about any 3D object.
Handle. This argument is an integer handle created by the Add3DObject intrinsic. It can be any type of object.
Parent. This is an integer handle for the parent object. Since this the result is returned by reference, you must pass a pointer the to the intrinsic by using the "@" operator. For example:
Get3DObjectInfo(WrkMesh, @Parent, @ObjType);
ObjType. The ObjType identifies the type of object. Here are the object types that are available:
0 = Frame. Frames are containers that can hold any other type of object.
1 = Mesh. Meshes contain a list of triangles that enable you to create models of 3D objects.
2 = Lines. Lines are lists of 3D lines.
3 = Text. Text objects display extruded 3D text.
Since the result is returned by reference, you must pass a pointer to the intrinsic by using the "@" operator. See the example above.