#include
<MGeometryRequirements.h>
List of all
members.
Detailed Description
Image manipulation.
MGeometryRequirements stores the
collection of MGeometryRequirementsData arrays which describe a
Maya surface, including per-component data such as UV mapping and
colour.
Constructor & Destructor Documentation
MGeometryRequirements::MGeometryRequirements |
( |
|
) |
|
Default constructor. Initialized to no requirements.
MGeometryRequirements::~MGeometryRequirements |
( |
|
) |
|
Member Function Documentation
void MGeometryRequirements::addPosition |
( |
|
) |
|
Add position to the set of required elements.
void MGeometryRequirements::addComponentId |
( |
|
) |
|
Add component id to the set of required elements.
void MGeometryRequirements::addNormal |
( |
|
) |
|
Add normal to the set of required elements.
void MGeometryRequirements::addTexCoord |
( |
const MString & |
name |
) |
|
Add a texture coordinate set to the list of required
elements.
- Parameters:
-
[in] |
name |
the name of the uv set to add |
void MGeometryRequirements::addTangent |
( |
const MString & |
name |
) |
|
Add a tangent set to the list of required elements.
- Parameters:
-
[in] |
name |
the name of the uv set to add tangent data for |
void MGeometryRequirements::addBinormal |
( |
const MString & |
name |
) |
|
Add a binormal set to the list of required elements.
- Parameters:
-
[in] |
name |
the name of the uv set to add binormal data for |
void MGeometryRequirements::addColor |
( |
const MString & |
name |
) |
|
Add a color set to the list of required elements.
- Parameters:
-
[in] |
name |
the name of the color set to add |
void MGeometryRequirements::addFaceOffsets |
( |
|
) |
|
Add face offsets to the set of required elements.
Face offsets are used internally to calculate component-indexed
data such as shading group membership. Note that geometry data is
cached internally, so it is important to call this method whenever
you use MGeometryRequirements if you will
ever require this information.