This reference page is linked to from the following overview topics: Lesson 6: Parameter Blocks, Major New Features, General Best Practices, Getting and Setting Parameter Block Values, Creating a Parameter Block 1, Intervals, Supporting Save to Previous.
#include <iparamb.h>
Public Member Functions |
|
virtual SClass_ID | GetAnimParamControlType (int anim)=0 |
virtual ParamType | GetParameterType (int i)=0 |
virtual BOOL | SetValue (int i, TimeValue t, float v)=0 |
virtual BOOL | SetValue (int i, TimeValue t, int v)=0 |
virtual BOOL | SetValue (int i, TimeValue t, Point3 &v)=0 |
virtual BOOL | SetValue (int i, TimeValue t, Color &v)=0 |
virtual BOOL | GetValue (int i, TimeValue t, float &v, Interval &ivalid)=0 |
virtual BOOL | GetValue (int i, TimeValue t, int &v, Interval &ivalid)=0 |
virtual BOOL | GetValue (int i, TimeValue t, Point3 &v, Interval &ivalid)=0 |
virtual BOOL | GetValue (int i, TimeValue t, Color &v, Interval &ivalid)=0 |
virtual Color | GetColor (int i, TimeValue t=0)=0 |
virtual Point3 | GetPoint3 (int i, TimeValue t=0)=0 |
virtual int | GetInt (int i, TimeValue t=0)=0 |
virtual float | GetFloat (int i, TimeValue t=0)=0 |
virtual DWORD | GetVersion ()=0 |
virtual int | NumParams ()=0 |
virtual void | RemoveController (int i)=0 |
virtual Control * | GetController (int i)=0 |
virtual void | SetController (int i, Control *c, BOOL preserveFrame0Value=TRUE)=0 |
virtual void | SwapControllers (int j, int k)=0 |
virtual int | GetRefNum (int paramNum)=0 |
virtual int | GetAnimNum (int paramNum)=0 |
virtual int | AnimNumToParamNum (int animNum)=0 |
IParamBlock * | GetParamBlock () |
virtual void | RescaleParam (int paramNum, float f)=0 |
virtual int | LastNotifyParamNum ()=0 |
virtual SClass_ID GetAnimParamControlType | ( | int | anim | ) | [pure virtual] |
virtual ParamType GetParameterType | ( | int | i | ) | [pure virtual] |
virtual BOOL SetValue | ( | int | i, |
TimeValue | t, | ||
float | v | ||
) | [pure virtual] |
Reimplemented from IParamArray.
virtual BOOL SetValue | ( | int | i, |
TimeValue | t, | ||
int | v | ||
) | [pure virtual] |
Reimplemented from IParamArray.
virtual BOOL SetValue | ( | int | i, |
TimeValue | t, | ||
Point3 & | v | ||
) | [pure virtual] |
Reimplemented from IParamArray.
virtual BOOL SetValue | ( | int | i, |
TimeValue | t, | ||
Color & | v | ||
) | [pure virtual] |
virtual BOOL GetValue | ( | int | i, |
TimeValue | t, | ||
float & | v, | ||
Interval & | ivalid | ||
) | [pure virtual] |
Reimplemented from IParamArray.
virtual BOOL GetValue | ( | int | i, |
TimeValue | t, | ||
int & | v, | ||
Interval & | ivalid | ||
) | [pure virtual] |
Reimplemented from IParamArray.
Reimplemented from IParamArray.
virtual Color GetColor | ( | int | i, |
TimeValue | t = 0 |
||
) | [pure virtual] |
virtual Point3 GetPoint3 | ( | int | i, |
TimeValue | t = 0 |
||
) | [pure virtual] |
virtual int GetInt | ( | int | i, |
TimeValue | t = 0 |
||
) | [pure virtual] |
virtual float GetFloat | ( | int | i, |
TimeValue | t = 0 |
||
) | [pure virtual] |
virtual DWORD GetVersion | ( | ) | [pure virtual] |
virtual int NumParams | ( | ) | [pure virtual] |
virtual void RemoveController | ( | int | i | ) | [pure virtual] |
virtual Control* GetController | ( | int | i | ) | [pure virtual] |
virtual void SetController | ( | int | i, |
Control * | c, | ||
BOOL | preserveFrame0Value =
TRUE |
||
) | [pure virtual] |
virtual void SwapControllers | ( | int | j, |
int | k | ||
) | [pure virtual] |
virtual int GetRefNum | ( | int | paramNum | ) | [pure virtual] |
virtual int GetAnimNum | ( | int | paramNum | ) | [pure virtual] |
virtual int AnimNumToParamNum | ( | int | animNum | ) | [pure virtual] |
IParamBlock* GetParamBlock | ( | ) | [inline, virtual] |
Reimplemented from IParamArray.
{return this;}
virtual void RescaleParam | ( | int | paramNum, |
float | f | ||
) | [pure virtual] |
virtual int LastNotifyParamNum | ( | ) | [pure virtual] |
case REFMSG_CHANGE: if (hTarget == pblock) { int np = pblock->LastNotifyParamNum(); // ... } break;