MComponentDataIndexing Class Reference

This reference page is linked to from the following overview topics: Extension for Autodesk Maya 2013, Autodesk Maya 2013, 4.3 Customizing Geometric Data for Shaders.



Detailed Description

Class for storing index mapping when vertices are shared.

#include <MComponentDataIndexing.h>

List of all members.

Public Member Functions

MUintArrayindices ()
 Get the array of vertex indices for the component.
const MUintArrayindices () const
 Get the array of vertex indices for the component.
const MComponentType componentType () const
 Get the component type that the vertex indices represent.
void setComponentType (MComponentType type)
 Set the component type that the vertex indices represent.

Member Function Documentation

MUintArray & indices ( )

Get the array of vertex indices for the component.

Returns:
The array of vertex indices.
const MUintArray & indices ( ) const

Get the array of vertex indices for the component.

Returns:
The array of vertex indices.
const MComponentDataIndexing::MComponentType componentType ( ) const

Get the component type that the vertex indices represent.

Returns:
The component type.
void setComponentType ( MComponentDataIndexing::MComponentType  type)

Set the component type that the vertex indices represent.

Parameters:
[in]typeThe component type.

MComponentDataIndexing MComponentDataIndexing MComponentDataIndexing MComponentDataIndexing MComponentDataIndexing MComponentDataIndexing MComponentDataIndexing MComponentDataIndexing MComponentDataIndexing MComponentDataIndexing
MComponentDataIndexing MComponentDataIndexing MComponentDataIndexing MComponentDataIndexing MComponentDataIndexing MComponentDataIndexing MComponentDataIndexing MComponentDataIndexing MComponentDataIndexing MComponentDataIndexing