Public Member Functions

IPFViewportExtention Class Reference

Search for all occurrences

Detailed Description

This interface is used for extending IPFViewport with an additional method UpdateDisplay().

This provides a default implementation of the virtual function MaxSDK::Graphics::IObjectDisplay::UpdateDisplay().

#include <IPFViewport.h>

Inheritance diagram for IPFViewportExtention:
Inheritance graph
[legend]

List of all members.

Public Member Functions

  IPFViewportExtention ()
virtual  ~IPFViewportExtention ()
virtual bool  UpdateDisplay (unsigned long renderItemCategories, const MaxSDK::Graphics::MaterialRequiredStreams &materialRequiredStreams, TimeValue t, IObject *pCont, Object *pSystem, MaxSDK::Graphics::RenderItemHandleArray &renderItemHandleArray, Tab< Matrix3 > &matrices)
  virtual int UpdateDisplay(IObject* pCont, TimeValue time, Object* pSystem, INode* psNode, INode* pgNode, ViewExp *vpt, int flags); This provides a default implementation of the virtual function MaxSDK::Graphics::IObjectDisplay::UpdateDisplay().

Constructor & Destructor Documentation

IPFViewportExtention ( ) [inline]
{}
virtual ~IPFViewportExtention ( ) [inline, virtual]
{}

Member Function Documentation

virtual bool UpdateDisplay ( unsigned long  renderItemCategories,
const MaxSDK::Graphics::MaterialRequiredStreams materialRequiredStreams,
TimeValue  t,
IObject pCont,
Object pSystem,
MaxSDK::Graphics::RenderItemHandleArray renderItemHandleArray,
Tab< Matrix3 > &  matrices 
) [inline, virtual]

virtual int UpdateDisplay(IObject* pCont, TimeValue time, Object* pSystem, INode* psNode, INode* pgNode, ViewExp *vpt, int flags); This provides a default implementation of the virtual function MaxSDK::Graphics::IObjectDisplay::UpdateDisplay().

Parameters:
renderItemCategories viewport as of the BaseObject::Display() method
materialRequiredStreams flags as of the BaseObject::Display() method
t current frame to draw particles at. It's supposed that the container has been already updated to satisfy this moment
pCont particle container to draw particles from
pSystem particle system that makes the call
renderItemHandleArray The output generated render item handle array.
matrices Output the matrices for every renderitem in renderItemHandleArray
    {
        return false;
    }

IPFViewportExtention IPFViewportExtention IPFViewportExtention IPFViewportExtention IPFViewportExtention IPFViewportExtention IPFViewportExtention IPFViewportExtention IPFViewportExtention IPFViewportExtention
IPFViewportExtention IPFViewportExtention IPFViewportExtention IPFViewportExtention IPFViewportExtention IPFViewportExtention IPFViewportExtention IPFViewportExtention IPFViewportExtention IPFViewportExtention