Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

KX_Scene Class Reference

#include <KX_Scene.h>

Inheritance diagram for KX_Scene:

SCA_IScene List of all members.

Public Methods

 KX_Scene (class SCA_ISystem* system)
virtual ~KX_Scene ()
SCA_IObjectAddReplicaObject (class CValue* gameobj,class CValue* locationobj,int lifespan=0)
void* AddNodeReplicaObject (class SG_IObject* node,class CValue* gameobj)
void* RemoveNodeDestructObject (class SG_IObject* node,class CValue* gameobj)
void RemoveObject (class CValue* gameobj)
void NewRemoveObject (class CValue* gameobj)
void ReplaceMesh (class CValue* gameobj,void* meshobj)
void LogicBeginFrame (double curtime,double deltatime)
void LogicUpdateFrame (double curtime,double deltatime)
void LogicEndFrame ()
CListValueGetObjectList ()
CListValueGetRootParentList ()
CListValueGetLightList ()
CListValueGetCameraList ()
SCA_LogicManagerGetLogicManager ()
SCA_TimeEventManagerGetTimeEventManager ()
DT_SceneHandle GetSolidScene ()
KX_CameraGetActiveCamera ()
void SetActiveCamera (class KX_Camera* cam)
CMatrix4x4GetViewMatrix ()
CMatrix4x4GetProjectionMatrix ()
void SetProjectionMatrix (CMatrix4x4& pmat)
void SetSumoScene (SM_Scene* sumoscene)
void SetSoundScene (OpenALScene* sndscene)
void AddMaterialProps (SM_MaterialProps *materialProps)
void AddShapeProps (SM_ShapeProps *shapeProps)
void CalculateVisibleMeshes (class RAS_IRasterizer* rasty)
KX_CameraGetpCamera ()
SM_Scene* GetSumoScene ()
OpenALSceneGetSoundScene ()
void ReplicateLogic (class KX_GameObject* newobj)

Static Public Attributes

SG_Callbacks m_callbacks = SG_Callbacks(KX_SceneReplicationFunc,KX_SceneDestructionFunc)

Constructor & Destructor Documentation

KX_Scene::KX_Scene ( class SCA_ISystem * system )
 

Definition at line 50 of file KX_Scene.cpp.

KX_Scene::~KX_Scene ( ) [virtual]
 

Definition at line 102 of file KX_Scene.cpp.


Member Function Documentation

void KX_Scene::AddMaterialProps ( SM_MaterialProps * materialProps ) [inline]
 

Definition at line 101 of file KX_Scene.h.

Referenced by CreateMaterialFromBlenderObject().

void * KX_Scene::AddNodeReplicaObject ( class SG_IObject * node,
class CValue * gameobj )
 

Definition at line 161 of file KX_Scene.cpp.

Referenced by AddReplicaObject().

SCA_IObject * KX_Scene::AddReplicaObject ( class CValue * gameobj,
class CValue * locationobj,
int lifespan = 0 ) [virtual]
 

Reimplemented from SCA_IScene.

Definition at line 314 of file KX_Scene.cpp.

void KX_Scene::AddShapeProps ( SM_ShapeProps * shapeProps ) [inline]
 

Definition at line 106 of file KX_Scene.h.

Referenced by CreateShapePropsFromBlenderObject().

void KX_Scene::CalculateVisibleMeshes ( class RAS_IRasterizer * rasty )
 

Definition at line 446 of file KX_Scene.cpp.

KX_Camera * KX_Scene::GetActiveCamera ( )
 

Definition at line 435 of file KX_Scene.cpp.

CListValue * KX_Scene::GetCameraList ( ) [inline]
 

Definition at line 82 of file KX_Scene.h.

Referenced by BL_ConvertBlenderObjects().

CListValue * KX_Scene::GetLightList ( ) [inline]
 

Definition at line 81 of file KX_Scene.h.

Referenced by BL_ConvertBlenderObjects().

SCA_LogicManager * KX_Scene::GetLogicManager ( ) [inline]
 

Definition at line 83 of file KX_Scene.h.

Referenced by BL_ConvertBlenderObjects().

CListValue * KX_Scene::GetObjectList ( ) [inline]
 

Definition at line 79 of file KX_Scene.h.

Referenced by BL_ConvertBlenderObjects().

CMatrix4x4 & KX_Scene::GetProjectionMatrix ( )
 

Definition at line 430 of file KX_Scene.cpp.

CListValue * KX_Scene::GetRootParentList ( ) [inline]
 

Definition at line 80 of file KX_Scene.h.

Referenced by BL_ConvertBlenderObjects().

DT_SceneHandle KX_Scene::GetSolidScene ( ) [inline]
 

Definition at line 86 of file KX_Scene.h.

Referenced by BL_CreateSumoObjectNew().

OpenALScene * KX_Scene::GetSoundScene ( ) [inline]
 

Definition at line 116 of file KX_Scene.h.

Referenced by BL_ConvertActuators(), and KX_KetsjiEngine::SetScene().

SM_Scene * KX_Scene::GetSumoScene ( ) [inline]
 

Definition at line 115 of file KX_Scene.h.

Referenced by BL_ConvertBlenderObjects(), BL_ConvertSensors(), BL_CreateSumoObjectNew(), NewRemoveObject(), and KX_KetsjiEngine::SetScene().

SCA_TimeEventManager * KX_Scene::GetTimeEventManager ( ) [inline]
 

Definition at line 84 of file KX_Scene.h.

Referenced by BL_ConvertBlenderObjects().

CMatrix4x4 & KX_Scene::GetViewMatrix ( )
 

Definition at line 422 of file KX_Scene.cpp.

KX_Camera * KX_Scene::GetpCamera ( ) [inline]
 

Definition at line 113 of file KX_Scene.h.

void KX_Scene::LogicBeginFrame ( double curtime,
double deltatime )
 

Definition at line 470 of file KX_Scene.cpp.

Referenced by KX_KetsjiEngine::MainLoopCallback().

void KX_Scene::LogicEndFrame ( )
 

Definition at line 503 of file KX_Scene.cpp.

Referenced by KX_KetsjiEngine::MainLoopCallback().

void KX_Scene::LogicUpdateFrame ( double curtime,
double deltatime )
 

Definition at line 498 of file KX_Scene.cpp.

Referenced by KX_KetsjiEngine::MainLoopCallback().

void KX_Scene::NewRemoveObject ( class CValue * gameobj )
 

Definition at line 389 of file KX_Scene.cpp.

Referenced by RemoveNodeDestructObject().

void * KX_Scene::RemoveNodeDestructObject ( class SG_IObject * node,
class CValue * gameobj )
 

Definition at line 154 of file KX_Scene.cpp.

void KX_Scene::RemoveObject ( class CValue * gameobj ) [virtual]
 

Reimplemented from SCA_IScene.

Definition at line 382 of file KX_Scene.cpp.

Referenced by LogicBeginFrame().

void KX_Scene::ReplaceMesh ( class CValue * gameobj,
void * meshobj ) [virtual]
 

Reimplemented from SCA_IScene.

Definition at line 413 of file KX_Scene.cpp.

void KX_Scene::ReplicateLogic ( class KX_GameObject * newobj )
 

Definition at line 211 of file KX_Scene.cpp.

Referenced by AddReplicaObject().

void KX_Scene::SetActiveCamera ( class KX_Camera * cam )
 

Definition at line 440 of file KX_Scene.cpp.

Referenced by BL_ConvertBlenderObjects(), and KX_SceneActuator::Update().

void KX_Scene::SetProjectionMatrix ( CMatrix4x4 & pmat ) [inline]
 

Definition at line 93 of file KX_Scene.h.

void KX_Scene::SetSoundScene ( OpenALScene * sndscene ) [inline]
 

Definition at line 99 of file KX_Scene.h.

void KX_Scene::SetSumoScene ( SM_Scene * sumoscene ) [inline]
 

Definition at line 98 of file KX_Scene.h.


Member Data Documentation

SG_Callbacks KX_Scene::m_callbacks = SG_Callbacks(KX_SceneReplicationFunc,KX_SceneDestructionFunc) [static]
 

Definition at line 119 of file KX_Scene.h.


The documentation for this class was generated from the following files:
Generated at Thu Feb 1 13:03:44 2001 for Ketsji Game Engine by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000