Changeset View
Changeset View
Standalone View
Standalone View
source/gameengine/Ketsji/KX_ISceneConverter.h
| Context not available. | |||||
| #ifndef __KX_ISCENECONVERTER_H__ | #ifndef __KX_ISCENECONVERTER_H__ | ||||
| #define __KX_ISCENECONVERTER_H__ | #define __KX_ISCENECONVERTER_H__ | ||||
| #include "STR_String.h" | #include <string> | ||||
| #include "EXP_Python.h" | #include "EXP_Python.h" | ||||
| #ifdef WITH_CXX_GUARDEDALLOC | #ifdef WITH_CXX_GUARDEDALLOC | ||||
| Context not available. | |||||
| #endif | #endif | ||||
| struct Scene; | struct Scene; | ||||
| class CListValue; | |||||
| class KX_ISceneConverter | class KX_ISceneConverter | ||||
| { | { | ||||
| Context not available. | |||||
| virtual void SetAlwaysUseExpandFraming(bool to_what) = 0; | virtual void SetAlwaysUseExpandFraming(bool to_what) = 0; | ||||
| virtual void SetNewFileName(const STR_String& filename) = 0; | virtual void SetNewFileName(const std::string& filename) = 0; | ||||
| virtual bool TryAndLoadNewFile() = 0; | virtual bool TryAndLoadNewFile() = 0; | ||||
| virtual void ResetPhysicsObjectsAnimationIpo(bool clearIpo) = 0; | virtual struct Scene* GetBlenderSceneForName(const std::string& name)=0; | ||||
| virtual CListValue *GetInactiveSceneNames() = 0; | |||||
| ///this generates ipo curves for position, rotation, allowing to use game physics in animation | |||||
| virtual void WritePhysicsObjectToAnimationIpo(int frameNumber) = 0; | |||||
| virtual void TestHandlesPhysicsObjectToAnimationIpo() = 0; | |||||
| ///this is for reseting the position,rotation and scale of the gameobjet that is not dynamic | |||||
| virtual void resetNoneDynamicObjectToIpo()=0; | |||||
| // use blender materials | |||||
| virtual void SetMaterials(bool val) =0; | |||||
| virtual bool GetMaterials()=0; | |||||
| // use blender glsl materials | |||||
| virtual void SetGLSLMaterials(bool val) =0; | |||||
| virtual bool GetGLSLMaterials()=0; | |||||
| // cache materials during conversion | |||||
| virtual void SetCacheMaterials(bool val) =0; | |||||
| virtual bool GetCacheMaterials()=0; | |||||
| virtual struct Scene* GetBlenderSceneForName(const STR_String& name)=0; | |||||
| #ifdef WITH_CXX_GUARDEDALLOC | #ifdef WITH_CXX_GUARDEDALLOC | ||||
| MEM_CXX_CLASS_ALLOC_FUNCS("GE:KX_ISceneConverter") | MEM_CXX_CLASS_ALLOC_FUNCS("GE:KX_ISceneConverter") | ||||
| Context not available. | |||||