3ds Max C++ API Reference
IParticleChannelPTV.h

Enumerations

enum  { kSetTick , kSetFraction , kSetTickFraction }
 

Functions

virtual TimeValue GetTick (int index) const =0
 Get particle property. More...
 
virtual float GetFraction (int index) const =0
 Returns true if "index" particle exists. More...
 
virtual void GetTickFraction (int index, TimeValue &tick, float &fraction) const =0
 
virtual bool IsSync () const =0
 Returns true if all particles have the same time. More...
 
virtual const PreciseTimeValueGetValue (int index) const =0
 Methods not in the mapped interface. More...
 
virtual const PreciseTimeValueGetValue () const =0
 Get synchronized time for all particles; if timing isn't synchronized then return time for the first particle in the container. More...
 
FPInterfaceDescGetDesc ()
 
 VFN_2 (kSetTick, SetTick, TYPE_INT, TYPE_TIMEVALUE)
 
 VFN_2 (kSetFraction, SetFraction, TYPE_INT, TYPE_FLOAT)
 
 VFN_3 (kSetTickFraction, SetTickFraction, TYPE_INT, TYPE_TIMEVALUE, TYPE_FLOAT)
 
virtual void SetTick (int index, TimeValue time)=0
 
virtual void SetFraction (int index, float time)=0
 
virtual void SetTickFraction (int index, TimeValue tick, float fraction)=0
 
virtual void SetValue (int index, const PreciseTimeValue &time)=0
 
virtual void SetValue (const PreciseTimeValue &time)=0
 
FPInterfaceDescGetDesc ()
 

Detailed Description

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
kSetTick 
kSetFraction 
kSetTickFraction 
100  { kSetTick,
101  kSetFraction,
103  };
@ kSetFraction
Definition: IParticleChannelPTV.h:101
@ kSetTick
Definition: IParticleChannelPTV.h:100
@ kSetTickFraction
Definition: IParticleChannelPTV.h:102

Function Documentation

◆ GetTick()

TimeValue GetTick ( int  index) const
pure virtual

Get particle property.

◆ GetFraction()

float GetFraction ( int  index) const
pure virtual

Returns true if "index" particle exists.

◆ GetTickFraction()

void GetTickFraction ( int  index,
TimeValue tick,
float &  fraction 
) const
pure virtual

◆ IsSync()

bool IsSync ( ) const
pure virtual

Returns true if all particles have the same time.

◆ GetValue() [1/2]

const PreciseTimeValue & GetValue ( int  index) const
pure virtual

Methods not in the mapped interface.

◆ GetValue() [2/2]

const PreciseTimeValue & GetValue ( ) const
pure virtual

Get synchronized time for all particles; if timing isn't synchronized then return time for the first particle in the container.

◆ GetDesc() [1/2]

FPInterfaceDesc * GetDesc ( )
inlinevirtual
Remarks
Returns a pointer to the class which contains the interface metadata.

Implements FPInterface.

#define PARTICLECHANNELPTVR_INTERFACE
Definition: IParticleChannelPTV.h:22
virtual FPInterfaceDesc * GetDescByID(Interface_ID id)
Definition: ifnpub.h:613

◆ VFN_2() [1/2]

VFN_2 ( kSetTick  ,
SetTick  ,
TYPE_INT  ,
TYPE_TIMEVALUE   
)

◆ VFN_2() [2/2]

VFN_2 ( kSetFraction  ,
SetFraction  ,
TYPE_INT  ,
TYPE_FLOAT   
)

◆ VFN_3()

◆ SetTick()

virtual void SetTick ( int  index,
TimeValue  time 
)
pure virtual

◆ SetFraction()

virtual void SetFraction ( int  index,
float  time 
)
pure virtual

◆ SetTickFraction()

virtual void SetTickFraction ( int  index,
TimeValue  tick,
float  fraction 
)
pure virtual

◆ SetValue() [1/2]

virtual void SetValue ( int  index,
const PreciseTimeValue time 
)
pure virtual

◆ SetValue() [2/2]

virtual void SetValue ( const PreciseTimeValue time)
pure virtual

◆ GetDesc() [2/2]

FPInterfaceDesc* GetDesc ( )
inlinevirtual
Remarks
Returns a pointer to the class which contains the interface metadata.

Implements FPInterface.

#define PARTICLECHANNELPTVW_INTERFACE
Definition: IParticleChannelPTV.h:23