class MGeometryRequirements

Jump to documentation

Image manipulation (OpenMayaRender) (OpenMayaRender.py)

public members:

MGeometryRequirements ()
~MGeometryRequirements ()
void addPosition ()
void addComponentId ()
void addNormal ()
void addTexCoord ( const MString & uvSetName)
void addTangent ( const MString & uvSetName)
void addBinormal ( const MString & uvSetName)
void addColor ( const MString & colorSetName)

Documentation

This class provides methods for reading file images stored on disk.
Description

MGeometryRequirements stores the collection of MGeometryRequirementsData arrays which describe a Maya surface, including per-component data such as UV mapping and colour.

Functions

MGeometryRequirements:: MGeometryRequirements ()

Description

Default constructor. Initialised to no requirements.

MGeometryRequirements:: ~MGeometryRequirements ()

Description

Destructor

void MGeometryRequirements:: addPosition ()

Description

Add position to the set of required elements.

Arguments

  • None

void MGeometryRequirements:: addNormal ()

Description

Add normal to the set of required elements.

Arguments

  • None

void MGeometryRequirements:: addComponentId ()

Description

Add component id to the set of required elements.

Arguments

  • None

void MGeometryRequirements:: addTexCoord ( const MString & name)

Description

Add a texture coordinate set to the list of required elements.

Arguments

  • name the name of the uv set to add

void MGeometryRequirements:: addTangent ( const MString & name)

Description

Add a tangent set to the list of required elements.

Arguments

  • name the name of the uv set to add tangent data for

void MGeometryRequirements:: addBinormal ( const MString & name)

Description

Add a binormal set to the list of required elements.

Arguments

  • name the name of the uv set to add binormal data for

void MGeometryRequirements:: addColor ( const MString & name)

Description

Add a color set to the list of required elements.

Arguments

  • name the name of the color set to add

This class has no child classes.


Autodesk® Maya® 2008 © 1997-2007 Autodesk, Inc. All rights reserved. doc++ Copyright