Main Page   Modules   Alphabetical List   Data Structures   Data Fields  

Point List Based Emitters
[RpPrtAdv]


Data Structures

struct  RpPrtAdvEmtPointList

Functions

RpPrtStdEmitterRpPrtAdvEmtPtListEmitCB (RpAtomic *atomic, RpPrtStdEmitter *emt, void *data)
RpPrtStdEmitterRpPrtAdvEmtPtListCloneCB (RpAtomic *atomic, RpPrtStdEmitter *emt, void *data)
RpPrtStdEmitterRpPrtAdvEmtPtListStreamGetSizeCB (RpAtomic *atomic, RpPrtStdEmitter *emt, void *data)
RpPrtStdEmitterRpPrtAdvEmtPtListStreamReadCB (RpAtomic *atomic, RpPrtStdEmitter *emt, void *data)
RpPrtStdEmitterRpPrtAdvEmtPtListStreamWriteCB (RpAtomic *atomic, RpPrtStdEmitter *emt, void *data)
RpPrtStdEmitterRpPrtAdvEmtPtListCreateCB (RpAtomic *atomic, RpPrtStdEmitter *emt, void *data)

Function Documentation

RpPrtStdEmitter* RpPrtAdvEmtPtListCloneCB RpAtomic   atomic,
RpPrtStdEmitter   emt,
void *    data
 

RpPrtAdvEmtPtListCloneCB is the clone callback for the point list emitter property.

This callback clones the point list property of the emitter.

This callback should be added after the standard callback.

All other properties of the particles should be handled by the previous emit callback in the list.

Parameters:
atomic  Pointer to the parent RpAtomic.
emt  Pointer to the source RpPrtStdEmitter.
data  Pointer to the destination RpPrtStdEmitter.
Returns:
Pointer to the destination RpPrtStdEmitter if successful, NULL otherwise.
See also:
RpPrtStdAtomicUpdate , RpPrtStdEClassSetCallBack , RpPrtStdEmitterStdBeginUpdateCB , RpPrtStdEClassStdCreate , RpPrtAdvEClassStdCreate , RpPrtStdEmitterStdCreateCB , RpPrtStdEmitterStdDestroyCB , RpPrtStdEmitterStdEndUpdateCB , RpPrtStdEmitterStdRenderCB , RpPrtStdPClassSetCallBack , RpPrtStdPClassStdCreate , RpPrtAdvPClassStdCreate

RpPrtStdEmitter* RpPrtAdvEmtPtListCreateCB RpAtomic   atomic,
RpPrtStdEmitter   emt,
void *    data
 

RpPrtAdvEmtPtListCreateCB is the create callback for the point list emitter property.

This callback sets up the point list emitter properties of an emitter.

This callback should be added to an emitter class if the emitter contains the point list emitter property.

Parameters:
atomic  Pointer to the parent RpAtomic.
emt  Pointer to the RpPrtStdEmitter.
data  Void pointer to private data for the emit callback.
Returns:
Pointer to the RpPrtStdEmitter if successful, NULL otherwise.
See also:
RpPrtStdEClassSetCallBack , RpPrtStdEmitterStdBeginUpdateCB , RpPrtStdEClassStdCreate , RpPrtStdEmitterStdEmitCB , RpPrtStdEmitterStdEndUpdateCB , RpPrtStdEmitterStdRenderCB , RpPrtStdPClassSetCallBack , RpPrtStdPClassStdCreate , RpPrtStdParticleStdUpdateCB

RpPrtStdEmitter* RpPrtAdvEmtPtListEmitCB RpAtomic   atomic,
RpPrtStdEmitter   emt,
void *    data
 

RpPrtAdvEmtPtListEmitCB is the emit callback for the point list emitter property.

This callback emits new particles using the current emitter. The particle class must contain the point list particle properties.

This callback should be added after the standard callback.

All other properties of the particles should be handled by the previous emit callback in the list.

Parameters:
atomic  Pointer to the parent RpAtomic.
emt  Pointer to the RpPrtStdEmitter.
data  Void pointer to private data for the emit callback. This callback expects the data to be a pointer to a RwReal representing the delta time elapsed.
Returns:
Pointer to the RpPrtStdEmitter if successful, NULL otherwise.
See also:
RpPrtStdAtomicUpdate , RpPrtStdEClassSetCallBack , RpPrtStdEmitterStdBeginUpdateCB , RpPrtStdEClassStdCreate , RpPrtAdvEClassStdCreate , RpPrtStdEmitterStdCreateCB , RpPrtStdEmitterStdDestroyCB , RpPrtStdEmitterStdEndUpdateCB , RpPrtStdEmitterStdRenderCB , RpPrtStdPClassSetCallBack , RpPrtStdPClassStdCreate , RpPrtAdvPClassStdCreate

RpPrtStdEmitter* RpPrtAdvEmtPtListStreamGetSizeCB RpAtomic   atomic,
RpPrtStdEmitter   emt,
void *    data
 

RpPrtAdvEmtPtListStreamGetSizeCB is the callback used to determine the size, in bytes, of the binary representation of a point-list emitter. This value is used in the binary chunk header to indicate the size of the chunk.

This callback should be added to an emitter class if the emitter contains the point list emitter property.

Parameters:
atomic  A pointer to the emitter's parent RpAtomic.
emt  A pointer to the RpPrtStdEmitter.
data  Void pointer to a RwInt32 to return the stream size.
Returns:
Pointer to the RpPrtStdEmitter if successful, NULL otherwise.
See also:
RpPrtStdEClassSetCallBack , RpPrtStdEClassStdCreate , RpPrtStdEmitterStdStreamGetSizeCB , RpPrtStdEmitterStdStreamReadCB , RpPrtStdEmitterStdStreamWriteCB , RpPrtAdvEmtPtListStreamReadCB , RpPrtAdvEmtPtListStreamWriteCB

RpPrtStdEmitter* RpPrtAdvEmtPtListStreamReadCB RpAtomic   atomic,
RpPrtStdEmitter   emt,
void *    data
 

RpPrtAdvEmtPtListStreamReadCB is the stream in callback for the point list particle property.

This function streams in an emitter containing the point list property.

This callback should be added to an emitter class if the emitter contains the point list emitter property.

Parameters:
atomic  A pointer to the emitter's parent RpAtomic.
emt  A pointer to the RpPrtStdEmitter to stream into.
data  Void pointer to the input stream.
Returns:
Pointer to the RpPrtStdEmitter if successful, NULL otherwise.
See also:
RpPrtStdEClassSetCallBack , RpPrtStdEClassStdCreate , RpPrtStdEmitterStdStreamGetSizeCB , RpPrtStdEmitterStdStreamReadCB , RpPrtStdEmitterStdStreamWriteCB , RpPrtAdvEmtPtListStreamGetSizeCB , RpPrtAdvEmtPtListStreamWriteCB

RpPrtStdEmitter* RpPrtAdvEmtPtListStreamWriteCB RpAtomic   atomic,
RpPrtStdEmitter   emt,
void *    data
 

RpPrtAdvEmtPtListStreamWriteCB is the stream out callback for the point list particle property.

This function streams out an emitter containing the point list property.

This callback should be added to an emitter class if the emitter contains the point list emitter property.

Parameters:
atomic  A pointer to the emitter's parent RpAtomic.
emt  A pointer to the RpPrtStdEmitter.
data  Void pointer to output stream.
Returns:
Pointer to the RpPrtStdEmitter if successful, NULL otherwise.
See also:
RpPrtStdEClassSetCallBack , RpPrtStdEClassStdCreate , RpPrtStdEmitterStdStreamGetSizeCB , RpPrtStdEmitterStdStreamReadCB , RpPrtStdEmitterStdStreamWriteCB , RpPrtAdvEmtPtListStreamGetSizeCB , RpPrtAdvEmtPtListStreamReadCB


Criterion Software © 1993-2004 Criterion Software Limited. All rights reserved. Built Thu Feb 12 13:47:03 2004. Send Feedback