![]() |
Twilight Princess
Remastered version of the GameCube game
|
The BTK format represents a material animation that changes the tex coords over time. More...
Inheritance diagram for JStudio.J3D.Animation.BTK:
Collaboration diagram for JStudio.J3D.Animation.BTK:Classes | |
| class | MaterialAnim |
Public Member Functions | |
| BTK (string name) | |
| void | LoadFromStream (EndianBinaryReader reader) |
| void | PlayBTK (BMD bmd) |
| void | StopBTK () |
| void | ApplyAnimationToMaterials (MAT3 pose, BMD bmd) |
Public Member Functions inherited from JStudio.J3D.Animation.BaseJ3DAnimation | |
| bool | IsPlaying () |
| float | TimeSinceStartedPlaying () |
| void | SetTimeSinceStartedPlaying (float t) |
| BaseJ3DAnimation (string name) | |
| virtual bool | Tick (float deltaTime) |
| virtual void | Start () |
| virtual void | Stop () |
| virtual void | Pause () |
| virtual void | Resume () |
| float | GetAnimValue (List< Key > keys, float frameTime) |
Private Member Functions | |
| IEnumerator | _PlayBTK (MAT3 pose, BMD bmd) |
| void | UpdateMeshData (List< GameObject > children) |
| void | LoadTagDataFromFile (EndianBinaryReader reader, int tagCount) |
Private Attributes | |
| List< MaterialAnim > | m_animationData |
| short[] | m_remapTable |
| bool | _playing = false |
| MeshRenderer | _renderer |
Additional Inherited Members | |
Public Attributes inherited from JStudio.J3D.Animation.BaseJ3DAnimation | |
| float | m_timeSinceStartedPlaying |
| int | TickCount |
| bool | OneTimeDone |
Static Public Attributes inherited from JStudio.J3D.Animation.BaseJ3DAnimation | |
| static float | kAnimFramerate = 30f |
Protected Member Functions inherited from JStudio.J3D.Animation.BaseJ3DAnimation | |
| virtual float | CubicInterpolation (Key key1, Key key2, float t) |
| virtual float | HermiteInterpolation (Key key1, Key key2, float t) |
| virtual float | LinearInterpolation (Key key1, Key key2, float t) |
| void | ConvertRotation (List< Key > rots, float scale) |
| AnimIndex | ReadAnimIndex (EndianBinaryReader stream) |
| AnimComponent | ReadAnimComponent (EndianBinaryReader stream) |
| AnimatedJoint | ReadAnimJoint (EndianBinaryReader stream) |
| List< Key > | ReadComp (float[] src, AnimIndex index) |
Protected Attributes inherited from JStudio.J3D.Animation.BaseJ3DAnimation | |
| bool | m_isPlaying |
| OpenTK.Matrix4 | m_hermiteMatrix = new OpenTK.Matrix4(2, -2, 1, 1, -3, 3, -2, -1, 0, 0, 1, 0, 1, 0, 0, 0) |
Properties inherited from JStudio.J3D.Animation.BaseJ3DAnimation | |
| string | Name [get, protected set] |
| string | Magic [get, protected set] |
| string | AnimType [get, protected set] |
| LoopType | LoopMode [get, set] |
| short | AnimLengthInFrames [get, protected set] |
| string | AnimLengthInSeconds [get] |
The BTK format represents a material animation that changes the tex coords over time.
| JStudio.J3D.Animation.BTK.BTK | ( | string | name | ) |
| void JStudio.J3D.Animation.BTK.LoadFromStream | ( | EndianBinaryReader | reader | ) |
|
private |
| void JStudio.J3D.Animation.BTK.PlayBTK | ( | BMD | bmd | ) |
| void JStudio.J3D.Animation.BTK.StopBTK | ( | ) |
|
private |
|
private |
|
private |
|
private |
|
private |