diff options
author | Sukhitha Prabhath Jayathilake <pr.jayathilake@gmail.com> | 2011-08-03 23:12:18 +0400 |
---|---|---|
committer | Sukhitha Prabhath Jayathilake <pr.jayathilake@gmail.com> | 2011-08-03 23:12:18 +0400 |
commit | cbdc67e2e81cb136a0dca2218dd0ccb6ecc557ca (patch) | |
tree | 4e3f83569c04a7788ec20ae2f065a0f9e04cb2eb /source/blender/collada/AnimationExporter.h | |
parent | 0031950a746d6a1b632e6c57359432803e8871c9 (diff) |
Find all key frames for baked animation export.
Diffstat (limited to 'source/blender/collada/AnimationExporter.h')
-rw-r--r-- | source/blender/collada/AnimationExporter.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/collada/AnimationExporter.h b/source/blender/collada/AnimationExporter.h index 3e3150cd8ef..388d7dbb24d 100644 --- a/source/blender/collada/AnimationExporter.h +++ b/source/blender/collada/AnimationExporter.h @@ -96,10 +96,14 @@ protected: void dae_animation(Object* ob, FCurve *fcu, char* transformName , bool is_param, Material *ma = NULL); + void bake_bone_animation(Object *ob_arm, Bone *bone); + void write_bone_animation(Object *ob_arm, Bone *bone); void sample_and_write_bone_animation(Object *ob_arm, Bone *bone, int transform_type); + void sample_and_bake_bone_animation(Object *ob_arm, Bone *bone); + void sample_animation(float *v, std::vector<float> &frames, int type, Bone *bone, Object *ob_arm, bPoseChannel *pChan); // dae_bone_animation -> add_bone_animation @@ -134,6 +138,8 @@ protected: std::string get_transform_sid(char *rna_path, int tm_type, const char *axis_name, bool append_axis); void find_frames(Object *ob, std::vector<float> &fra, const char *prefix, const char *tm_name); + + void find_all_frames(Object *ob, std::vector<float> &fra); void find_rotation_frames(Object *ob, std::vector<float> &fra, const char *prefix, int rotmode); |