#include <plLineFollowMod.h>
Public Types |
enum | FollowMode { kFollowObject,
kFollowListener,
kFollowCamera,
kFollowLocalAvatar
} |
enum | {
kNone = 0,
kFullMatrix = 0x1,
kOffsetFeet = 0x2,
kOffsetAng = 0x4,
kOffset = kOffsetFeet | kOffsetAng,
kOffsetClamp = 0x8,
kForceToLine = 0x10,
kSpeedClamp = 0x20,
kSearchPopPos = 0x40
} |
Member Enumeration Documentation
- Enumerator:
kNone |
|
kFullMatrix |
|
kOffsetFeet |
|
kOffsetAng |
|
kOffset |
|
kOffsetClamp |
|
kForceToLine |
|
kSpeedClamp |
|
kSearchPopPos |
|
- Enumerator:
kFollowObject |
|
kFollowListener |
|
kFollowCamera |
|
kFollowLocalAvatar |
|
Constructor & Destructor Documentation
plLineFollowMod::plLineFollowMod |
( |
| ) |
|
virtual plLineFollowMod::~plLineFollowMod |
( |
| ) |
|
|
virtual |
Member Function Documentation
void plLineFollowMod::addStereizer |
( |
plKey |
stereizer | ) |
|
void plLineFollowMod::clearStereizers |
( |
| ) |
|
void plLineFollowMod::delStereizer |
( |
size_t |
idx | ) |
|
unsigned short plLineFollowMod::getFollowFlags |
( |
| ) |
const |
FollowMode plLineFollowMod::getFollowMode |
( |
| ) |
const |
float plLineFollowMod::getOffset |
( |
| ) |
const |
float plLineFollowMod::getOffsetClamp |
( |
| ) |
const |
plKey plLineFollowMod::getPathParent |
( |
| ) |
const |
plKey plLineFollowMod::getRefObj |
( |
| ) |
const |
float plLineFollowMod::getSpeedClamp |
( |
| ) |
const |
const std::vector<plKey>& plLineFollowMod::getStereizers |
( |
| ) |
const |
std::vector<plKey>& plLineFollowMod::getStereizers |
( |
| ) |
|
This must be overloaded by subclasses to parse PRC data specific to the class from the PRC document. It is called once for each tag that is a child to the Creatable tag itself, so subclasses should check for each supported tag and handle it accordingly if it matches. If the tag is not recognized, it should be passed along to the parent class.
Reimplemented from plMultiModifier.
virtual void plLineFollowMod::IPrcWrite |
( |
pfPrcHelper * |
prc | ) |
|
|
protectedvirtual |
This must be overloaded by subclasses to write PRC data specific to the class to the PRC document. Do not write the top-level creatable tag, that is handled by prcWrite().
Reimplemented from plMultiModifier.
Reads this creatable directly from the stream. If any keys are read, they will be added to the plResManager automatically.
Reimplemented from plMultiModifier.
void plLineFollowMod::setFollowFlags |
( |
unsigned short |
flags | ) |
|
void plLineFollowMod::setFollowMode |
( |
FollowMode |
mode | ) |
|
void plLineFollowMod::setOffset |
( |
float |
offset | ) |
|
void plLineFollowMod::setOffsetClamp |
( |
float |
clamp | ) |
|
void plLineFollowMod::setPath |
( |
plAnimPath * |
path | ) |
|
void plLineFollowMod::setPathParent |
( |
plKey |
parent | ) |
|
void plLineFollowMod::setRefObj |
( |
plKey |
obj | ) |
|
void plLineFollowMod::setSpeedClamp |
( |
float |
clamp | ) |
|
Writes this creatable directly to the stream. The plResManager is used to manage any key references written by this creatable.
Reimplemented from plMultiModifier.
Member Data Documentation
unsigned short plLineFollowMod::fFollowFlags |
|
protected |
float plLineFollowMod::fOffset |
|
protected |
float plLineFollowMod::fOffsetClamp |
|
protected |
plKey plLineFollowMod::fPathParent |
|
protected |
plKey plLineFollowMod::fRefObj |
|
protected |
float plLineFollowMod::fSpeedClamp |
|
protected |
std::vector<plKey> plLineFollowMod::fStereizers |
|
protected |
The documentation for this class was generated from the following file: