VPathObject

Engine/source/Verve/VPath/VPathObject.h

More...

Classes:

Public Types

enum
eOrientationType {
  k_OrientationFree 
  k_OrientationInterpolate 
  k_OrientationToPath 
  k_OrientationToObject 
  k_OrientationToPoint 
  k_OrientationTypeSize 
}
enum
eState {
  k_StateUpdateObject = BIT( 0 )
  k_StateUpdateMount = BIT( 1 )
  k_StateUpdatePosition = BIT( 2 )
  k_StateUpdateState = BIT( 3 )
  k_StateAttach = BIT( 4 )
  k_StateDetach = BIT( 5 )
  k_StateUpdate = ( k_StateUpdateObject | k_StateUpdateMount | k_StateUpdatePosition | k_StateUpdateState )
  k_StateInit = ( k_StateAttach | k_StateUpdate )
}

Public Functions

getTimeDelta(const bool & pUpdate)
const bool &
bool
isConnection(NetConnection * pConnection)
const bool &
packUpdate(NetConnection * pConnection, BitStream * pStream)
pushDelta(const Point3F & pPosition, const VectorF & pOrientation)
resetDelta(const Point3F & pPosition, const VectorF & pOrientation)
setActive(const bool & pActive)
setEndNode(const S32 & pNodeIndex)
setForward(const bool & pForward)
setNode(const S32 & pSourceNodeIndex, const S32 & pDestinationNodeIndex)
setOrientation(const VectorF & pOrientation)
setSpeed(const F32 & pSpeed)
setStartNode(const S32 & pNodeIndex)
unpackUpdate(NetConnection * pConnection, BitStream * pStream)

Detailed Description

Public Types

eOrientationType

Enumerator

k_OrientationFree
k_OrientationInterpolate
k_OrientationToPath
k_OrientationToObject
k_OrientationToPoint
k_OrientationTypeSize
eState

Enumerator

k_StateUpdateObject = BIT( 0 )
k_StateUpdateMount = BIT( 1 )
k_StateUpdatePosition = BIT( 2 )
k_StateUpdateState = BIT( 3 )
k_StateAttach = BIT( 4 )
k_StateDetach = BIT( 5 )
k_StateUpdate = ( k_StateUpdateObject | k_StateUpdateMount | k_StateUpdatePosition | k_StateUpdateState )
k_StateInit = ( k_StateAttach | k_StateUpdate )

Protected Attributes

bool mActive 
sDelta mDelta 
S32 mDestinationNode 
S32 mEndNode 
bool mForward 
F32 mLastDelta 
U32 mLastTime 
VNetState mNetState 
SceneObject * mObject 
Point3F mOffset 
VectorF mOrientation 
sOrientation mOrientationMode 
F32 mPathInterp 
Point3F mPosition 
S32 mSourceNode 
F32 mSpeed 
S32 mStartNode 
F32 mTimeInterp 

Public Functions

VPathObject(void )

~VPathObject(void )

addConnection(NetConnection * pConnection)

clearConnection(NetConnection * pConnection)

clearMaskBits(const U32 & pMask)

getDestinationNode(void )

getEndNode(void )

getObject(void )

getOffset(void )

getOrientation(void )

getOrientationDelta(const F32 & pInterp)

getOrientationMode(void )

getPathInterp(void )

getPosition(void )

getPositionDelta(const F32 & pInterp)

getRenderTransform(const F32 & pDelta)

getRenderWorldPosition(const F32 & pDelta)

getSourceNode(void )

getSpeed(void )

getStartNode(void )

getState(NetConnection * pConnection)

getTimeDelta(const bool & pUpdate)

getTimeInterp(void )

getTransform(void )

getWorldPosition(void )

isActive(void )

isConnection(NetConnection * pConnection)

isForward(void )

packUpdate(NetConnection * pConnection, BitStream * pStream)

popDelta(void )

pushDelta(const Point3F & pPosition, const VectorF & pOrientation)

resetDelta(const Point3F & pPosition, const VectorF & pOrientation)

resetDelta(void )

resetTime(void )

setActive(const bool & pActive)

setEndNode(const S32 & pNodeIndex)

setForward(const bool & pForward)

setMaskBits(const U32 & pMask)

setNode(const S32 & pSourceNodeIndex, const S32 & pDestinationNodeIndex)

setObject(SceneObject * pObject)

setOffset(const Point3F & pOffset)

setOrientation(const VectorF & pOrientation)

setOrientationMode(const eOrientationType & pType)

setOrientationMode(const eOrientationType & pType, const Point3F & pPoint)

setOrientationMode(const eOrientationType & pType, SceneObject * pObject)

setPathInterp(const F32 & pInterp)

setPosition(const Point3F & pPosition)

setSpeed(const F32 & pSpeed)

setStartNode(const S32 & pNodeIndex)

setTimeInterp(const F32 & pInterp)

unpackUpdate(NetConnection * pConnection, BitStream * pStream)

Public Static Functions

getOrientationTypeEnum(const char * pLabel)

getOrientationTypeLabel(const eOrientationType & pType)