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

Functions

virtual int Display (IObject *pCont, TimeValue time, Object *pSystem, INode *psNode, INode *pgNode, ViewExp *vpt, int flags)=0
 The following methods are redirected from the particle object level to a particular ActionList.
 
virtual int HitTest (IObject *pCont, TimeValue time, Object *pSystem, INode *psNode, INode *pgNode, int type, int crossing, int flags, IPoint2 *p, ViewExp *vpt)=0
 See virtual int Display()
 
virtual void GetWorldBoundBox (IObject *pCont, TimeValue time, Object *pSystem, INode *pgNode, ViewExp *vp, Box3 &box)=0
 See virtual int Display()
 
virtual void GetLocalBoundBox (IObject *pCont, TimeValue time, Object *pSystem, INode *pgNode, ViewExp *vp, Box3 &box)=0
 See virtual int Display()
 
virtual DWORD GetWireColor () const =0
 See virtual int Display()
 
virtual void SetWireColor (DWORD color)=0
 See virtual int Display()
 
virtual void MaybeEnlargeViewportRect (IObject *pCont, TimeValue time, GraphicsWindow *gw, Rect &rect)
 See virtual int Display()
 
FPInterfaceDesc * GetDesc ()
 

Detailed Description

Function Documentation

◆ Display()

int Display ( IObject *  pCont,
TimeValue  time,
Object *  pSystem,
INode *  psNode,
INode *  pgNode,
ViewExp *  vpt,
int  flags 
)
pure virtual

The following methods are redirected from the particle object level to a particular ActionList.

The first parameter is a particle container of the ActionList.

Parameters
pContparticle container to draw particles from
timecurrent frame to draw particles at. It's supposed that the container has been already updated to satisfy this moment
pSystemparticle system that makes the call
psNodeINode of the particle system.
pgNodeINode of particle group. Particle system may have several particle groups according to number of ActionLists
vptviewport as of the BaseObject::Display(...) method
flagsflags as of the BaseObject::Display(...) method

◆ HitTest()

int HitTest ( IObject *  pCont,
TimeValue  time,
Object *  pSystem,
INode *  psNode,
INode *  pgNode,
int  type,
int  crossing,
int  flags,
IPoint2 *  p,
ViewExp *  vpt 
)
pure virtual

See virtual int Display()

◆ GetWorldBoundBox()

void GetWorldBoundBox ( IObject *  pCont,
TimeValue  time,
Object *  pSystem,
INode *  pgNode,
ViewExp *  vp,
Box3 &  box 
)
pure virtual

See virtual int Display()

◆ GetLocalBoundBox()

void GetLocalBoundBox ( IObject *  pCont,
TimeValue  time,
Object *  pSystem,
INode *  pgNode,
ViewExp *  vp,
Box3 &  box 
)
pure virtual

See virtual int Display()

◆ GetWireColor()

DWORD GetWireColor ( ) const
pure virtual

See virtual int Display()

◆ SetWireColor()

void SetWireColor ( DWORD  color)
pure virtual

See virtual int Display()

◆ MaybeEnlargeViewportRect()

void MaybeEnlargeViewportRect ( IObject *  pCont,
TimeValue  time,
GraphicsWindow *  gw,
Rect &  rect 
)
inlinevirtual

See virtual int Display()

137{ ; }

◆ GetDesc()

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

Implements FPInterface.

#define PFVIEWPORT_INTERFACE
Definition: IPFViewport.h:84
virtual FPInterfaceDesc * GetDescByID(Interface_ID id)
Definition: ifnpub.h:617