Main Page   Modules   Alphabetical List   Data Structures   Data Fields  

Circular and Cylindrical Shaped Emitters
[RpPrtAdv]


Data Structures

struct  RpPrtAdvEmtCircle

Functions

RpPrtStdEmitterRpPrtAdvEmtCircleEmitCB (RpAtomic *atomic, RpPrtStdEmitter *emt, void *data)
RpPrtStdEmitterRpPrtAdvEmtCircleCloneCB (RpAtomic *atomic, RpPrtStdEmitter *emt, void *data)
RpPrtStdEmitterRpPrtAdvEmtCircleStreamGetSizeCB (RpAtomic *atomic, RpPrtStdEmitter *emt, void *data)
RpPrtStdEmitterRpPrtAdvEmtCircleStreamReadCB (RpAtomic *atomic, RpPrtStdEmitter *emt, void *data)
RpPrtStdEmitterRpPrtAdvEmtCircleStreamWriteCB (RpAtomic *atomic, RpPrtStdEmitter *emt, void *data)

Function Documentation

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

RpPrtAdvEmtCircleCloneCB is the clone callback for the circular emitter property.

This callback clones the circular emitter 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* RpPrtAdvEmtCircleEmitCB RpAtomic   atomic,
RpPrtStdEmitter   emt,
void *    data
 

RpPrtAdvEmtCircleEmitCB is the emit callback for the circular emitter property.

This callback emits new particles using the current emitter. The particle class must contain the circular particle property.

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* RpPrtAdvEmtCircleStreamGetSizeCB RpAtomic   atomic,
RpPrtStdEmitter   emt,
void *    data
 

RpPrtAdvEmtCircleStreamGetSizeCB is the callback used to determine the size, in bytes, of the binary representation of a circular 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 circular 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 , RpPrtAdvEmtCircleStreamReadCB , RpPrtAdvEmtCircleStreamWriteCB

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

RpPrtAdvEmtCircleStreamReadCB is the stream in callback for the circular particle property.

This function streams in an emitter containing the circular property.

This callback should be added to an emitter class if the emitter contains the circular 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 , RpPrtAdvEmtCircleStreamGetSizeCB , RpPrtAdvEmtCircleStreamWriteCB

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

RpPrtAdvEmtCircleStreamWriteCB is the stream out callback for the circular particle property.

This function streams out an emitter containing the circular property.

This callback should be added to an emitter class if the emitter contains the circular 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 , RpPrtAdvEmtCircleStreamGetSizeCB , RpPrtAdvEmtCircleStreamReadCB


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