Data Structures | |
| struct | RpPrtAdvMultiPropParams |
| struct | RpPrtAdvParamBlock |
| struct | RpPrtAdvParamPointList |
Functions | |
| RwBool | RpPrtAdvPluginAttach (void) |
| RpPrtStdEmitterClass * | RpPrtAdvEClassStdCreate (RwInt32 dataFlag, RpPrtAdvParamBlock *paramBlock) |
| RwInt32 | RpPrtAdvEClassStdCreateID (RwInt32 dataFlag) |
| RpPrtStdParticleClass * | RpPrtAdvPClassStdCreate (RwInt32 dataFlag, RpPrtAdvParamBlock *paramBlock) |
| RwInt32 | RpPrtAdvPClassStdCreateID (RwInt32 dataFlag) |
| RpPrtStdEmitterClass * | RpPrtAdvEClassStdSetupCB (RpPrtStdEmitterClass *eClass) |
| RpPrtStdParticleClass * | RpPrtAdvPClassStdSetupCB (RpPrtStdParticleClass *pClass) |
|
||||||||||||
|
RpPrtAdvEClassStdCreate is a utility function to create an emitter class containing a set of standard and advanced properties and callbacks. This function support all the standard particles feature as well as the advanced ones, and it is advised, when using both plugins, to always use RpPrtAdvEClassStdCreate. The dataFlag is used to set the properties of the emitter class. Not all properties are necessary as some are optional. Emitters with user's custom properties should use RpPrtStdEClassCreate. The possible settings for the data flags are described below, where each setting represents a property that can be present. Any one of these flags can be used to create an emitter class: Standard properties :
rpPRTSTDEMITTERDATAFLAGSTANDARD
rpPRTSTDEMITTERDATAFLAGPRTCOLOR
rpPRTSTDEMITTERDATAFLAGPRTTEXCOORDS
rpPRTSTDEMITTERDATAFLAGPRTSIZE
rpPRTSTDEMITTERDATAFLAGPTANKAdvanced properties :
rpPRTADVEMITTERDATAFLAGPRTEMITTER
rpPRTADVEMITTERDATAFLAGMULTICOLOR
rpPRTADVEMITTERDATAFLAGMULTITEXCOORDS
rpPRTADVEMITTERDATAFLAGMULTITEXCOORDSSTEP
rpPRTADVEMITTERDATAFLAGMULTISIZEAn emitter type can be chosen as well :
rpPRTADVEMITTERDATAFLAGPOINTLIST
rpPRTADVEMITTERDATAFLAGCIRCLE
rpPRTADVEMITTERDATAFLAGSPHERE
The paramBlock parameter (RpPrtAdvParamBlock) needs to be filled accordingly as well:
|
|
|
RpPrtAdvEClassStdCreateID is a utility function to create an emitter class ID. The dataFlag is used to create a unique ID.
|
|
|
RpPrtAdvEClassStdSetupCB is the callback function to restore the emitter class callback functions for advanced emitter properties. This function is called after an emitter class is streamed in or after it is created. This callback should be used if the emitter class contains any of the standard or advanced emitter properties.
|
|
||||||||||||
|
RpPrtAdvPClassStdCreate is a utility function to create a particle class containing a set of standard and advanced properties and callbacks. This function supports all the standard particle features as well as the advanced ones, and it is advised, when using both plugins, to always use RpPrtAdvPClassStdCreate. The dataFlag is used to set the properties of the particle class. Not all properties are necessary as some are optional. Particles with user's custom properties should use RpPrtStdPClassCreate. The possible settings for the data flags are described below, where each setting represents a property that can be present. Any one of these flags can be used to create a particle class: Standard properties :
rpPRTSTDPARTICLEDATAFLAGSTANDARD
rpPRTSTDPARTICLEDATAFLAGCOLOR
rpPRTSTDPARTICLEDATAFLAGTEXCOORDS
rpPRTSTDPARTICLEDATAFLAGSIZE
rpPRTSTDPARTICLEDATAFLAGVELOCITY Advanced properties :
rpPRTADVPARTICLEDATAFLAGPRTEMITTER
rpPRTADVPARTICLEDATAFLAGMULTICOLOR
rpPRTADVPARTICLEDATAFLAGMULTITEXCOORDS
rpPRTADVPARTICLEDATAFLAGMULTITEXCOORDSSTEP
rpPRTADVPARTICLEDATAFLAGMULTISIZE
The paramBlock parameter (RpPrtAdvParamBlock) needs to be filled accordingly as well:
|
|
|
RpPrtAdvPClassStdCreateID is a utility function to create a particle class ID. The dataFlag is used to create a unique ID.
|
|
|
RpPrtAdvPClassStdSetupCB is the callback function to restore the particle class callback functions for advanced particle properties. This function is called after a particle class is streamed in or after it is created. This callback should be used if the particle class contains any of the standard or advanced particles properties.
|
|
|
RpPrtAdvPluginAttach is called by the application to indicate that the advanced particle plugin should be used. The call to this function should be placed between RwEngineInit and RwEngineOpen and the world plugin must already be attached. The library rpprtadv and the header file rpprtadv.h are required.
|
© 1993-2004 Criterion Software Limited. All rights reserved. Built Thu Feb 12 13:47:03 2004.
Send Feedback