Changeset View
Changeset View
Standalone View
Standalone View
source/blender/collada/AnimationImporter.h
| Show First 20 Lines • Show All 83 Lines • ▼ Show 20 Lines | private: | ||||
| void animation_to_fcurves(COLLADAFW::AnimationCurve *curve); | void animation_to_fcurves(COLLADAFW::AnimationCurve *curve); | ||||
| void fcurve_deg_to_rad(FCurve *cu); | void fcurve_deg_to_rad(FCurve *cu); | ||||
| void add_fcurves_to_object(Object *ob, std::vector<FCurve*>& curves, char *rna_path, int array_index, Animation *animated); | void add_fcurves_to_object(Object *ob, std::vector<FCurve*>& curves, char *rna_path, int array_index, Animation *animated); | ||||
| int typeFlag; | int typeFlag; | ||||
| std::string import_from_version; | |||||
| enum lightAnim | enum lightAnim | ||||
| { | { | ||||
| // INANIMATE = 0, | // INANIMATE = 0, | ||||
| LIGHT_COLOR = 2, | LIGHT_COLOR = 2, | ||||
| LIGHT_FOA = 4, | LIGHT_FOA = 4, | ||||
| LIGHT_FOE = 8 | LIGHT_FOE = 8 | ||||
| }; | }; | ||||
| Show All 32 Lines | struct AnimMix | ||||
| int texture; | int texture; | ||||
| }; | }; | ||||
| public: | public: | ||||
| AnimationImporter(UnitConverter *conv, ArmatureImporter *arm, Scene *scene); | AnimationImporter(UnitConverter *conv, ArmatureImporter *arm, Scene *scene); | ||||
| ~AnimationImporter(); | ~AnimationImporter(); | ||||
| void set_import_from_version(std::string import_from_version); | |||||
| bool write_animation(const COLLADAFW::Animation* anim); | bool write_animation(const COLLADAFW::Animation* anim); | ||||
| // called on post-process stage after writeVisualScenes | // called on post-process stage after writeVisualScenes | ||||
| bool write_animation_list(const COLLADAFW::AnimationList* animlist); | bool write_animation_list(const COLLADAFW::AnimationList* animlist); | ||||
| void read_node_transform(COLLADAFW::Node *node, Object *ob); | void read_node_transform(COLLADAFW::Node *node, Object *ob); | ||||
| #if 0 | #if 0 | ||||
| virtual void change_eul_to_quat(Object *ob, bAction *act); | virtual void change_eul_to_quat(Object *ob, bAction *act); | ||||
| ▲ Show 20 Lines • Show All 69 Lines • Show Last 20 Lines | |||||