Skip to content

Commit

Permalink
Merge branch 'main' of github.com:AsgardXIV/XAT
Browse files Browse the repository at this point in the history
  • Loading branch information
AsgardXIV committed Jul 19, 2022
2 parents 7f1ef5c + bcc2038 commit 07cdf51
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Havok/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Human readable output is piped to stdout. Machine readable output is piped to st
The tool never overrwrites any files used as source unless they are specified as the output.

## API
```
Get stats about the container - getStats(string container) -> (int skeletonCount / int animCount / int bindingCount)
Create a blank animation container - createContainer(string outputPath) -> null
Add animation and associated binding to container - addAnimation(string targetContainer, string sourceContainer, int sourceAnimIdx, string outputContainer) -> (int newAnimIdx / int newBindingIdx)
Expand All @@ -32,4 +33,5 @@ Convert FBX skeleton to havok - fromFbxSkeleton(string fbxPath, string boneOrder
Convert FBX to havok animation - fromFbxAnimation(string fbxPath, int animStackIdx, string sourceSkeleton, int skeletonIdx, string excludeBones, string outputPath) -> (int framesConverted, int bonesBound)
Get list of FBX bones in index order - listFbxBones(string container) -> (list<string />)
Quanitized compression - compress(const quantized, string sourceContainerPath, int sourceAnimIdx, int sourceSkeletonIdx, float floatingTolerance, float translationTolerance, float rotationTolerance, float scaleTolerance, string outputContainerPath) -> null
Predictive compression - compress(const predictive, string sourceContainerPath, int sourceAnimIdx, int sourceSkeletonIdx, float staticFloatingTolerance, float staticTranslationTolerance, float staticRotationTolerance, float staticScaleTolerance, float dynamicFloatingTolerance, float dynamicTranslationTolerance, float dynamicRotationTolerance, float dynamicScaleTolerance, string outputContainerPath) -> null
Predictive compression - compress(const predictive, string sourceContainerPath, int sourceAnimIdx, int sourceSkeletonIdx, float staticFloatingTolerance, float staticTranslationTolerance, float staticRotationTolerance, float staticScaleTolerance, float dynamicFloatingTolerance, float dynamicTranslationTolerance, float dynamicRotationTolerance, float dynamicScaleTolerance, string outputContainerPath) -> null
```

0 comments on commit 07cdf51

Please sign in to comment.