PxFluid

Engine/source/T3D/physics/physx/pxFluid.h

More...

Classes:

Protected Types

enum
NetMasks {
  UpdateMask = Parent::NextFreeMask
  ResetMask = Parent::NextFreeMask << 1
  NextFreeMask = Parent::NextFreeMask << 2
}

Private Types

Parent 

Protected Attributes

NxFluidEmitter *
NxFluid *
NxScene *

Public Functions

Called after any property of the object is changed in the world editor.

bool

Called when the object is added to the sim.

Called when the object is removed from the sim.

packUpdate(NetConnection * conn, U32 mask, BitStream * stream)

Instructs this object to pack its state for transfer over the network.

Called when the SceneManager is ready for the registration of render instances.

Sets the scale for the object.

Sets the Object -> World transform.

Instructs this object to read state data previously packed with packUpdate.

Public Static Functions

Detailed Description

Protected Types

NetMasks

Enumerator

UpdateMask = Parent::NextFreeMask
ResetMask = Parent::NextFreeMask << 1
NextFreeMask = Parent::NextFreeMask << 2

Private Types

typedef SceneObject Parent 

Protected Attributes

NxFluidEmitter * mEmitter 
NxFluid * mFluid 
U32 mParticleCount 
FluidParticle * mParticles 
NxScene * mScene 
PxWorld * mWorld 

Public Functions

PxFluid()

~PxFluid()

DECLARE_CONOBJECT(PxFluid )

inspectPostApply()

Reimplemented from: SceneObject

onAdd()

Reimplemented from: SceneObject

onRemove()

Reimplemented from: SceneObject

packUpdate(NetConnection * conn, U32 mask, BitStream * stream)

Reimplemented from: SceneObject

prepRenderImage(SceneRenderState * state)

Reimplemented from: SceneObject

resetParticles()

setRate(F32 rate)

setScale(const VectorF & scale)

Reimplemented from: SceneObject

setTransform(const MatrixF & mat)

Reimplemented from: SceneObject

unpackUpdate(NetConnection * conn, BitStream * stream)

Reimplemented from: SceneObject

Public Static Functions

initPersistFields()

Protected Functions

_createFluid()

_destroyFluid()

renderObject(ObjectRenderInst * ri, SceneRenderState * state, BaseMatInstance * overrideMat)