|
static void | ColladaToPSA (const char *input, OutputCB &output, std::string &xmlErrors) |
| Converts a COLLADA XML document into the PSA animation format. More...
|
|
static void | WritePSA (OutputCB &output, size_t frameCount, size_t boneCount, const std::vector< BoneTransform > &boneTransforms) |
| Writes the animation data in the PSA format. More...
|
|
static void | TransformVertices (std::vector< BoneTransform > &bones, const FMMatrix44 &transform, bool yUp, bool isXSI) |
|
static void | GetAnimationRange (const FColladaDocument &doc, const Skeleton &skeleton, const FCDControllerInstance &controllerInstance, float &timeStart, float &timeEnd) |
|
static bool | GetAnimationRange_XSI (const FColladaDocument &doc, float &timeStart, float &timeEnd) |
|
static void | EvaluateAnimations (FCDSceneNode &node, float time) |
|
◆ ColladaToPSA()
static void PSAConvert::ColladaToPSA |
( |
const char * |
input, |
|
|
OutputCB & |
output, |
|
|
std::string & |
xmlErrors |
|
) |
| |
|
inlinestatic |
Converts a COLLADA XML document into the PSA animation format.
- Parameters
-
input | XML document to parse |
output | callback for writing the PSA data; called lots of times with small strings |
xmlErrors | output - errors reported by the XML parser |
- Exceptions
-
◆ EvaluateAnimations()
static void PSAConvert::EvaluateAnimations |
( |
FCDSceneNode & |
node, |
|
|
float |
time |
|
) |
| |
|
inlinestatic |
◆ GetAnimationRange()
static void PSAConvert::GetAnimationRange |
( |
const FColladaDocument & |
doc, |
|
|
const Skeleton & |
skeleton, |
|
|
const FCDControllerInstance & |
controllerInstance, |
|
|
float & |
timeStart, |
|
|
float & |
timeEnd |
|
) |
| |
|
inlinestatic |
◆ GetAnimationRange_XSI()
static bool PSAConvert::GetAnimationRange_XSI |
( |
const FColladaDocument & |
doc, |
|
|
float & |
timeStart, |
|
|
float & |
timeEnd |
|
) |
| |
|
inlinestatic |
◆ TransformVertices()
static void PSAConvert::TransformVertices |
( |
std::vector< BoneTransform > & |
bones, |
|
|
const FMMatrix44 & |
transform, |
|
|
bool |
yUp, |
|
|
bool |
isXSI |
|
) |
| |
|
inlinestatic |
◆ WritePSA()
static void PSAConvert::WritePSA |
( |
OutputCB & |
output, |
|
|
size_t |
frameCount, |
|
|
size_t |
boneCount, |
|
|
const std::vector< BoneTransform > & |
boneTransforms |
|
) |
| |
|
inlinestatic |
Writes the animation data in the PSA format.
The documentation for this class was generated from the following file:
- /home/docker/jenkins/workspace/technical-docs/source/collada/PSAConvert.cpp