
Public Member Functions | |
| virtual MCCOMErr MCCOMAPI | RegisterParams ()=0 |
| virtual MCCOMErr MCCOMAPI | InvalidateCaches (int32 itsID, int32 itsIndex)=0 |
| virtual MCCOMErr MCCOMAPI | CopyTimeData (IMCUnknown *dest)=0 |
| virtual MCCOMErr MCCOMAPI I3DExAnimated::RegisterParams | ( | ) | [pure virtual] |
This functions is called by the shell to register extra parameters for the object. Here an example of how to register an extra parameter:
TMCCountedPtr<ITimeBased> timeBased; QueryInterface(IID_ITimeBased, (void**)&timeBased); ThrowIfNil(timeBased); I3DShTimeBasedData* timeBasedData = timeBased->GetTimeBasedDataNoAddRef(); if (MCVerify(timeBasedData)) { real param=0; timeBasedData->SetParam(¶m,"Dynamic Param",'temp',kReal32ParamType); }
| virtual MCCOMErr MCCOMAPI I3DExAnimated::InvalidateCaches | ( | int32 | itsID, | |
| int32 | itsIndex | |||
| ) | [pure virtual] |
Invalidates caches associated with an animated parameter. In most cases this method should do nothing.
| itsID | The ID of the parameter. | |
| itsIndex | The index of the parameter. |
| virtual MCCOMErr MCCOMAPI I3DExAnimated::CopyTimeData | ( | IMCUnknown * | dest | ) | [pure virtual] |
Is called during clone to copy the animation data associated with the extra parameters registered in RegisterParams().
| dest | A pointer to the destination component. |
1.5.3