class MRenderLineArray

Jump to documentation

Class for accessing paint effects output curve data. (OpenMayaFX)

public members:

MRenderLineArray ()
~MRenderLineArray ()
MRenderLineArray & operator = (const MRenderLineArray & other )
void deleteArray ()
int length () const
MRenderLine renderLine ( unsigned int index, MStatus *status ) const

Documentation

Class for accessing paint effects output curve data. (OpenMayaFX)
Description

A MRenderLineArray provides access to paint effects curve rendering info. This class contains arrays for per vertex attributes along an individual curve: line: the vertices in worldspace twist: a twist vector at each vertex width: the tube widths flatness: the tube flatness along the twist vector direction parameter: the u parameterization value for each vertex color: color rgb value for each vertex incandescence: incandescence rgb value for each vertex transpareancy: transparency rgb value for each vertex

Functions

MRenderLineArray:: MRenderLineArray ()

Description

The class constructor.

MRenderLineArray:: ~MRenderLineArray ()

Description

The class destructor.

MRenderLineArray & MRenderLineArray:: operator = ( const MRenderLineArray & other )

Description

Assignment operator. This simply copies the internal data pointer. Any arrays access from the copy will thus point to the same data.

Arguments

  • other the MRenderLineArray to be copied

Return Value

  • A reference to the copied MRenderLineArray

void MRenderLineArray:: deleteArray ()

Description

Free up the memory held in the render line array. This should be called once only and only on one copy of the MRenderLineArray. (Assignment copies internal pointer data rather than the data its self)

int MRenderLineArray:: length () const

Description

Return the number of entries in the array.

Return Value

  • array length

MRenderLine MRenderLineArray:: renderLine ( unsigned int index, MStatus *status ) const

Description

Return the render line at the defined index.

Return Value

  • the render line

This class has no child classes.


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