#include <MRenderLine.h>
A MRenderLine 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 vertice width: the tube widths flatness: the tube flatness along the twist vector direction parameter: the u parameterization value for each vertice color: color rgb value for each vertice incandescence: incandescence rgb value for each vertice transpareancy: transparency rgb value for each vertice
Public Member Functions | |
MRenderLine () | |
~MRenderLine () | |
MRenderLine & | operator= (const MRenderLine &other) |
MVectorArray | getLine () const |
MVectorArray | getTwist () const |
MDoubleArray | getWidth () const |
MDoubleArray | getFlatness () const |
MDoubleArray | getParameter () const |
MVectorArray | getColor () const |
MVectorArray | getIncandescence () const |
MVectorArray | getTransparency () const |
MRenderLine::MRenderLine | ( | ) |
The class constructor.
MRenderLine::~MRenderLine | ( | ) |
The class destructor.
MRenderLine & MRenderLine::operator= | ( | const MRenderLine & | other | ) |
Assignment operator. This simply copies the internal data pointer. Any arrays access from the copy will thus point to the same data. MRenderLine is basically a handle that points to the internal render line data on an MRenderLineArray.
[in] | other | the MRenderLine to be copied |
MVectorArray MRenderLine::getLine | ( | ) | const |
MVectorArray MRenderLine::getTwist | ( | ) | const |
Return the array of twist vectors along the curve.
MDoubleArray MRenderLine::getWidth | ( | ) | const |
MDoubleArray MRenderLine::getFlatness | ( | ) | const |
MDoubleArray MRenderLine::getParameter | ( | ) | const |
Return the array of parameter along the curve.
MVectorArray MRenderLine::getColor | ( | ) | const |
MVectorArray MRenderLine::getIncandescence | ( | ) | const |
Return the array of incandescence along the curve.
MVectorArray MRenderLine::getTransparency | ( | ) | const |
Return the array of transparency along the curve.
Autodesk® Maya® 2009 © 1997-2008 Autodesk, Inc. All rights reserved. | Generated with 1.5.6 |