enum | Unit Available Unit Systems
| ||||||||||||||||||||
MDistance () | |||||||||||||||||||||
MDistance ( double value , Unit unitSystem = kCentimeters ) | |||||||||||||||||||||
MDistance ( const MDistance & src ) | |||||||||||||||||||||
~MDistance () | |||||||||||||||||||||
MDistance & | operator= ( const MDistance & src ) | ||||||||||||||||||||
Unit | unit () const | ||||||||||||||||||||
double | value () const | ||||||||||||||||||||
MStatus | setUnit ( Unit newUnit ) | ||||||||||||||||||||
MStatus | setValue ( double newValue ) | ||||||||||||||||||||
double | as ( Unit newUnit, MStatus *ReturnStatus = NULL ) const | ||||||||||||||||||||
double | asInches () const | ||||||||||||||||||||
double | asFeet () const | ||||||||||||||||||||
double | asYards () const | ||||||||||||||||||||
double | asMiles () const | ||||||||||||||||||||
double | asMillimeters () const | ||||||||||||||||||||
double | asCentimeters () const | ||||||||||||||||||||
double | asKilometers () const | ||||||||||||||||||||
double | asMeters () const | ||||||||||||||||||||
static Unit | uiUnit () | ||||||||||||||||||||
static MStatus | setUIUnit ( Unit newUnit ) | ||||||||||||||||||||
static Unit | internalUnit () | ||||||||||||||||||||
static double | internalToUI ( double internalValue ) | ||||||||||||||||||||
static double | uiToInternal ( double uiValue ) | ||||||||||||||||||||
static MStatus | setInternalUnit ( Unit internalUnit ) OBSOLETE Changing the internal units is generally not a good idea and using this method may often produce unexpected results. |
Autodesk® Maya® 2008 © 1997-2007 Autodesk, Inc. All rights reserved. | doc++ Copyright |