PathManager
Engine/source/scene/pathManager.h
Classes:
Public Types
enum
PathType { BackAndForth Looping }
Public Friends
class
Public Functions
PathManager(const bool isServer)
getPathTimeBits(const U32 id)
getPathTotalTime(const U32 id)
bool
isValidPath(const U32 id)
Detailed Description
Public Types
PathType
Enumerator
- BackAndForth
- Looping
Public Friends
Private Attributes
bool mIsServer
Vector< PathEntry * > mPaths
Public Functions
PathManager(const bool isServer)
~PathManager()
allocatePathId()
clearPaths()
dumpState(BitStream * )
getClosestTimeToPoint(const U32 id, const Point3F p)
getClosestTimeToPoint(const U32 id, const Point3F p, const F64 tMin, const F64 tMax)
getPathNumWaypoints(const U32 id)
getPathPosition(const U32 id, const F64 msPosition, Point3F & rPosition, QuatF & rotation)
getPathTimeBits(const U32 id)
getPathTotalTime(const U32 id)
getPathWaypointBits(const U32 id)
getWaypointTime(const U32 id, const U32 wayPoint)
isValidPath(const U32 id)
readState(BitStream * )
transmitPath(U32 )
transmitPaths(NetConnection * )
updatePath(const U32 id, const Vector< Point3F > & , const Vector< QuatF > & , const Vector< U32 > & , const Vector< U32 > & , const bool looping)