intrinsic-172 Set3DObjectColor

Top  Previous  Next

172: Set3DObjectColor(Handle, Color);

 

This intrinsic sets the specified object to the specified color. Unlike the Set3DItemColor, this intrinsic sets the whole object to one color. For example, if the object is a mesh, the intrinsic will color every triangle in the mesh the same color.

 

Arguments:

 

Handle. This argument is an integer handle created by the Add3DObject intrinsic. Objects can be meshes, lines and strings.

 

Color: This is an integer value that specifies the RGB Color of the object.