3ds Max C++ API Reference
Loading...
Searching...
No Matches
IParticleChannelPTV.h

Enumerations

enum  { kSetTick , kSetFraction , kSetTickFraction }

Functions

virtual TimeValue GetTick (int index) const =0
 Get particle property.
virtual float GetFraction (int index) const =0
 Returns true if "index" particle exists.
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.
virtual const PreciseTimeValueGetValue (int index) const =0
 Methods not in the mapped interface.
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.
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,
103 };
@ kSetFraction
Definition IParticleChannelPTV.h:101
@ kSetTick
Definition IParticleChannelPTV.h:100
@ kSetTickFraction
Definition IParticleChannelPTV.h:102

Function Documentation

◆ GetTick()

virtual TimeValue GetTick ( int index) const
pure virtual

Get particle property.

◆ GetFraction()

virtual float GetFraction ( int index) const
pure virtual

Returns true if "index" particle exists.

◆ GetTickFraction()

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

◆ IsSync()

virtual bool IsSync ( ) const
pure virtual

Returns true if all particles have the same time.

◆ GetValue() [1/2]

virtual const PreciseTimeValue & GetValue ( int index) const
pure virtual

Methods not in the mapped interface.

◆ GetValue() [2/2]

virtual 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:619

◆ VFN_2() [1/2]

◆ VFN_2() [2/2]

◆ 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