class MGeometryManager



Your Ad Here

Jump to documentation

Geometry cache management (OpenMayaRender) (OpenMayaRender.py)

public members:

static MGeometry getGeometry ( const MDagPath & shape, const MGeometryRequirements & requirements, MObject * components = NULL)

Documentation

This class provides methods for managing MGeometry resources.
Description

The MGeometryManager provides an interface for loading and using hardware textures.

Functions

MGeometry MGeometryManager:: getGeometry ( const MDagPath & shape, const MGeometryRequirements & requirements, MObject * components)

Description

Access the Geometry cache for a shape.

Arguments

  • shape the surface
  • requirements the surface data you want in the cache. Attempting to access cache data not included in the requirements will fail.
  • components an optional component group, for accessing a sub-selection of faces (e.g. the faces assigned to a material)

Return Value

  • the cached geometry

This class has no child classes.


Autodesk® Maya® 8.0 © 1997-2006 Autodesk, Inc. All rights reserved. doc++ Copyright

Return to Autodesk Index


Your Ad Here