GeomObject

3DS Max Plug-In SDK

GeomObject

See Also: Class GeomObject.

GeomObjects are objects that have geometry and are renderable. The procedural sphere, cylinder and box are examples of GeomObjects. In addition to the regular object methods, objects of this class implement these methods:

IsInstanceDependent()

If an object creates different meshes depending on the particular instance (view-dependent) it should return nonzero; otherwise 0.

GetRenderMesh();

This method provides a mesh representation of the object for use by the renderer.

GetRenderPatchMesh()

This method provides a patch mesh representation of the object for use by the renderer. If this method returns NULL, then GetRenderMesh() will be called.