Main Page   Modules   Alphabetical List   Data Structures   Data Fields  

Spherical Shaped Emitters
[RpPrtAdv]


Data Structures

struct  RpPrtAdvEmtSphere

Functions

RpPrtStdEmitterRpPrtAdvEmtSphereEmitCB (RpAtomic *atomic, RpPrtStdEmitter *emt, void *data)
RpPrtStdEmitterRpPrtAdvEmtSphereCloneCB (RpAtomic *atomic, RpPrtStdEmitter *emt, void *data)
RpPrtStdEmitterRpPrtAdvEmtSphereStreamGetSizeCB (RpAtomic *atomic, RpPrtStdEmitter *emt, void *data)
RpPrtStdEmitterRpPrtAdvEmtSphereStreamReadCB (RpAtomic *atomic, RpPrtStdEmitter *emt, void *data)
RpPrtStdEmitterRpPrtAdvEmtSphereStreamWriteCB (RpAtomic *atomic, RpPrtStdEmitter *emt, void *data)

Function Documentation

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

RpPrtAdvEmtSphereCloneCB is the clone callback for the spherical emitter property.

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

RpPrtAdvEmtSphereEmitCB is the emit callback for the spherical emitter property.

This callback emits new particles using the current emitter. The particle class must contain the spherical 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* RpPrtAdvEmtSphereStreamGetSizeCB RpAtomic   atomic,
RpPrtStdEmitter   emt,
void *    data
 

RpPrtAdvEmtSphereStreamGetSizeCB is the callback used to determine the size, in bytes, of the binary representation of a spherical emitter. This value is used in the binary chunk header to indicate the size of the chunk.

This callback should be added to a emitter class if the emitter contains the spherical 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 , RpPrtAdvEmtSphereStreamReadCB , RpPrtAdvEmtSphereStreamWriteCB

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

RpPrtAdvEmtSphereStreamReadCB is the stream in callback for the spherical particle property.

This function streams in an emitter containing the spherical property.

This callback should be added to a emitter class if the emitter contains the spherical 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 , RpPrtAdvEmtSphereStreamGetSizeCB , RpPrtAdvEmtSphereStreamWriteCB

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

RpPrtAdvEmtSphereStreamWriteCB is the stream out callback for the spherical particle property.

This function streams out an emitter containing the spherical property.

This callback should be added to a emitter class if the emitter contains the spherical 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 , RpPrtAdvEmtSphereStreamGetSizeCB , RpPrtAdvEmtSphereStreamReadCB


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