Functions | |
virtual int | HasRenderableGeometry () |
The following methods are redirected from the particle object level to a particular ActionList. More... | |
virtual int | IsInstanceDependent (IObject *pCont, Object *pSystem) |
If an object creates different meshes depending on the particular instance (view-dependent) it should return 1. More... | |
virtual Mesh * | GetRenderMesh (IObject *pCont, TimeValue t, Object *pSystem, INode *inode, View &view, BOOL &needDelete)=0 |
GetRenderMesh should be implemented by all renderable GeomObjects. More... | |
virtual int | NumberOfRenderMeshes (IObject *pCont, TimeValue t, Object *pSystem) |
Objects may now supply multiple render meshes. More... | |
virtual Mesh * | GetMultipleRenderMesh (IObject *pCont, TimeValue t, Object *pSystem, INode *inode, View &view, BOOL &needDelete, int meshNumber) |
For multiple render meshes, this method must be implemented. More... | |
virtual void | GetMultipleRenderMeshTM (IObject *pCont, TimeValue t, Object *pSystem, INode *inode, View &view, int meshNumber, Matrix3 &meshTM, Interval &meshTMValid) |
For multiple render meshes, this method must be implemented. More... | |
virtual PatchMesh * | GetRenderPatchMesh (IObject *pCont, TimeValue t, Object *pSystem, INode *inode, View &view, BOOL &needDelete) |
If this returns NULL, then GetRenderMesh will be called. More... | |
virtual Class_ID | PreferredCollapseType (IObject *pCont, Object *pSystem) |
This method allows objects to specify the class that is the best class to convert to when the user collapses the stack. More... | |
virtual BOOL | CanDoDisplacementMapping (IObject *pCont, Object *pSystem) |
Returns TRUE if this object can do displacement mapping; otherwise FALSE. More... | |
FPInterfaceDesc * | GetDesc () |
|
inlinevirtual |
|
pure virtual |
GetRenderMesh should be implemented by all renderable GeomObjects.
Set needDelete to TRUE if the render should delete the mesh, FALSE otherwise. Primitives that already have a mesh cached can just return a pointer to it (and set needDelete = FALSE).
pCont | particle container to render particles from |
t | current frame to render particles at. It's supposed that the container has been already updated to satisfy this moment |
pSystem | master particle system shell |
inode | INode of the particle group |
view | View as of the GeomObject::GetRenderMesh() method |
needDelete | boolean as of the GeomObject::GetRenderMesh() method |
Objects may now supply multiple render meshes.
If this function returns a positive number, then GetMultipleRenderMesh and GetMultipleRenderMeshTM will be called for each mesh, instead of calling GetRenderMesh.
pCont | particle container to render particles from |
t | current frame to render particles at. It's supposed that the container has been already updated to satisfy this moment |
pSystem | master particle system shell |
|
inlinevirtual |
For multiple render meshes, this method must be implemented.
Set needDelete to TRUE if the render should delete the mesh, FALSE otherwise. meshNumber specifies which of the multiplie meshes is being asked for.
pCont | particle container to render particles from |
t | current frame to render particles at. It's supposed that the container has been already updated to satisfy this moment |
pSystem | master particle system shell |
inode | INode of the particle group |
view | View as of the GeomObject::GetRenderMesh() method |
needDelete | boolean as of the GeomObject::GetRenderMesh() method |
meshNumber | specifies which of the multiplie meshes is being asked for |
|
inlinevirtual |
For multiple render meshes, this method must be implemented.
meshTM should be returned with the transform defining the offset of the particular mesh in object space. meshTMValid should contain the validity interval of meshTM
pCont | particle container to render particles from |
t | current frame to render particles at. It's supposed that the container has been already updated to satisfy this moment |
pSystem | master particle system shell |
inode | INode of the particle group |
view | View as of the GeomObject::GetRenderMesh() method |
meshNumber | specifies which of the multiplie meshes is being asked for |
meshTM | |
meshTMValid |
|
inlinevirtual |
If this returns NULL, then GetRenderMesh will be called.
pCont | particle container to render particles from |
t | current frame to render particles at. It's supposed that the container has been already updated to satisfy this moment |
pSystem | master particle system shell |
inode | INode of the particle group |
view | View as of the GeomObject::GetRenderMesh() method |
needDelete | boolean as of the GeomObject::GetRenderMesh() method |
This method allows objects to specify the class that is the best class to convert to when the user collapses the stack.
pCont | particle container |
pSystem | master particle system shell |
|
inlinevirtual |
Implements FPInterface.