SO3Engine
|
#include <SO3Scene.h>
Public Member Functions | |
SScene (SRoot *parent, const std::string &sceneName) | |
~SScene () | |
void | clearOgreScene () |
Ogre::SceneManager * | GetOgreScenePointer () |
SNode * | GetRootNode () |
SNode * | GetNode (const std::string &nodeName) const |
void | PreUpdate () |
void | PostUpdate () |
const SNodeMap & | GetNodeList () const |
const STerrainMap & | GetTerrainList () const |
SNode * | CreateNode (const std::string &newNodeName) |
SNode * | CreateNodeWithUniqueName (const std::string &basename) |
void | DeleteNode (SNode *existingNode) |
SVirtualPointer * | CreateVirtualPointer (const std::string &basename) |
SCamera * | CreateCamera (const std::string &newCameraName) |
SEntity * | CreateEntity (const std::string &groupName, const std::string &newEntityName, const std::string &meshName, bool loadInBackground=false) |
SEntity * | CreateEntity (const std::string &newEntityName, const SEntity::EntityPrefabType &prefabType) |
SEntity * | CreateEntity (const std::string &entityName, const std::string &ressourceGroup, Ogre::MeshPtr meshPointer) |
SEntity * | CloneEntity (const std::string &newEntityName, SEntity *entity) |
SEntity * | CreatePlane (const std::string &groupName, const std::string &newEntityName, const SPointFloat &sizev, const SPointInt &seg, const SPointFloat &uv) |
SEntity * | CreateSphere (const std::string &groupName, const std::string &newEntityName, const float &radius, const int &rings, const int &segments) |
SEntity * | CreateCone (const std::string &groupName, const std::string &newEntityName, const float &radius, const float &height, const int &segments) |
SEntity * | CreateOctahedron (const std::string &groupName, const std::string &newEntityName, const float &base, const float &bottom, const float &dist) |
void | DeleteEntity (SEntity *existingEntity) |
void | ReloadEntities () |
SLineEntity * | CreateLineEntity (const std::string &newLineEntityName, bool dashed=false, bool disableDepth=false) |
void | DeleteLineEntity (SLineEntity *existingLineEntity) |
void | UpdateLightsShadowParameters () |
SSkeleton * | CreateSkeleton (const std::string &newSkeletonName, SEntity *entity) |
void | DeleteSkeleton (SSkeleton *existingSkeleton) |
SBone * | CreateBone (const std::string &newBoneName, SSkeleton *skeleton, const unsigned short &id) |
void | DeleteBone (SBone *existingBone) |
SParticleSystem * | CreateParticleSystem (const std::string &newParticleSystemName, const std::string &particleSystemTemplate) |
void | DeleteParticleSystem (SParticleSystem *existingParticleSystem) |
SLight * | CreateLight (const std::string &newLightName) |
void | DeleteLight (SLight *existingLight) |
SDynamicCubeMap * | CreateDynamicCubeMap (const std::string &newDynamicCubeMapName) |
void | DeleteDynamicCubeMap (SDynamicCubeMap *existingDynamicCubeMap) |
SRenderToTexture * | CreateRenderToTexture (const std::string &newRttName, SCamera *povCamera) |
void | DeleteRenderToTexture (SRenderToTexture *existingRenderToTexture) |
SDynamicReflectionMap * | CreateDynamicReflectionMap (SViewPort *viewport, const std::string &newDynamicReflectionMapName) |
void | DeleteDynamicReflectionMap (SDynamicReflectionMap *existingDynamicReflectionMap) |
SMaterial * | CreateMaterial (const std::string &groupname, const std::string &matname, const bool &loadedFromScript=false) |
void | DeleteMaterial (SMaterial *material) |
SMaterial * | GetMaterial (const std::string &groupName, const std::string &materialName, bool searchOtherGroups=true) |
bool | IsMaterialExist (SMaterial *) |
const SMaterialMap * | GetMaterials (const std::string &groupName) |
const SGroupMaterialMap * | GetMaterials () |
void | CleanGroupMaterials (const std::string &groupName) |
STexture * | CreateTexture (const std::string &groupname, const std::string &texname, const std::string &path, const int &w=0, const int &h=0) |
STexture * | CreateTexture (const std::string &groupname, const std::string &texname, Ogre::Image image) |
void | DeleteTexture (STexture *texture) |
STexture * | GetTexture (const std::string &groupName, const std::string &texName) |
const STextureMap * | GetTextures (const std::string &groupName) |
const SGroupTextureMap * | GetTextures () |
void | CleanGroupTextures (const std::string &groupName) |
STerrain * | CreateTerrain (const std::string &name) |
void | DeleteTerrain (STerrain *terrain) |
void | UpdateAllTerrains () |
void | DeleteAllTerrains () |
SRoot * | GetParent () |
SPhysicWorld * | GetPhysicsWorld () |
SSequenceAnimation * | CreateAnimationSequence (const std::string &animationName) |
void | AddAnimation (SAnim *existingAnimation) |
void | RemoveAnimation (SAnim *existingAnimation) |
void | RemoveAnimation (const std::string &animationName) |
void | DeleteAnimation (SAnim *existingAnimation) |
unsigned short | GetNumAnimations () |
SAnim * | GetAnimation (const std::string &animationName) |
SAnimMap | GetAnimations () const |
SEnvironment * | GetEnvironment () const |
SLightingManager * | GetLightingManager () |
SShadowManager::ShadowType | GetShadowType () |
void | SetShadowType (const SShadowManager::ShadowType &shadowType) |
SShadowManager::ShadowQuality | GetShadowQuality () |
void | SetShadowQuality (const SShadowManager::ShadowQuality &quality) |
SShadowManager * | GetShadowManager () |
void | DestroyInternalRessources () |
void | ReloadInternalRessources () |
Ogre::ColourValue | GetAmbientLight () |
void | SetAmbientLight (const Ogre::ColourValue &color) |
void | UpdateCamera (SViewPort *viewport) |
void | RegisterViewport (SViewPort *viewport) |
void | UnregisterViewport (SViewPort *viewport) |
bool | ParseResourceScript (const std::string &groupName, const std::string &scriptName, const SResource::ResourceType &scriptType) |
void | SetDebugEnable (const bool &enable) |
void | SetDebugDisplay (const int &color, const int &posx, const int &posy, const int &width, const int &height, const int &charHeight) |
void | SetDebugText (const std::string &text) |
void | GetSimpleRayCast (Ogre::Ray cameraRay, SRaycastResult &result) |
void | GetSimpleRayCast (Ogre::Ray cameraRay, SEntity *selected, SRaycastResult &result) |
Ogre::RaySceneQuery * | GetRayquery () |
void | SetMaterialsPointSize (Ogre::Real size) |
Public Member Functions inherited from SO3::SData | |
SData (const std::string &dataName) | |
virtual | ~SData () |
std::string | GetName () const |
SUserObjectBindings & | GetUserObjectBindings () |
const SUserObjectBindings & | GetUserObjectBindings () const |
Public Attributes | |
Ogre::SceneManager * | O3SceneManager |
Ogre::MeshManager * | O3MeshManager |
Ogre::MaterialManager * | O3MaterialManager |
Ogre::SkeletonManager * | O3SkeletonManager |
Ogre::TextureManager * | O3TextureManager |
bool | hasSkyBox |
bool | skyBoxDrawFirst |
bool | hasSkyDome |
bool | skyDomeDrawFirst |
bool | hasSkyPlane |
bool | skyPlaneDrawFirst |
Ogre::MaterialPtr | skyBoxMat |
Ogre::MaterialPtr | skyDomeMat |
Ogre::MaterialPtr | skyPlaneMat |
Ogre::MaterialPtr | materialCaster |
Ogre::MaterialPtr | materialReceiver |
Ogre::Plane | skyPlane |
Ogre::String | curMessage |
SEnvironment * | environment |
Protected Member Functions | |
bool | NodeExist (const std::string &name) |
bool | AddNode (SNode *existingNode) |
void | RemoveNode (SNode *existingNode) |
void | RemoveNode (const std::string &nodeName) |
void | DeleteAllNodes () |
void | DeleteAllAnimations () |
void | DeleteAllMaterials () |
void | DeleteAllTextures () |
bool | UnloadResource (Ogre::ResourceManager *resMgr, const std::string &resName, const std::string &groupName) |
bool | UnloadResource (Ogre::ParticleSystemManager *resMgr, const std::string &resName) |
bool | UnloadMaterials (const std::string &filename, const std::string &groupName) |
bool | UnloadCompositors (const std::string &filename, const std::string &groupName) |
bool | UnloadParticles (const std::string &filename, const std::string &groupName) |
bool | UnloadVertexPrograms (const std::string &filename, const std::string &groupName) |
bool | UnloadFragmentPrograms (const std::string &filename, const std::string &groupName) |
Additional Inherited Members | |
Protected Attributes inherited from SO3::SData | |
std::string | name |
Definition at line 124 of file SO3Scene.h.
SO3::SScene::SScene | ( | SRoot * | parent, |
const std::string & | sceneName | ||
) |
Constructor.
Definition at line 63 of file SO3Scene.cpp.
SO3::SScene::~SScene | ( | ) |
Destructor.
Definition at line 303 of file SO3Scene.cpp.
void SO3::SScene::AddAnimation | ( | SAnim * | existingAnimation | ) |
Add a SAnim object to the list of handled animations.
Definition at line 1374 of file SO3Scene.cpp.
|
protected |
Add a SNode object to the list of handled nodes.
Definition at line 415 of file SO3Scene.cpp.
void SO3::SScene::CleanGroupMaterials | ( | const std::string & | groupName | ) |
Definition at line 1161 of file SO3Scene.cpp.
void SO3::SScene::CleanGroupTextures | ( | const std::string & | groupName | ) |
Definition at line 1310 of file SO3Scene.cpp.
void SO3::SScene::clearOgreScene | ( | ) |
Definition at line 185 of file SO3Scene.cpp.
Clone a SEntity object
Definition at line 701 of file SO3Scene.cpp.
SSequenceAnimation * SO3::SScene::CreateAnimationSequence | ( | const std::string & | animationName | ) |
Definition at line 1337 of file SO3Scene.cpp.
SBone * SO3::SScene::CreateBone | ( | const std::string & | newBoneName, |
SSkeleton * | skeleton, | ||
const unsigned short & | id | ||
) |
Create a new SBone object
Definition at line 946 of file SO3Scene.cpp.
SCamera * SO3::SScene::CreateCamera | ( | const std::string & | newCameraName | ) |
Create a new SCamera object
Definition at line 653 of file SO3Scene.cpp.
SEntity * SO3::SScene::CreateCone | ( | const std::string & | groupName, |
const std::string & | newEntityName, | ||
const float & | radius, | ||
const float & | height, | ||
const int & | segments | ||
) |
Create a cone object
Definition at line 759 of file SO3Scene.cpp.
SDynamicCubeMap * SO3::SScene::CreateDynamicCubeMap | ( | const std::string & | newDynamicCubeMapName | ) |
Create a new SDynamicCubeMap object
Definition at line 997 of file SO3Scene.cpp.
SDynamicReflectionMap * SO3::SScene::CreateDynamicReflectionMap | ( | SViewPort * | viewport, |
const std::string & | newDynamicReflectionMapName | ||
) |
Create a new SDynamicReflectionMap object
Definition at line 1031 of file SO3Scene.cpp.
SEntity * SO3::SScene::CreateEntity | ( | const std::string & | entityName, |
const std::string & | ressourceGroup, | ||
Ogre::MeshPtr | meshPointer | ||
) |
Create a new SEntity object, using a prefab type
Definition at line 689 of file SO3Scene.cpp.
SEntity * SO3::SScene::CreateEntity | ( | const std::string & | groupName, |
const std::string & | newEntityName, | ||
const std::string & | meshName, | ||
bool | loadInBackground = false |
||
) |
Create a new SEntity object
Definition at line 665 of file SO3Scene.cpp.
SEntity * SO3::SScene::CreateEntity | ( | const std::string & | newEntityName, |
const SEntity::EntityPrefabType & | prefabType | ||
) |
Create a new SEntity object, using a prefab type
Definition at line 677 of file SO3Scene.cpp.
SLight * SO3::SScene::CreateLight | ( | const std::string & | newLightName | ) |
Create a new SLight object
Definition at line 980 of file SO3Scene.cpp.
SLineEntity * SO3::SScene::CreateLineEntity | ( | const std::string & | newLineEntityName, |
bool | dashed = false , |
||
bool | disableDepth = false |
||
) |
Create a new SLineEntity object
Definition at line 809 of file SO3Scene.cpp.
SMaterial * SO3::SScene::CreateMaterial | ( | const std::string & | groupname, |
const std::string & | matname, | ||
const bool & | loadedFromScript = false |
||
) |
Create a new scene material
Definition at line 1048 of file SO3Scene.cpp.
SNode * SO3::SScene::CreateNode | ( | const std::string & | newNodeName | ) |
Create a new SNode object
Definition at line 599 of file SO3Scene.cpp.
SNode * SO3::SScene::CreateNodeWithUniqueName | ( | const std::string & | basename | ) |
Create a new SNode object with a unique name.
Definition at line 611 of file SO3Scene.cpp.
SEntity * SO3::SScene::CreateOctahedron | ( | const std::string & | groupName, |
const std::string & | newEntityName, | ||
const float & | base, | ||
const float & | bottom, | ||
const float & | dist | ||
) |
Create an octahedron object
Definition at line 775 of file SO3Scene.cpp.
SParticleSystem * SO3::SScene::CreateParticleSystem | ( | const std::string & | newParticleSystemName, |
const std::string & | particleSystemTemplate | ||
) |
Create a new SParticleSystem object
Definition at line 963 of file SO3Scene.cpp.
SEntity * SO3::SScene::CreatePlane | ( | const std::string & | groupName, |
const std::string & | newEntityName, | ||
const SPointFloat & | sizev, | ||
const SPointInt & | seg, | ||
const SPointFloat & | uv | ||
) |
Create a plane object
Definition at line 727 of file SO3Scene.cpp.
SRenderToTexture * SO3::SScene::CreateRenderToTexture | ( | const std::string & | newRttName, |
SCamera * | povCamera | ||
) |
Create a new SRenderToTexture object
Definition at line 1014 of file SO3Scene.cpp.
Create a new SSkeleton object
Definition at line 927 of file SO3Scene.cpp.
SEntity * SO3::SScene::CreateSphere | ( | const std::string & | groupName, |
const std::string & | newEntityName, | ||
const float & | radius, | ||
const int & | rings, | ||
const int & | segments | ||
) |
Create a sphere object
Definition at line 743 of file SO3Scene.cpp.
STerrain * SO3::SScene::CreateTerrain | ( | const std::string & | name | ) |
Create a terrain
Definition at line 826 of file SO3Scene.cpp.
STexture * SO3::SScene::CreateTexture | ( | const std::string & | groupname, |
const std::string & | texname, | ||
const std::string & | path, | ||
const int & | w = 0 , |
||
const int & | h = 0 |
||
) |
Create a new scene texture
Definition at line 1186 of file SO3Scene.cpp.
STexture * SO3::SScene::CreateTexture | ( | const std::string & | groupname, |
const std::string & | texname, | ||
Ogre::Image | image | ||
) |
Definition at line 1219 of file SO3Scene.cpp.
SVirtualPointer * SO3::SScene::CreateVirtualPointer | ( | const std::string & | basename | ) |
Create a new SVirtualPointer object
Definition at line 639 of file SO3Scene.cpp.
|
protected |
Destroy all existing animations.
Definition at line 2052 of file SO3Scene.cpp.
|
protected |
Destroy all existing materials.
Definition at line 2076 of file SO3Scene.cpp.
|
protected |
Destroy all existing nodes.
Definition at line 2033 of file SO3Scene.cpp.
void SO3::SScene::DeleteAllTerrains | ( | ) |
Destroy all existing terrains.
Definition at line 876 of file SO3Scene.cpp.
|
protected |
Destroy all existing textures.
Definition at line 2094 of file SO3Scene.cpp.
void SO3::SScene::DeleteAnimation | ( | SAnim * | existingAnimation | ) |
Delete manually an sequence animation.
Definition at line 1344 of file SO3Scene.cpp.
void SO3::SScene::DeleteBone | ( | SBone * | existingBone | ) |
Delete an existing SBone object
Definition at line 958 of file SO3Scene.cpp.
void SO3::SScene::DeleteDynamicCubeMap | ( | SDynamicCubeMap * | existingDynamicCubeMap | ) |
Delete an existing SDynamicCubeMap object
Definition at line 1009 of file SO3Scene.cpp.
void SO3::SScene::DeleteDynamicReflectionMap | ( | SDynamicReflectionMap * | existingDynamicReflectionMap | ) |
Delete an existing SDynamicReflectionMap object
Definition at line 1043 of file SO3Scene.cpp.
void SO3::SScene::DeleteEntity | ( | SEntity * | existingEntity | ) |
Delete an existing SEntity object
Definition at line 791 of file SO3Scene.cpp.
void SO3::SScene::DeleteLight | ( | SLight * | existingLight | ) |
Delete an existing SLight object
Definition at line 992 of file SO3Scene.cpp.
void SO3::SScene::DeleteLineEntity | ( | SLineEntity * | existingLineEntity | ) |
Delete an existing SLineEntity object
Definition at line 821 of file SO3Scene.cpp.
void SO3::SScene::DeleteMaterial | ( | SMaterial * | material | ) |
Delete a scene material
Definition at line 1075 of file SO3Scene.cpp.
void SO3::SScene::DeleteNode | ( | SNode * | existingNode | ) |
Delete an existing SNode object
Definition at line 630 of file SO3Scene.cpp.
void SO3::SScene::DeleteParticleSystem | ( | SParticleSystem * | existingParticleSystem | ) |
Delete an existing SParticleSystem object
Definition at line 975 of file SO3Scene.cpp.
void SO3::SScene::DeleteRenderToTexture | ( | SRenderToTexture * | existingRenderToTexture | ) |
Delete an existing SRenderToTexture object
Definition at line 1026 of file SO3Scene.cpp.
void SO3::SScene::DeleteSkeleton | ( | SSkeleton * | existingSkeleton | ) |
Delete an existing SSkeleton object
Definition at line 941 of file SO3Scene.cpp.
void SO3::SScene::DeleteTerrain | ( | STerrain * | terrain | ) |
Delete a terrain
Definition at line 834 of file SO3Scene.cpp.
void SO3::SScene::DeleteTexture | ( | STexture * | texture | ) |
Delete a scene texture
Definition at line 1252 of file SO3Scene.cpp.
void SO3::SScene::DestroyInternalRessources | ( | ) |
Definition at line 1466 of file SO3Scene.cpp.
Ogre::ColourValue SO3::SScene::GetAmbientLight | ( | ) |
Definition at line 1478 of file SO3Scene.cpp.
SAnim * SO3::SScene::GetAnimation | ( | const std::string & | animationName | ) |
Definition at line 1360 of file SO3Scene.cpp.
SAnimMap SO3::SScene::GetAnimations | ( | ) | const |
Definition at line 1369 of file SO3Scene.cpp.
SEnvironment * SO3::SScene::GetEnvironment | ( | ) | const |
Definition at line 1415 of file SO3Scene.cpp.
SLightingManager * SO3::SScene::GetLightingManager | ( | ) |
Definition at line 1420 of file SO3Scene.cpp.
SMaterial * SO3::SScene::GetMaterial | ( | const std::string & | groupName, |
const std::string & | materialName, | ||
bool | searchOtherGroups = true |
||
) |
Return the SMaterial pointer corresponding to the name of an existing material handled by this class.
Definition at line 1099 of file SO3Scene.cpp.
const SGroupMaterialMap * SO3::SScene::GetMaterials | ( | ) |
Get all the materials groups identifiers, with their associated SMaterial.
Definition at line 1156 of file SO3Scene.cpp.
const SMaterialMap * SO3::SScene::GetMaterials | ( | const std::string & | groupName | ) |
Return all the SMaterial that belongs to a given group.
Definition at line 1147 of file SO3Scene.cpp.
SNode * SO3::SScene::GetNode | ( | const std::string & | nodeName | ) | const |
Return the SNode pointer corresponding to the name of an existing node handled by this class.
Definition at line 459 of file SO3Scene.cpp.
const SNodeMap & SO3::SScene::GetNodeList | ( | ) | const |
Get a list of the handled nodes.
Definition at line 588 of file SO3Scene.cpp.
unsigned short SO3::SScene::GetNumAnimations | ( | ) |
Definition at line 1355 of file SO3Scene.cpp.
Ogre::SceneManager * SO3::SScene::GetOgreScenePointer | ( | ) |
Definition at line 449 of file SO3Scene.cpp.
SRoot * SO3::SScene::GetParent | ( | ) |
Definition at line 1327 of file SO3Scene.cpp.
SPhysicWorld * SO3::SScene::GetPhysicsWorld | ( | ) |
Definition at line 1332 of file SO3Scene.cpp.
|
inline |
Definition at line 591 of file SO3Scene.h.
SNode * SO3::SScene::GetRootNode | ( | ) |
Return the scene root SNode.
Definition at line 454 of file SO3Scene.cpp.
SShadowManager * SO3::SScene::GetShadowManager | ( | ) |
Definition at line 1458 of file SO3Scene.cpp.
SShadowManager::ShadowQuality SO3::SScene::GetShadowQuality | ( | ) |
Get the current shadows quality for shadow preset
Definition at line 1442 of file SO3Scene.cpp.
SShadowManager::ShadowType SO3::SScene::GetShadowType | ( | ) |
Get the current shadows preset
Definition at line 1425 of file SO3Scene.cpp.
void SO3::SScene::GetSimpleRayCast | ( | Ogre::Ray | cameraRay, |
SEntity * | selected, | ||
SRaycastResult & | result | ||
) |
Definition at line 2182 of file SO3Scene.cpp.
void SO3::SScene::GetSimpleRayCast | ( | Ogre::Ray | cameraRay, |
SRaycastResult & | result | ||
) |
Definition at line 2232 of file SO3Scene.cpp.
const STerrainMap & SO3::SScene::GetTerrainList | ( | ) | const |
Gat a list of terrains
Definition at line 594 of file SO3Scene.cpp.
STexture * SO3::SScene::GetTexture | ( | const std::string & | groupName, |
const std::string & | texName | ||
) |
Return the STexture pointer corresponding to the name of an existing texture handled by this class.
Definition at line 1280 of file SO3Scene.cpp.
const SGroupTextureMap * SO3::SScene::GetTextures | ( | ) |
Get all the textures groups identifiers, with their associated STexture.
Definition at line 1305 of file SO3Scene.cpp.
const STextureMap * SO3::SScene::GetTextures | ( | const std::string & | groupName | ) |
Return all the STexture that belongs to a given group.
Definition at line 1296 of file SO3Scene.cpp.
bool SO3::SScene::IsMaterialExist | ( | SMaterial * | ) |
|
protected |
Get if a node alreay own the name int the list of handled nodes.
Definition at line 406 of file SO3Scene.cpp.
bool SO3::SScene::ParseResourceScript | ( | const std::string & | groupName, |
const std::string & | scriptName, | ||
const SResource::ResourceType & | scriptType | ||
) |
Definition at line 1916 of file SO3Scene.cpp.
void SO3::SScene::PostUpdate | ( | ) |
Post update called after the render frame
Definition at line 564 of file SO3Scene.cpp.
void SO3::SScene::PreUpdate | ( | ) |
Prepare scene for update
Definition at line 468 of file SO3Scene.cpp.
void SO3::SScene::RegisterViewport | ( | SViewPort * | viewport | ) |
Used to update components that need a viewport setting
Definition at line 1495 of file SO3Scene.cpp.
void SO3::SScene::ReloadEntities | ( | ) |
Reload all scene entities
Definition at line 796 of file SO3Scene.cpp.
void SO3::SScene::ReloadInternalRessources | ( | ) |
Definition at line 1472 of file SO3Scene.cpp.
void SO3::SScene::RemoveAnimation | ( | const std::string & | animationName | ) |
Remove a SAnim object from the list of handled animations.
Definition at line 1400 of file SO3Scene.cpp.
void SO3::SScene::RemoveAnimation | ( | SAnim * | existingAnimation | ) |
Remove a SAnim object from the list of handled animations.
Definition at line 1392 of file SO3Scene.cpp.
|
protected |
Remove a SScene object from the list of handled nodes.
Definition at line 435 of file SO3Scene.cpp.
|
protected |
Remove a SNode object from the list of handled nodes.
Definition at line 430 of file SO3Scene.cpp.
void SO3::SScene::SetAmbientLight | ( | const Ogre::ColourValue & | color | ) |
Definition at line 1483 of file SO3Scene.cpp.
void SO3::SScene::SetDebugDisplay | ( | const int & | color, |
const int & | posx, | ||
const int & | posy, | ||
const int & | width, | ||
const int & | height, | ||
const int & | charHeight | ||
) |
Definition at line 2153 of file SO3Scene.cpp.
void SO3::SScene::SetDebugEnable | ( | const bool & | enable | ) |
Definition at line 2141 of file SO3Scene.cpp.
void SO3::SScene::SetDebugText | ( | const std::string & | text | ) |
Definition at line 2172 of file SO3Scene.cpp.
void SO3::SScene::SetMaterialsPointSize | ( | Ogre::Real | size | ) |
Set point cloud size on al lscene materials
Definition at line 2325 of file SO3Scene.cpp.
void SO3::SScene::SetShadowQuality | ( | const SShadowManager::ShadowQuality & | quality | ) |
Set the current shadows quality for shadow preset
Definition at line 1450 of file SO3Scene.cpp.
void SO3::SScene::SetShadowType | ( | const SShadowManager::ShadowType & | shadowType | ) |
Set the current shadow preset
Definition at line 1433 of file SO3Scene.cpp.
|
protected |
UNLOAD COMPOSITOR
Definition at line 1644 of file SO3Scene.cpp.
|
protected |
UNLOAD MATERIALS
Definition at line 1848 of file SO3Scene.cpp.
|
protected |
UNLOAD MATERIALS
Definition at line 1576 of file SO3Scene.cpp.
|
protected |
UNLOAD Particle
Definition at line 1712 of file SO3Scene.cpp.
|
protected |
Definition at line 1558 of file SO3Scene.cpp.
|
protected |
Definition at line 1508 of file SO3Scene.cpp.
|
protected |
UNLOAD MATERIALS
Definition at line 1780 of file SO3Scene.cpp.
void SO3::SScene::UnregisterViewport | ( | SViewPort * | viewport | ) |
Used to update components that need a viewport setting
Definition at line 1502 of file SO3Scene.cpp.
void SO3::SScene::UpdateAllTerrains | ( | ) |
Update terrains parameteres
Definition at line 844 of file SO3Scene.cpp.
void SO3::SScene::UpdateCamera | ( | SViewPort * | viewport | ) |
Used to update components that need a camera setting
Definition at line 1489 of file SO3Scene.cpp.
void SO3::SScene::UpdateLightsShadowParameters | ( | ) |
Synchronize Lights shadow parameters with scene (to avoid some bad case in ogre shadows)
Definition at line 889 of file SO3Scene.cpp.
Ogre::String SO3::SScene::curMessage |
Definition at line 144 of file SO3Scene.h.
SEnvironment* SO3::SScene::environment |
Definition at line 145 of file SO3Scene.h.
bool SO3::SScene::hasSkyBox |
Definition at line 132 of file SO3Scene.h.
bool SO3::SScene::hasSkyDome |
Definition at line 134 of file SO3Scene.h.
bool SO3::SScene::hasSkyPlane |
Definition at line 136 of file SO3Scene.h.
Ogre::MaterialPtr SO3::SScene::materialCaster |
Definition at line 141 of file SO3Scene.h.
Ogre::MaterialPtr SO3::SScene::materialReceiver |
Definition at line 142 of file SO3Scene.h.
Ogre::MaterialManager* SO3::SScene::O3MaterialManager |
Definition at line 129 of file SO3Scene.h.
Ogre::MeshManager* SO3::SScene::O3MeshManager |
Definition at line 128 of file SO3Scene.h.
Ogre::SceneManager* SO3::SScene::O3SceneManager |
Definition at line 127 of file SO3Scene.h.
Ogre::SkeletonManager* SO3::SScene::O3SkeletonManager |
Definition at line 130 of file SO3Scene.h.
Ogre::TextureManager* SO3::SScene::O3TextureManager |
Definition at line 131 of file SO3Scene.h.
bool SO3::SScene::skyBoxDrawFirst |
Definition at line 133 of file SO3Scene.h.
Ogre::MaterialPtr SO3::SScene::skyBoxMat |
Definition at line 138 of file SO3Scene.h.
bool SO3::SScene::skyDomeDrawFirst |
Definition at line 135 of file SO3Scene.h.
Ogre::MaterialPtr SO3::SScene::skyDomeMat |
Definition at line 139 of file SO3Scene.h.
Ogre::Plane SO3::SScene::skyPlane |
Definition at line 143 of file SO3Scene.h.
bool SO3::SScene::skyPlaneDrawFirst |
Definition at line 137 of file SO3Scene.h.
Ogre::MaterialPtr SO3::SScene::skyPlaneMat |
Definition at line 140 of file SO3Scene.h.