7 #ifndef __maya_MayaRamp_h__ 8 #define __maya_MayaRamp_h__ 29 virtual U32 entryCount(
void)
const 32 const U32 count=
const_cast<MRampAttribute&
>(m_ramp)
33 .getNumEntries(&status);
38 virtual Vector2 entry(U32 a_index)
const 41 MFloatArray positions;
45 const_cast<MRampAttribute&
>(m_ramp)
46 .getEntries(indexes,positions,values,
49 return Vector2(positions[a_index],values[a_index]);
52 virtual Real eval(Real a_u)
const 56 const_cast<MRampAttribute&
>(m_ramp)
57 .getValueAtPosition(a_u,value,&status);
62 void setRamp(MRampAttribute& a_rRamp)
67 MRampAttribute m_ramp;
kernel
Definition: namespace.dox:3
Ramp in Maya.
Definition: MayaRamp.h:20
Per-class participation non-RTTI fallback dynamic casting mechanism.
Definition: Castable.h:192