#include <OgreSceneManagerEnumerator.h>
Public Types | |
enum | IlluminationRenderStage { IRS_NONE, IRS_RENDER_TO_TEXTURE, IRS_RENDER_RECEIVER_PASS } |
Describes the stage of rendering when performing complex illumination. More... | |
enum | SpecialCaseRenderQueueMode { SCRQM_INCLUDE, SCRQM_EXCLUDE } |
Enumeration of the possible modes allowed for processing the special case render queue list. More... | |
enum | PrefabType { PT_PLANE, PT_CUBE, PT_SPHERE } |
Prefab shapes available without loading a model. More... | |
typedef MapIterator< CameraList > | CameraIterator |
typedef MapIterator < AnimationList > | AnimationIterator |
typedef MapIterator < MovableObjectMap > | MovableObjectIterator |
Public Member Functions | |
DefaultSceneManager (const String &name) | |
~DefaultSceneManager () | |
const String & | getTypeName (void) const |
Retrieve the type name of this scene manager. | |
const String & | getName (void) const |
Mutex to protect the scene graph from simultaneous access from multiple threads. | |
virtual Camera * | createCamera (const String &name) |
Creates a camera to be managed by this scene manager. | |
virtual Camera * | getCamera (const String &name) const |
Retrieves a pointer to the named camera. | |
virtual bool | hasCamera (const String &name) const |
Returns whether a camera with the given name exists. | |
virtual void | destroyCamera (Camera *cam) |
Removes a camera from the scene. | |
virtual void | destroyCamera (const String &name) |
Removes a camera from the scene. | |
virtual void | destroyAllCameras (void) |
Removes (and destroys) all cameras from the scene. | |
virtual Light * | createLight (const String &name) |
Creates a light for use in the scene. | |
virtual Light * | getLight (const String &name) const |
Returns a pointer to the named Light which has previously been added to the scene. | |
virtual bool | hasLight (const String &name) const |
Returns whether a light with the given name exists. | |
virtual const PlaneList & | getLightClippingPlanes (Light *l) |
Retrieve a set of clipping planes for a given light. | |
virtual const RealRect & | getLightScissorRect (Light *l, const Camera *cam) |
Retrieve a scissor rectangle for a given light and camera. | |
virtual void | destroyLight (const String &name) |
Removes the named light from the scene and destroys it. | |
virtual void | destroyLight (Light *light) |
Removes the light from the scene and destroys it based on a pointer. | |
virtual void | destroyAllLights (void) |
Removes and destroys all lights in the scene. | |
virtual void | _notifyLightsDirty (void) |
Advance method to increase the lights dirty counter due lights changed. | |
ulong | _getLightsDirtyCounter (void) const |
Advance method to gets the lights dirty counter. | |
virtual const LightList & | _getLightsAffectingFrustum (void) const |
Get the list of lights which could be affecting the frustum. | |
virtual void | _populateLightList (const Vector3 &position, Real radius, LightList &destList) |
Populate a light list with an ordered set of the lights which are closest to the position specified. | |
virtual SceneNode * | createSceneNode (void) |
Creates an instance of a SceneNode. | |
virtual SceneNode * | createSceneNode (const String &name) |
Creates an instance of a SceneNode with a given name. | |
virtual void | destroySceneNode (const String &name) |
Destroys a SceneNode with a given name. | |
virtual void | destroySceneNode (SceneNode *sn) |
Destroys a SceneNode. | |
virtual SceneNode * | getRootSceneNode (void) |
Gets the SceneNode at the root of the scene hierarchy. | |
virtual SceneNode * | getSceneNode (const String &name) const |
Retrieves a named SceneNode from the scene graph. | |
virtual bool | hasSceneNode (const String &name) const |
Returns whether a scene node with the given name exists. | |
virtual Entity * | createEntity (const String &entityName, const String &meshName) |
Create an Entity (instance of a discrete mesh). | |
virtual Entity * | createEntity (const String &entityName, PrefabType ptype) |
Create an Entity (instance of a discrete mesh) from a range of prefab shapes. | |
virtual Entity * | getEntity (const String &name) const |
Retrieves a pointer to the named Entity. | |
virtual bool | hasEntity (const String &name) const |
Returns whether an entity with the given name exists. | |
virtual void | destroyEntity (Entity *ent) |
Removes & destroys an Entity from the SceneManager. | |
virtual void | destroyEntity (const String &name) |
Removes & destroys an Entity from the SceneManager by name. | |
virtual void | destroyAllEntities (void) |
Removes & destroys all Entities. | |
virtual ManualObject * | createManualObject (const String &name) |
Create a ManualObject, an object which you populate with geometry manually through a GL immediate-mode style interface. | |
virtual ManualObject * | getManualObject (const String &name) const |
Retrieves a pointer to the named ManualObject. | |
virtual bool | hasManualObject (const String &name) const |
Returns whether a manual object with the given name exists. | |
virtual void | destroyManualObject (ManualObject *obj) |
Removes & destroys a ManualObject from the SceneManager. | |
virtual void | destroyManualObject (const String &name) |
Removes & destroys a ManualObject from the SceneManager. | |
virtual void | destroyAllManualObjects (void) |
Removes & destroys all ManualObjects from the SceneManager. | |
virtual BillboardChain * | createBillboardChain (const String &name) |
Create a BillboardChain, an object which you can use to render a linked chain of billboards. | |
virtual BillboardChain * | getBillboardChain (const String &name) const |
Retrieves a pointer to the named BillboardChain. | |
virtual bool | hasBillboardChain (const String &name) const |
Returns whether a billboard chain with the given name exists. | |
virtual void | destroyBillboardChain (BillboardChain *obj) |
Removes & destroys a BillboardChain from the SceneManager. | |
virtual void | destroyBillboardChain (const String &name) |
Removes & destroys a BillboardChain from the SceneManager. | |
virtual void | destroyAllBillboardChains (void) |
Removes & destroys all BillboardChains from the SceneManager. | |
virtual RibbonTrail * | createRibbonTrail (const String &name) |
Create a RibbonTrail, an object which you can use to render a linked chain of billboards which follows one or more nodes. | |
virtual RibbonTrail * | getRibbonTrail (const String &name) const |
Retrieves a pointer to the named RibbonTrail. | |
virtual bool | hasRibbonTrail (const String &name) const |
Returns whether a ribbon trail with the given name exists. | |
virtual void | destroyRibbonTrail (RibbonTrail *obj) |
Removes & destroys a RibbonTrail from the SceneManager. | |
virtual void | destroyRibbonTrail (const String &name) |
Removes & destroys a RibbonTrail from the SceneManager. | |
virtual void | destroyAllRibbonTrails (void) |
Removes & destroys all RibbonTrails from the SceneManager. | |
virtual ParticleSystem * | createParticleSystem (const String &name, const String &templateName) |
Creates a particle system based on a template. | |
virtual ParticleSystem * | createParticleSystem (const String &name, size_t quota=500, const String &resourceGroup=ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME) |
Create a blank particle system. | |
virtual ParticleSystem * | getParticleSystem (const String &name) const |
Retrieves a pointer to the named ParticleSystem. | |
virtual bool | hasParticleSystem (const String &name) const |
Returns whether a particle system with the given name exists. | |
virtual void | destroyParticleSystem (ParticleSystem *obj) |
Removes & destroys a ParticleSystem from the SceneManager. | |
virtual void | destroyParticleSystem (const String &name) |
Removes & destroys a ParticleSystem from the SceneManager. | |
virtual void | destroyAllParticleSystems (void) |
Removes & destroys all ParticleSystems from the SceneManager. | |
virtual void | clearScene (void) |
Empties the entire scene, inluding all SceneNodes, Entities, Lights, BillboardSets etc. | |
void | setAmbientLight (const ColourValue &colour) |
Sets the ambient light level to be used for the scene. | |
const ColourValue & | getAmbientLight (void) const |
Returns the ambient light level to be used for the scene. | |
virtual void | prepareWorldGeometry (const String &filename) |
Sets the source of the 'world' geometry, i.e. | |
virtual void | prepareWorldGeometry (DataStreamPtr &stream, const String &typeName=StringUtil::BLANK) |
Sets the source of the 'world' geometry, i.e. | |
virtual void | setWorldGeometry (const String &filename) |
Sets the source of the 'world' geometry, i.e. | |
virtual void | setWorldGeometry (DataStreamPtr &stream, const String &typeName=StringUtil::BLANK) |
Sets the source of the 'world' geometry, i.e. | |
virtual size_t | estimateWorldGeometry (const String &filename) |
Estimate the number of loading stages required to load the named world geometry. | |
virtual size_t | estimateWorldGeometry (DataStreamPtr &stream, const String &typeName=StringUtil::BLANK) |
Estimate the number of loading stages required to load the named world geometry. | |
virtual ViewPoint | getSuggestedViewpoint (bool random=false) |
Asks the SceneManager to provide a suggested viewpoint from which the scene should be viewed. | |
virtual bool | setOption (const String &strKey, const void *pValue) |
Method for setting a specific option of the Scene Manager. | |
virtual bool | getOption (const String &strKey, void *pDestValue) |
Method for getting the value of an implementation-specific Scene Manager option. | |
virtual bool | hasOption (const String &strKey) const |
Method for verifying wether the scene manager has an implementation-specific option. | |
virtual bool | getOptionValues (const String &strKey, StringVector &refValueList) |
Method for getting all possible values for a specific option. | |
virtual bool | getOptionKeys (StringVector &refKeys) |
Method for getting all the implementation-specific options of the scene manager. | |
virtual void | _updateSceneGraph (Camera *cam) |
Internal method for updating the scene graph ie the tree of SceneNode instances managed by this class. | |
virtual void | _findVisibleObjects (Camera *cam, VisibleObjectsBoundsInfo *visibleBounds, bool onlyShadowCasters) |
Internal method which parses the scene to find visible objects to render. | |
virtual void | _applySceneAnimations (void) |
Internal method for applying animations to scene nodes. | |
virtual void | _renderVisibleObjects (void) |
Sends visible objects found in _findVisibleObjects to the rendering engine. | |
virtual void | _renderScene (Camera *camera, Viewport *vp, bool includeOverlays) |
Prompts the class to send its contents to the renderer. | |
virtual void | _queueSkiesForRendering (Camera *cam) |
Internal method for queueing the sky objects with the params as previously set through setSkyBox, setSkyPlane and setSkyDome. | |
virtual void | _setDestinationRenderSystem (RenderSystem *sys) |
Notifies the scene manager of its destination render system. | |
virtual void | setSkyPlane (bool enable, const Plane &plane, const String &materialName, Real scale=1000, Real tiling=10, bool drawFirst=true, Real bow=0, int xsegments=1, int ysegments=1, const String &groupName=ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME) |
Enables / disables a 'sky plane' i.e. | |
virtual void | _setSkyPlane (bool enable, const Plane &plane, const String &materialName, Real scale=1000, Real tiling=10, uint8 renderQueue=RENDER_QUEUE_SKIES_EARLY, Real bow=0, int xsegments=1, int ysegments=1, const String &groupName=ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME) |
Enables / disables a 'sky plane' i.e. | |
virtual bool | isSkyPlaneEnabled (void) const |
Return whether a key plane is enabled. | |
virtual SceneNode * | getSkyPlaneNode (void) const |
Get the sky plane node, if enabled. | |
virtual const SkyPlaneGenParameters & | getSkyPlaneGenParameters (void) const |
Get the parameters used to construct the SkyPlane, if any. | |
virtual void | setSkyBox (bool enable, const String &materialName, Real distance=5000, bool drawFirst=true, const Quaternion &orientation=Quaternion::IDENTITY, const String &groupName=ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME) |
Enables / disables a 'sky box' i.e. | |
virtual void | _setSkyBox (bool enable, const String &materialName, Real distance=5000, uint8 renderQueue=RENDER_QUEUE_SKIES_EARLY, const Quaternion &orientation=Quaternion::IDENTITY, const String &groupName=ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME) |
Enables / disables a 'sky box' i.e. | |
virtual bool | isSkyBoxEnabled (void) const |
Return whether a skybox is enabled. | |
virtual SceneNode * | getSkyBoxNode (void) const |
Get the skybox node, if enabled. | |
virtual const SkyBoxGenParameters & | getSkyBoxGenParameters (void) const |
Get the parameters used to generate the current SkyBox, if any. | |
virtual void | setSkyDome (bool enable, const String &materialName, Real curvature=10, Real tiling=8, Real distance=4000, bool drawFirst=true, const Quaternion &orientation=Quaternion::IDENTITY, int xsegments=16, int ysegments=16, int ysegments_keep=-1, const String &groupName=ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME) |
Enables / disables a 'sky dome' i.e. | |
virtual void | _setSkyDome (bool enable, const String &materialName, Real curvature=10, Real tiling=8, Real distance=4000, uint8 renderQueue=RENDER_QUEUE_SKIES_EARLY, const Quaternion &orientation=Quaternion::IDENTITY, int xsegments=16, int ysegments=16, int ysegments_keep=-1, const String &groupName=ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME) |
Enables / disables a 'sky dome' i.e. | |
virtual bool | isSkyDomeEnabled (void) const |
Return whether a skydome is enabled. | |
virtual SceneNode * | getSkyDomeNode (void) const |
Get the sky dome node, if enabled. | |
virtual const SkyDomeGenParameters & | getSkyDomeGenParameters (void) const |
Get the parameters used to generate the current SkyDome, if any. | |
void | setFog (FogMode mode=FOG_NONE, const ColourValue &colour=ColourValue::White, Real expDensity=0.001, Real linearStart=0.0, Real linearEnd=1.0) |
Sets the fogging mode applied to the scene. | |
virtual FogMode | getFogMode (void) const |
Returns the fog mode for the scene. | |
virtual const ColourValue & | getFogColour (void) const |
Returns the fog colour for the scene. | |
virtual Real | getFogStart (void) const |
Returns the fog start distance for the scene. | |
virtual Real | getFogEnd (void) const |
Returns the fog end distance for the scene. | |
virtual Real | getFogDensity (void) const |
Returns the fog density for the scene. | |
virtual BillboardSet * | createBillboardSet (const String &name, unsigned int poolSize=20) |
Creates a new BillboardSet for use with this scene manager. | |
virtual BillboardSet * | getBillboardSet (const String &name) const |
Retrieves a pointer to the named BillboardSet. | |
virtual bool | hasBillboardSet (const String &name) const |
Returns whether a billboardset with the given name exists. | |
virtual void | destroyBillboardSet (BillboardSet *set) |
Removes & destroys an BillboardSet from the SceneManager. | |
virtual void | destroyBillboardSet (const String &name) |
Removes & destroys an BillboardSet from the SceneManager by name. | |
virtual void | destroyAllBillboardSets (void) |
Removes & destroys all BillboardSets. | |
virtual void | setDisplaySceneNodes (bool display) |
Tells the SceneManager whether it should render the SceneNodes which make up the scene as well as the objects in the scene. | |
virtual bool | getDisplaySceneNodes (void) const |
Returns true if all scene nodes axis are to be displayed. | |
virtual Animation * | createAnimation (const String &name, Real length) |
Creates an animation which can be used to animate scene nodes. | |
virtual Animation * | getAnimation (const String &name) const |
Looks up an Animation object previously created with createAnimation. | |
virtual bool | hasAnimation (const String &name) const |
Returns whether an animation with the given name exists. | |
virtual void | destroyAnimation (const String &name) |
Destroys an Animation. | |
virtual void | destroyAllAnimations (void) |
Removes all animations created using this SceneManager. | |
virtual AnimationState * | createAnimationState (const String &animName) |
Create an AnimationState object for managing application of animations. | |
virtual AnimationState * | getAnimationState (const String &animName) const |
Retrieves animation state as previously created using createAnimationState. | |
virtual bool | hasAnimationState (const String &name) const |
Returns whether an animation state with the given name exists. | |
virtual void | destroyAnimationState (const String &name) |
Destroys an AnimationState. | |
virtual void | destroyAllAnimationStates (void) |
Removes all animation states created using this SceneManager. | |
virtual void | manualRender (RenderOperation *rend, Pass *pass, Viewport *vp, const Matrix4 &worldMatrix, const Matrix4 &viewMatrix, const Matrix4 &projMatrix, bool doBeginEndFrame=false) |
Manual rendering method, for advanced users only. | |
virtual RenderQueue * | getRenderQueue (void) |
Retrieves the internal render queue, for advanced users only. | |
virtual void | addRenderQueueListener (RenderQueueListener *newListener) |
Registers a new RenderQueueListener which will be notified when render queues are processed. | |
virtual void | removeRenderQueueListener (RenderQueueListener *delListener) |
Removes a listener previously added with addRenderQueueListener. | |
virtual void | addSpecialCaseRenderQueue (uint8 qid) |
Adds an item to the 'special case' render queue list. | |
virtual void | removeSpecialCaseRenderQueue (uint8 qid) |
Removes an item to the 'special case' render queue list. | |
virtual void | clearSpecialCaseRenderQueues (void) |
Clears the 'special case' render queue list. | |
virtual void | setSpecialCaseRenderQueueMode (SpecialCaseRenderQueueMode mode) |
Sets the way the special case render queue list is processed. | |
virtual SpecialCaseRenderQueueMode | getSpecialCaseRenderQueueMode (void) |
Gets the way the special case render queue list is processed. | |
virtual bool | isRenderQueueToBeProcessed (uint8 qid) |
Returns whether or not the named queue will be rendered based on the current 'special case' render queue list and mode. | |
virtual void | setWorldGeometryRenderQueue (uint8 qid) |
Sets the render queue that the world geometry (if any) this SceneManager renders will be associated with. | |
virtual uint8 | getWorldGeometryRenderQueue (void) |
Gets the render queue that the world geometry (if any) this SceneManager renders will be associated with. | |
virtual void | showBoundingBoxes (bool bShow) |
Allows all bounding boxes of scene nodes to be displayed. | |
virtual bool | getShowBoundingBoxes () const |
Returns if all bounding boxes of scene nodes are to be displayed. | |
virtual void | _notifyAutotrackingSceneNode (SceneNode *node, bool autoTrack) |
Internal method for notifying the manager that a SceneNode is autotracking. | |
virtual AxisAlignedBoxSceneQuery * | createAABBQuery (const AxisAlignedBox &box, unsigned long mask=0xFFFFFFFF) |
Creates an AxisAlignedBoxSceneQuery for this scene manager. | |
virtual SphereSceneQuery * | createSphereQuery (const Sphere &sphere, unsigned long mask=0xFFFFFFFF) |
Creates a SphereSceneQuery for this scene manager. | |
virtual PlaneBoundedVolumeListSceneQuery * | createPlaneBoundedVolumeQuery (const PlaneBoundedVolumeList &volumes, unsigned long mask=0xFFFFFFFF) |
Creates a PlaneBoundedVolumeListSceneQuery for this scene manager. | |
virtual RaySceneQuery * | createRayQuery (const Ray &ray, unsigned long mask=0xFFFFFFFF) |
Creates a RaySceneQuery for this scene manager. | |
virtual IntersectionSceneQuery * | createIntersectionQuery (unsigned long mask=0xFFFFFFFF) |
Creates an IntersectionSceneQuery for this scene manager. | |
virtual void | destroyQuery (SceneQuery *query) |
Destroys a scene query of any type. | |
CameraIterator | getCameraIterator (void) |
Returns a specialised MapIterator over all cameras in the scene. | |
AnimationIterator | getAnimationIterator (void) |
Returns a specialised MapIterator over all animations in the scene. | |
AnimationStateIterator | getAnimationStateIterator (void) |
Returns a specialised MapIterator over all animation states in the scene. | |
virtual void | setShadowTechnique (ShadowTechnique technique) |
Sets the general shadow technique to be used in this scene. | |
virtual ShadowTechnique | getShadowTechnique (void) const |
Gets the current shadow technique. | |
virtual void | setShowDebugShadows (bool debug) |
Enables / disables the rendering of debug information for shadows. | |
virtual bool | getShowDebugShadows (void) const |
Are debug shadows shown? | |
virtual void | setShadowColour (const ColourValue &colour) |
Set the colour used to modulate areas in shadow. | |
virtual const ColourValue & | getShadowColour (void) const |
Get the colour used to modulate areas in shadow. | |
virtual void | setShadowDirectionalLightExtrusionDistance (Real dist) |
Sets the distance a shadow volume is extruded for a directional light. | |
virtual Real | getShadowDirectionalLightExtrusionDistance (void) const |
Gets the distance a shadow volume is extruded for a directional light. | |
virtual void | setShadowFarDistance (Real distance) |
Sets the default maximum distance away from the camera that shadows will be visible. | |
virtual Real | getShadowFarDistance (void) const |
Gets the default maximum distance away from the camera that shadows will be visible. | |
virtual Real | getShadowFarDistanceSquared (void) const |
virtual void | setShadowIndexBufferSize (size_t size) |
Sets the maximum size of the index buffer used to render shadow primitives. | |
virtual size_t | getShadowIndexBufferSize (void) const |
Get the size of the shadow index buffer. | |
virtual void | setShadowTextureSize (unsigned short size) |
Set the size of the texture used for all texture-based shadows. | |
virtual void | setShadowTextureConfig (size_t shadowIndex, unsigned short width, unsigned short height, PixelFormat format) |
Set the detailed configuration for a shadow texture. | |
virtual void | setShadowTextureConfig (size_t shadowIndex, const ShadowTextureConfig &config) |
Set the detailed configuration for a shadow texture. | |
ConstShadowTextureConfigIterator | getShadowTextureConfigIterator () const |
Get an iterator over the current shadow texture settings. | |
virtual void | setShadowTexturePixelFormat (PixelFormat fmt) |
Set the pixel format of the textures used for texture-based shadows. | |
virtual void | setShadowTextureCount (size_t count) |
Set the number of textures allocated for texture-based shadows. | |
size_t | getShadowTextureCount (void) const |
Get the number of the textures allocated for texture based shadows. | |
void | setShadowTextureCountPerLightType (Light::LightTypes type, size_t count) |
Set the number of shadow textures a light type uses. | |
size_t | getShadowTextureCountPerLightType (Light::LightTypes type) const |
Get the number of shadow textures is assigned for the given light type. | |
virtual void | setShadowTextureSettings (unsigned short size, unsigned short count, PixelFormat fmt=PF_X8R8G8B8) |
Sets the size and count of textures used in texture-based shadows. | |
virtual const TexturePtr & | getShadowTexture (size_t shadowIndex) |
Get a reference to the shadow texture currently in use at the given index. | |
virtual void | setShadowDirLightTextureOffset (Real offset) |
Sets the proportional distance which a texture shadow which is generated from a directional light will be offset into the camera view to make best use of texture space. | |
virtual Real | getShadowDirLightTextureOffset (void) const |
Gets the proportional distance which a texture shadow which is generated from a directional light will be offset into the camera view to make best use of texture space. | |
virtual void | setShadowTextureFadeStart (Real fadeStart) |
Sets the proportional distance at which texture shadows begin to fade out. | |
virtual void | setShadowTextureFadeEnd (Real fadeEnd) |
Sets the proportional distance at which texture shadows finish to fading out. | |
virtual void | setShadowTextureSelfShadow (bool selfShadow) |
Sets whether or not texture shadows should attempt to self-shadow. | |
virtual bool | getShadowTextureSelfShadow (void) const |
Gets whether or not texture shadows attempt to self-shadow. | |
virtual void | setShadowTextureCasterMaterial (const String &name) |
Sets the default material to use for rendering shadow casters. | |
virtual void | setShadowTextureReceiverMaterial (const String &name) |
Sets the default material to use for rendering shadow receivers. | |
virtual void | setShadowCasterRenderBackFaces (bool bf) |
Sets whether or not shadow casters should be rendered into shadow textures using their back faces rather than their front faces. | |
virtual bool | getShadowCasterRenderBackFaces () const |
Gets whether or not shadow casters should be rendered into shadow textures using their back faces rather than their front faces. | |
virtual void | setShadowCameraSetup (const ShadowCameraSetupPtr &shadowSetup) |
Set the shadow camera setup to use for all lights which don't have their own shadow camera setup. | |
virtual const ShadowCameraSetupPtr & | getShadowCameraSetup () const |
Get the shadow camera setup in use for all lights which don't have their own shadow camera setup. | |
virtual void | setShadowUseInfiniteFarPlane (bool enable) |
Sets whether we should use an inifinite camera far plane when rendering stencil shadows. | |
virtual bool | isShadowTechniqueStencilBased (void) const |
Is there a stencil shadow based shadowing technique in use? | |
virtual bool | isShadowTechniqueTextureBased (void) const |
Is there a texture shadow based shadowing technique in use? | |
virtual bool | isShadowTechniqueModulative (void) const |
Is there a modulative shadowing technique in use? | |
virtual bool | isShadowTechniqueAdditive (void) const |
Is there an additive shadowing technique in use? | |
virtual bool | isShadowTechniqueIntegrated (void) const |
Is the shadow technique integrated into primary materials? | |
virtual bool | isShadowTechniqueInUse (void) const |
Is there any shadowing technique in use? | |
virtual void | setShadowUseLightClipPlanes (bool enabled) |
Sets whether when using a built-in additive shadow mode, user clip planes should be used to restrict light rendering. | |
virtual bool | getShadowUseLightClipPlanes () const |
Gets whether when using a built-in additive shadow mode, user clip planes should be used to restrict light rendering. | |
virtual void | addListener (Listener *s) |
Add a listener which will get called back on scene manager events. | |
virtual void | removeListener (Listener *s) |
Remove a listener. | |
virtual StaticGeometry * | createStaticGeometry (const String &name) |
Creates a StaticGeometry instance suitable for use with this SceneManager. | |
virtual StaticGeometry * | getStaticGeometry (const String &name) const |
Retrieve a previously created StaticGeometry instance. | |
virtual bool | hasStaticGeometry (const String &name) const |
Returns whether a static geometry instance with the given name exists. | |
virtual void | destroyStaticGeometry (StaticGeometry *geom) |
Remove & destroy a StaticGeometry instance. | |
virtual void | destroyStaticGeometry (const String &name) |
Remove & destroy a StaticGeometry instance. | |
virtual void | destroyAllStaticGeometry (void) |
Remove & destroy all StaticGeometry instances. | |
virtual InstancedGeometry * | createInstancedGeometry (const String &name) |
Creates a InstancedGeometry instance suitable for use with this SceneManager. | |
virtual InstancedGeometry * | getInstancedGeometry (const String &name) const |
Retrieve a previously created InstancedGeometry instance. | |
virtual void | destroyInstancedGeometry (InstancedGeometry *geom) |
Remove & destroy a InstancedGeometry instance. | |
virtual void | destroyInstancedGeometry (const String &name) |
Remove & destroy a InstancedGeometry instance. | |
virtual void | destroyAllInstancedGeometry (void) |
Remove & destroy all InstancedGeometry instances. | |
virtual MovableObject * | createMovableObject (const String &name, const String &typeName, const NameValuePairList *params=0) |
Create a movable object of the type specified. | |
virtual void | destroyMovableObject (const String &name, const String &typeName) |
Destroys a MovableObject with the name specified, of the type specified. | |
virtual void | destroyMovableObject (MovableObject *m) |
Destroys a MovableObject. | |
virtual void | destroyAllMovableObjectsByType (const String &typeName) |
Destroy all MovableObjects of a given type. | |
virtual void | destroyAllMovableObjects (void) |
Destroy all MovableObjects. | |
virtual MovableObject * | getMovableObject (const String &name, const String &typeName) const |
Get a reference to a previously created MovableObject. | |
virtual bool | hasMovableObject (const String &name, const String &typeName) const |
Returns whether a movable object instance with the given name exists. | |
virtual MovableObjectIterator | getMovableObjectIterator (const String &typeName) |
Get an iterator over all MovableObect instances of a given type. | |
virtual void | injectMovableObject (MovableObject *m) |
Inject a MovableObject instance created externally. | |
virtual void | extractMovableObject (const String &name, const String &typeName) |
Extract a previously injected MovableObject. | |
virtual void | extractMovableObject (MovableObject *m) |
Extract a previously injected MovableObject. | |
virtual void | extractAllMovableObjectsByType (const String &typeName) |
Extract all injected MovableObjects of a given type. | |
virtual void | setVisibilityMask (uint32 vmask) |
Sets a mask which is bitwise 'and'ed with objects own visibility masks to determine if the object is visible. | |
virtual uint32 | getVisibilityMask (void) |
Gets a mask which is bitwise 'and'ed with objects own visibility masks to determine if the object is visible. | |
uint32 | _getCombinedVisibilityMask (void) const |
Internal method for getting the combination between the global visibility mask and the per-viewport visibility mask. | |
virtual void | setFindVisibleObjects (bool find) |
Sets whether the SceneManager should search for visible objects, or whether they are being manually handled. | |
virtual bool | getFindVisibleObjects (void) |
Gets whether the SceneManager should search for visible objects, or whether they are being manually handled. | |
virtual void | setNormaliseNormalsOnScale (bool n) |
Set whether to automatically normalise normals on objects whenever they are scaled. | |
virtual bool | getNormaliseNormalsOnScale () const |
Get whether to automatically normalise normals on objects whenever they are scaled. | |
virtual void | setFlipCullingOnNegativeScale (bool n) |
Set whether to automatically flip the culling mode on objects whenever they are negatively scaled. | |
virtual bool | getFlipCullingOnNegativeScale () const |
Get whether to automatically flip the culling mode on objects whenever they are negatively scaled. | |
virtual void | _injectRenderWithPass (Pass *pass, Renderable *rend, bool shadowDerivation=true) |
Render something as if it came from the current queue. | |
virtual void | _suppressRenderStateChanges (bool suppress) |
Indicates to the SceneManager whether it should suppress changing the RenderSystem states when rendering objects. | |
virtual bool | _areRenderStateChangesSuppressed (void) const |
Are render state changes suppressed? | |
virtual const Pass * | _setPass (const Pass *pass, bool evenIfSuppressed=false, bool shadowDerivation=true) |
Internal method for setting up the renderstate for a rendering pass. | |
virtual void | _suppressShadows (bool suppress) |
Indicates to the SceneManager whether it should suppress the active shadow rendering technique until told otherwise. | |
virtual bool | _areShadowsSuppressed (void) const |
Are shadows suppressed? | |
virtual void | _renderQueueGroupObjects (RenderQueueGroup *group, QueuedRenderableCollection::OrganisationMode om) |
Render the objects in a given queue group. | |
void | setQueuedRenderableVisitor (SceneMgrQueuedRenderableVisitor *visitor) |
Advanced method for supplying an alternative visitor, used for parsing the render queues and sending the results to the renderer. | |
SceneMgrQueuedRenderableVisitor * | getQueuedRenderableVisitor (void) const |
Gets the current visitor object which processes queued renderables. | |
RenderSystem * | getDestinationRenderSystem () |
Get the rendersystem subclass to which the output of this Scene Manager gets sent. | |
Viewport * | getCurrentViewport (void) const |
Gets the current viewport being rendered (advanced use only, only valid during viewport update. | |
const VisibleObjectsBoundsInfo & | getVisibleObjectsBoundsInfo (const Camera *cam) const |
Returns a visibility boundary box for a specific camera. | |
const VisibleObjectsBoundsInfo & | getShadowCasterBoundsInfo (const Light *light, size_t iteration=0) const |
Returns the shadow caster AAB for a specific light-camera combination. | |
virtual void | setCameraRelativeRendering (bool rel) |
Set whether to use camera-relative co-ordinates when rendering, ie to always place the camera at the origin and move the world around it. | |
virtual bool | getCameraRelativeRendering () const |
Get whether to use camera-relative co-ordinates when rendering, ie to always place the camera at the origin and move the world around it. | |
void * | operator new (size_t sz, const char *file, int line, const char *func) |
operator new, with debug line info | |
void * | operator new (size_t sz) |
void * | operator new (size_t sz, void *ptr) |
placement operator new | |
void * | operator new[] (size_t sz, const char *file, int line, const char *func) |
array operator new, with debug line info | |
void * | operator new[] (size_t sz) |
void | operator delete (void *ptr) |
void | operator delete (void *ptr, void *) |
void | operator delete (void *ptr, const char *, int, const char *) |
void | operator delete[] (void *ptr) |
void | operator delete[] (void *ptr, const char *, int, const char *) |
Static Public Attributes | |
static uint32 | WORLD_GEOMETRY_TYPE_MASK |
Query type mask which will be used for world geometry. | |
static uint32 | ENTITY_TYPE_MASK |
Query type mask which will be used for entities. | |
static uint32 | FX_TYPE_MASK |
Query type mask which will be used for effects like billboardsets / particle systems. | |
static uint32 | STATICGEOMETRY_TYPE_MASK |
Query type mask which will be used for StaticGeometry. | |
static uint32 | LIGHT_TYPE_MASK |
Query type mask which will be used for lights. | |
static uint32 | FRUSTUM_TYPE_MASK |
Query type mask which will be used for frusta and cameras. | |
static uint32 | USER_TYPE_MASK_LIMIT |
User type mask limit. | |
Protected Types | |
enum | BoxPlane { BP_FRONT = 0, BP_BACK = 1, BP_LEFT = 2, BP_RIGHT = 3, BP_UP = 4, BP_DOWN = 5 } |
typedef std::map< String, Camera * > | CameraList |
typedef std::map< String, StaticGeometry * > | StaticGeometryList |
typedef std::map< String, InstancedGeometry * > | InstancedGeometryList |
typedef std::map< String, SceneNode * > | SceneNodeList |
typedef std::set< SceneNode * > | AutoTrackingSceneNodes |
Autotracking scene nodes. | |
typedef std::set< uint8 > | SpecialCaseRenderQueueList |
typedef std::map< const Camera *, VisibleObjectsBoundsInfo > | CamVisibleObjectsMap |
Visible objects bounding box list. | |
typedef std::map< const Camera *, const Light * > | ShadowCamLightMapping |
ShadowCamera to light mapping. | |
typedef std::vector< LightInfo > | LightInfoList |
typedef std::map< String, MovableObject * > | MovableObjectMap |
typedef std::map< String, MovableObjectCollection * > | MovableObjectCollectionMap |
typedef std::map< String, Animation * > | AnimationList |
Storage of animations, lookup by name. | |
typedef std::vector < RenderQueueListener * > | RenderQueueListenerList |
typedef std::vector< Listener * > | ListenerList |
typedef std::vector< Camera * > | ShadowTextureCameraList |
typedef std::map< Light *, LightClippingInfo > | LightClippingInfoMap |
typedef std::vector < ShadowCaster * > | ShadowCasterList |
Protected Member Functions | |
virtual SceneNode * | createSceneNodeImpl (void) |
Subclasses can override this to ensure their specialised SceneNode is used. | |
virtual SceneNode * | createSceneNodeImpl (const String &name) |
Subclasses can override this to ensure their specialised SceneNode is used. | |
MovableObjectCollection * | getMovableObjectCollection (const String &typeName) |
Gets the movable object collection for the given type name. | |
const MovableObjectCollection * | getMovableObjectCollection (const String &typeName) const |
Gets the movable object collection for the given type name. | |
virtual void | initRenderQueue (void) |
Mutex over the collection of MovableObject types. | |
virtual const Pass * | deriveShadowCasterPass (const Pass *pass) |
Internal method for turning a regular pass into a shadow caster pass. | |
virtual const Pass * | deriveShadowReceiverPass (const Pass *pass) |
Internal method for turning a regular pass into a shadow receiver pass. | |
virtual bool | validatePassForRendering (const Pass *pass) |
Internal method to validate whether a Pass should be allowed to render. | |
virtual bool | validateRenderableForRendering (const Pass *pass, const Renderable *rend) |
Internal method to validate whether a Renderable should be allowed to render. | |
virtual MeshPtr | createSkyboxPlane (BoxPlane bp, Real distance, const Quaternion &orientation, const String &groupName) |
virtual MeshPtr | createSkydomePlane (BoxPlane bp, Real curvature, Real tiling, Real distance, const Quaternion &orientation, int xsegments, int ysegments, int ySegmentsToKeep, const String &groupName) |
virtual void | useRenderableViewProjMode (const Renderable *pRend) |
Internal method used by _renderSingleObject to deal with renderables which override the camera's own view / projection materices. | |
virtual void | resetViewProjMode (void) |
Internal method used by _renderSingleObject to deal with renderables which override the camera's own view / projection matrices. | |
virtual bool | fireRenderQueueStarted (uint8 id, const String &invocation) |
Internal method for firing the queue start event, returns true if queue is to be skipped. | |
virtual bool | fireRenderQueueEnded (uint8 id, const String &invocation) |
Internal method for firing the queue end event, returns true if queue is to be repeated. | |
virtual void | fireShadowTexturesUpdated (size_t numberOfShadowTextures) |
Internal method for firing the texture shadows updated event. | |
virtual void | fireShadowTexturesPreCaster (Light *light, Camera *camera, size_t iteration) |
Internal method for firing the pre caster texture shadows event. | |
virtual void | fireShadowTexturesPreReceiver (Light *light, Frustum *f) |
Internal method for firing the pre receiver texture shadows event. | |
virtual void | firePreFindVisibleObjects (Viewport *v) |
Internal method for firing find visible objects event. | |
virtual void | firePostFindVisibleObjects (Viewport *v) |
Internal method for firing find visible objects event. | |
virtual void | setViewport (Viewport *vp) |
Internal method for setting the destination viewport for the next render. | |
virtual void | renderVisibleObjectsDefaultSequence (void) |
Internal method for rendering all objects using the default queue sequence. | |
virtual void | renderVisibleObjectsCustomSequence (RenderQueueInvocationSequence *s) |
Internal method for rendering all objects using a custom queue sequence. | |
virtual void | prepareRenderQueue (void) |
Internal method for preparing the render queue for use with each render. | |
virtual void | renderSingleObject (Renderable *rend, const Pass *pass, bool lightScissoringClipping, bool doLightIteration, const LightList *manualLightList=0) |
Internal utility method for rendering a single object. | |
virtual AutoParamDataSource * | createAutoParamDataSource (void) const |
Internal method for creating the AutoParamDataSource instance. | |
virtual void | findLightsAffectingFrustum (const Camera *camera) |
Internal method for locating a list of lights which could be affecting the frustum. | |
virtual void | initShadowVolumeMaterials (void) |
Internal method for setting up materials for shadows. | |
virtual void | ensureShadowTexturesCreated () |
Internal method for creating shadow textures (texture-based shadows). | |
virtual void | destroyShadowTextures (void) |
Internal method for destroying shadow textures (texture-based shadows). | |
virtual void | prepareShadowTextures (Camera *cam, Viewport *vp) |
Internal method for preparing shadow textures ready for use in a regular render. | |
virtual void | renderShadowVolumesToStencil (const Light *light, const Camera *cam, bool calcScissor) |
Internal method for rendering all the objects for a given light into the stencil buffer. | |
virtual void | setShadowVolumeStencilState (bool secondpass, bool zfail, bool twosided) |
Internal utility method for setting stencil state for rendering shadow volumes. | |
void | renderShadowVolumeObjects (ShadowCaster::ShadowRenderableListIterator iShadowRenderables, Pass *pass, const LightList *manualLightList, unsigned long flags, bool secondpass, bool zfail, bool twosided) |
Render a set of shadow renderables. | |
virtual const ShadowCasterList & | findShadowCastersForLight (const Light *light, const Camera *camera) |
Internal method for locating a list of shadow casters which could be affecting the frustum for a given light. | |
virtual void | renderBasicQueueGroupObjects (RenderQueueGroup *pGroup, QueuedRenderableCollection::OrganisationMode om) |
Render a group in the ordinary way. | |
virtual void | renderAdditiveStencilShadowedQueueGroupObjects (RenderQueueGroup *group, QueuedRenderableCollection::OrganisationMode om) |
Render a group with the added complexity of additive stencil shadows. | |
virtual void | renderModulativeStencilShadowedQueueGroupObjects (RenderQueueGroup *group, QueuedRenderableCollection::OrganisationMode om) |
Render a group with the added complexity of modulative stencil shadows. | |
virtual void | renderTextureShadowCasterQueueGroupObjects (RenderQueueGroup *group, QueuedRenderableCollection::OrganisationMode om) |
Render a group rendering only shadow casters. | |
virtual void | renderTextureShadowReceiverQueueGroupObjects (RenderQueueGroup *group, QueuedRenderableCollection::OrganisationMode om) |
Render a group rendering only shadow receivers. | |
virtual void | renderModulativeTextureShadowedQueueGroupObjects (RenderQueueGroup *group, QueuedRenderableCollection::OrganisationMode om) |
Render a group with the added complexity of modulative texture shadows. | |
virtual void | renderAdditiveTextureShadowedQueueGroupObjects (RenderQueueGroup *group, QueuedRenderableCollection::OrganisationMode om) |
Render a group with additive texture shadows. | |
virtual void | renderObjects (const QueuedRenderableCollection &objs, QueuedRenderableCollection::OrganisationMode om, bool lightScissoringClipping, bool doLightIteration, const LightList *manualLightList=0) |
Render a set of objects, see renderSingleObject for param definitions. | |
virtual void | renderTransparentShadowCasterObjects (const QueuedRenderableCollection &objs, QueuedRenderableCollection::OrganisationMode om, bool lightScissoringClipping, bool doLightIteration, const LightList *manualLightList=0) |
Render those objects in the transparent pass list which have shadow casting forced on. | |
virtual void | updateRenderQueueSplitOptions (void) |
Update the state of the global render queue splitting based on a shadow option change. | |
virtual void | updateRenderQueueGroupSplitOptions (RenderQueueGroup *group, bool suppressShadows, bool suppressRenderState) |
Update the state of the render queue group splitting based on a shadow option change. | |
virtual ClipResult | buildAndSetScissor (const LightList &ll, const Camera *cam) |
Set up a scissor rectangle from a group of lights. | |
virtual void | buildScissor (const Light *l, const Camera *cam, RealRect &rect) |
Update a scissor rectangle from a single light. | |
virtual void | resetScissor () |
virtual ClipResult | buildAndSetLightClip (const LightList &ll) |
Build a set of user clip planes from a single non-directional light. | |
virtual void | buildLightClip (const Light *l, PlaneList &planes) |
virtual void | resetLightClip () |
virtual void | checkCachedLightClippingInfo () |
Protected Attributes | |
String | mName |
Instance name. | |
RenderQueue * | mRenderQueue |
Queue of objects for rendering. | |
bool | mLastRenderQueueInvocationCustom |
ColourValue | mAmbientLight |
Current ambient light, cached for RenderSystem. | |
RenderSystem * | mDestRenderSystem |
The rendering system to send the scene to. | |
CameraList | mCameras |
Central list of cameras - for easy memory management and lookup. | |
StaticGeometryList | mStaticGeometryList |
InstancedGeometryList | mInstancedGeometryList |
SceneNodeList | mSceneNodes |
Central list of SceneNodes - for easy memory management. | |
Camera * | mCameraInProgress |
Camera in progress. | |
Viewport * | mCurrentViewport |
Current Viewport. | |
SceneNode * | mSceneRoot |
Root scene node. | |
AutoTrackingSceneNodes | mAutoTrackingSceneNodes |
Entity * | mSkyPlaneEntity |
Entity * | mSkyDomeEntity [5] |
ManualObject * | mSkyBoxObj |
SceneNode * | mSkyPlaneNode |
SceneNode * | mSkyDomeNode |
SceneNode * | mSkyBoxNode |
bool | mSkyPlaneEnabled |
uint8 | mSkyPlaneRenderQueue |
Plane | mSkyPlane |
SkyPlaneGenParameters | mSkyPlaneGenParameters |
bool | mSkyBoxEnabled |
uint8 | mSkyBoxRenderQueue |
Quaternion | mSkyBoxOrientation |
SkyBoxGenParameters | mSkyBoxGenParameters |
bool | mSkyDomeEnabled |
uint8 | mSkyDomeRenderQueue |
Quaternion | mSkyDomeOrientation |
SkyDomeGenParameters | mSkyDomeGenParameters |
FogMode | mFogMode |
ColourValue | mFogColour |
Real | mFogStart |
Real | mFogEnd |
Real | mFogDensity |
SpecialCaseRenderQueueList | mSpecialCaseQueueList |
SpecialCaseRenderQueueMode | mSpecialCaseQueueMode |
uint8 | mWorldGeometryRenderQueue |
unsigned long | mLastFrameNumber |
Matrix4 | mTempXform [256] |
bool | mResetIdentityView |
bool | mResetIdentityProj |
bool | mNormaliseNormalsOnScale |
bool | mFlipCullingOnNegativeScale |
CullingMode | mPassCullingMode |
CamVisibleObjectsMap | mCamVisibleObjectsMap |
ShadowCamLightMapping | mShadowCamLightMapping |
size_t | mShadowTextureCountPerType [3] |
Array defining shadow count per light type. | |
std::vector< size_t > | mShadowTextureIndexLightList |
Array defining shadow texture index in light list. | |
LightList | mLightsAffectingFrustum |
LightInfoList | mCachedLightInfos |
LightInfoList | mTestLightInfos |
ulong | mLightsDirtyCounter |
MovableObjectCollectionMap | mMovableObjectCollectionMap |
Pass * | mShadowCasterPlainBlackPass |
A pass designed to let us render shadow colour on white for texture shadows. | |
Pass * | mShadowReceiverPass |
A pass designed to let us render shadow receivers for texture shadows. | |
bool | mDisplayNodes |
AnimationList | mAnimationsList |
AnimationStateSet | mAnimationStates |
RenderQueueListenerList | mRenderQueueListeners |
ListenerList | mListeners |
bool | mShowBoundingBoxes |
Flag that indicates if all of the scene node's bounding boxes should be shown as a wireframe. | |
AutoParamDataSource * | mAutoParamDataSource |
Utility class for calculating automatic parameters for gpu programs. | |
ShadowTechnique | mShadowTechnique |
bool | mDebugShadows |
ColourValue | mShadowColour |
Pass * | mShadowDebugPass |
Pass * | mShadowStencilPass |
Pass * | mShadowModulativePass |
bool | mShadowMaterialInitDone |
HardwareIndexBufferSharedPtr | mShadowIndexBuffer |
size_t | mShadowIndexBufferSize |
Rectangle2D * | mFullScreenQuad |
Real | mShadowDirLightExtrudeDist |
IlluminationRenderStage | mIlluminationStage |
ShadowTextureConfigList | mShadowTextureConfigList |
bool | mShadowTextureConfigDirty |
ShadowTextureList | mShadowTextures |
TexturePtr | mNullShadowTexture |
ShadowTextureCameraList | mShadowTextureCameras |
Texture * | mCurrentShadowTexture |
bool | mShadowUseInfiniteFarPlane |
bool | mShadowCasterRenderBackFaces |
bool | mShadowAdditiveLightClip |
LightClippingInfoMap | mLightClippingInfoMap |
unsigned long | mLightClippingInfoMapFrameNumber |
ShadowCameraSetupPtr | mDefaultShadowCameraSetup |
default shadow camera setup | |
ShadowCasterList | mShadowCasterList |
SphereSceneQuery * | mShadowCasterSphereQuery |
AxisAlignedBoxSceneQuery * | mShadowCasterAABBQuery |
Real | mDefaultShadowFarDist |
Real | mDefaultShadowFarDistSquared |
Real | mShadowTextureOffset |
Real | mShadowTextureFadeStart |
Real | mShadowTextureFadeEnd |
bool | mShadowTextureSelfShadow |
Pass * | mShadowTextureCustomCasterPass |
Pass * | mShadowTextureCustomReceiverPass |
String | mShadowTextureCustomCasterVertexProgram |
String | mShadowTextureCustomReceiverVertexProgram |
String | mShadowTextureCustomReceiverFragmentProgram |
GpuProgramParametersSharedPtr | mShadowTextureCustomCasterVPParams |
GpuProgramParametersSharedPtr | mShadowTextureCustomReceiverVPParams |
GpuProgramParametersSharedPtr | mShadowTextureCustomReceiverFPParams |
uint32 | mVisibilityMask |
Visibility mask used to show / hide objects. | |
bool | mFindVisibleObjects |
bool | mSuppressRenderStateChanges |
Suppress render state changes? | |
bool | mSuppressShadows |
Suppress shadows? | |
GpuProgramParametersSharedPtr | mInfiniteExtrusionParams |
GpuProgramParametersSharedPtr | mFiniteExtrusionParams |
ShadowCasterSceneQueryListener * | mShadowCasterQueryListener |
SceneMgrQueuedRenderableVisitor * | mActiveQueuedRenderableVisitor |
The active renderable visitor class - subclasses could override this. | |
SceneMgrQueuedRenderableVisitor | mDefaultQueuedRenderableVisitor |
Storage for default renderable visitor. | |
bool | mCameraRelativeRendering |
Whether to use camera-relative rendering. | |
Matrix4 | mCachedViewMatrix |
Vector3 | mCameraRelativePosition |
Friends | |
class | SceneMgrQueuedRenderableVisitor |
Allow visitor helper to access protected methods. |
Definition at line 54 of file OgreSceneManagerEnumerator.h.
typedef std::map<String, Camera* > Ogre::SceneManager::CameraList [protected, inherited] |
Definition at line 397 of file OgreSceneManager.h.
typedef std::map<String, StaticGeometry* > Ogre::SceneManager::StaticGeometryList [protected, inherited] |
Definition at line 403 of file OgreSceneManager.h.
typedef std::map<String, InstancedGeometry* > Ogre::SceneManager::InstancedGeometryList [protected, inherited] |
Definition at line 405 of file OgreSceneManager.h.
typedef std::map<String, SceneNode*> Ogre::SceneManager::SceneNodeList [protected, inherited] |
Definition at line 408 of file OgreSceneManager.h.
typedef std::set<SceneNode*> Ogre::SceneManager::AutoTrackingSceneNodes [protected, inherited] |
typedef std::set<uint8> Ogre::SceneManager::SpecialCaseRenderQueueList [protected, inherited] |
Definition at line 463 of file OgreSceneManager.h.
typedef std::map< const Camera*, VisibleObjectsBoundsInfo> Ogre::SceneManager::CamVisibleObjectsMap [protected, inherited] |
Visible objects bounding box list.
Definition at line 486 of file OgreSceneManager.h.
typedef std::map< const Camera*, const Light* > Ogre::SceneManager::ShadowCamLightMapping [protected, inherited] |
typedef std::vector<LightInfo> Ogre::SceneManager::LightInfoList [protected, inherited] |
Definition at line 519 of file OgreSceneManager.h.
typedef std::map<String, MovableObject*> Ogre::SceneManager::MovableObjectMap [protected, inherited] |
Definition at line 526 of file OgreSceneManager.h.
typedef std::map<String, MovableObjectCollection*> Ogre::SceneManager::MovableObjectCollectionMap [protected, inherited] |
Definition at line 533 of file OgreSceneManager.h.
typedef std::map<String, Animation*> Ogre::SceneManager::AnimationList [protected, inherited] |
typedef std::vector<RenderQueueListener*> Ogre::SceneManager::RenderQueueListenerList [protected, inherited] |
Definition at line 638 of file OgreSceneManager.h.
typedef std::vector<Listener*> Ogre::SceneManager::ListenerList [protected, inherited] |
Definition at line 641 of file OgreSceneManager.h.
typedef std::vector<Camera*> Ogre::SceneManager::ShadowTextureCameraList [protected, inherited] |
Definition at line 715 of file OgreSceneManager.h.
typedef std::map<Light*, LightClippingInfo> Ogre::SceneManager::LightClippingInfoMap [protected, inherited] |
Definition at line 731 of file OgreSceneManager.h.
typedef std::vector<ShadowCaster*> Ogre::SceneManager::ShadowCasterList [protected, inherited] |
Definition at line 787 of file OgreSceneManager.h.
typedef MapIterator<CameraList> Ogre::SceneManager::CameraIterator [inherited] |
Definition at line 2401 of file OgreSceneManager.h.
typedef MapIterator<AnimationList> Ogre::SceneManager::AnimationIterator [inherited] |
Definition at line 2402 of file OgreSceneManager.h.
typedef MapIterator<MovableObjectMap> Ogre::SceneManager::MovableObjectIterator [inherited] |
Definition at line 2907 of file OgreSceneManager.h.
enum Ogre::SceneManager::IlluminationRenderStage [inherited] |
Describes the stage of rendering when performing complex illumination.
IRS_NONE | No special illumination stage. |
IRS_RENDER_TO_TEXTURE | Render to texture stage, used for texture based shadows. |
IRS_RENDER_RECEIVER_PASS | Render from shadow texture to receivers stage. |
Definition at line 192 of file OgreSceneManager.h.
enum Ogre::SceneManager::SpecialCaseRenderQueueMode [inherited] |
Enumeration of the possible modes allowed for processing the special case render queue list.
SCRQM_INCLUDE | Render only the queues in the special case list. |
SCRQM_EXCLUDE | Render all except the queues in the special case list. |
Definition at line 206 of file OgreSceneManager.h.
enum Ogre::SceneManager::BoxPlane [protected, inherited] |
Definition at line 593 of file OgreSceneManager.h.
enum Ogre::SceneManager::PrefabType [inherited] |
Prefab shapes available without loading a model.
Definition at line 1215 of file OgreSceneManager.h.
Ogre::DefaultSceneManager::DefaultSceneManager | ( | const String & | name | ) |
Ogre::DefaultSceneManager::~DefaultSceneManager | ( | ) |
const String& Ogre::DefaultSceneManager::getTypeName | ( | void | ) | const [virtual] |
Retrieve the type name of this scene manager.
Implements Ogre::SceneManager.
virtual SceneNode* Ogre::SceneManager::createSceneNodeImpl | ( | void | ) | [protected, virtual, inherited] |
Subclasses can override this to ensure their specialised SceneNode is used.
virtual SceneNode* Ogre::SceneManager::createSceneNodeImpl | ( | const String & | name | ) | [protected, virtual, inherited] |
Subclasses can override this to ensure their specialised SceneNode is used.
MovableObjectCollection* Ogre::SceneManager::getMovableObjectCollection | ( | const String & | typeName | ) | [protected, inherited] |
Gets the movable object collection for the given type name.
const MovableObjectCollection* Ogre::SceneManager::getMovableObjectCollection | ( | const String & | typeName | ) | const [protected, inherited] |
Gets the movable object collection for the given type name.
virtual void Ogre::SceneManager::initRenderQueue | ( | void | ) | [protected, virtual, inherited] |
Mutex over the collection of MovableObject types.
Internal method for initialising the render queue.
virtual const Pass* Ogre::SceneManager::deriveShadowCasterPass | ( | const Pass * | pass | ) | [protected, virtual, inherited] |
Internal method for turning a regular pass into a shadow caster pass.
virtual const Pass* Ogre::SceneManager::deriveShadowReceiverPass | ( | const Pass * | pass | ) | [protected, virtual, inherited] |
Internal method for turning a regular pass into a shadow receiver pass.
virtual bool Ogre::SceneManager::validatePassForRendering | ( | const Pass * | pass | ) | [protected, virtual, inherited] |
Internal method to validate whether a Pass should be allowed to render.
virtual bool Ogre::SceneManager::validateRenderableForRendering | ( | const Pass * | pass, | |
const Renderable * | rend | |||
) | [protected, virtual, inherited] |
Internal method to validate whether a Renderable should be allowed to render.
virtual MeshPtr Ogre::SceneManager::createSkyboxPlane | ( | BoxPlane | bp, | |
Real | distance, | |||
const Quaternion & | orientation, | |||
const String & | groupName | |||
) | [protected, virtual, inherited] |
virtual MeshPtr Ogre::SceneManager::createSkydomePlane | ( | BoxPlane | bp, | |
Real | curvature, | |||
Real | tiling, | |||
Real | distance, | |||
const Quaternion & | orientation, | |||
int | xsegments, | |||
int | ysegments, | |||
int | ySegmentsToKeep, | |||
const String & | groupName | |||
) | [protected, virtual, inherited] |
virtual void Ogre::SceneManager::useRenderableViewProjMode | ( | const Renderable * | pRend | ) | [protected, virtual, inherited] |
Internal method used by _renderSingleObject to deal with renderables which override the camera's own view / projection materices.
virtual void Ogre::SceneManager::resetViewProjMode | ( | void | ) | [protected, virtual, inherited] |
Internal method used by _renderSingleObject to deal with renderables which override the camera's own view / projection matrices.
virtual bool Ogre::SceneManager::fireRenderQueueStarted | ( | uint8 | id, | |
const String & | invocation | |||
) | [protected, virtual, inherited] |
Internal method for firing the queue start event, returns true if queue is to be skipped.
virtual bool Ogre::SceneManager::fireRenderQueueEnded | ( | uint8 | id, | |
const String & | invocation | |||
) | [protected, virtual, inherited] |
Internal method for firing the queue end event, returns true if queue is to be repeated.
virtual void Ogre::SceneManager::fireShadowTexturesUpdated | ( | size_t | numberOfShadowTextures | ) | [protected, virtual, inherited] |
Internal method for firing the texture shadows updated event.
virtual void Ogre::SceneManager::fireShadowTexturesPreCaster | ( | Light * | light, | |
Camera * | camera, | |||
size_t | iteration | |||
) | [protected, virtual, inherited] |
Internal method for firing the pre caster texture shadows event.
virtual void Ogre::SceneManager::fireShadowTexturesPreReceiver | ( | Light * | light, | |
Frustum * | f | |||
) | [protected, virtual, inherited] |
Internal method for firing the pre receiver texture shadows event.
virtual void Ogre::SceneManager::firePreFindVisibleObjects | ( | Viewport * | v | ) | [protected, virtual, inherited] |
Internal method for firing find visible objects event.
virtual void Ogre::SceneManager::firePostFindVisibleObjects | ( | Viewport * | v | ) | [protected, virtual, inherited] |
Internal method for firing find visible objects event.
virtual void Ogre::SceneManager::setViewport | ( | Viewport * | vp | ) | [protected, virtual, inherited] |
Internal method for setting the destination viewport for the next render.
virtual void Ogre::SceneManager::renderVisibleObjectsDefaultSequence | ( | void | ) | [protected, virtual, inherited] |
Internal method for rendering all objects using the default queue sequence.
virtual void Ogre::SceneManager::renderVisibleObjectsCustomSequence | ( | RenderQueueInvocationSequence * | s | ) | [protected, virtual, inherited] |
Internal method for rendering all objects using a custom queue sequence.
virtual void Ogre::SceneManager::prepareRenderQueue | ( | void | ) | [protected, virtual, inherited] |
Internal method for preparing the render queue for use with each render.
virtual void Ogre::SceneManager::renderSingleObject | ( | Renderable * | rend, | |
const Pass * | pass, | |||
bool | lightScissoringClipping, | |||
bool | doLightIteration, | |||
const LightList * | manualLightList = 0 | |||
) | [protected, virtual, inherited] |
Internal utility method for rendering a single object.
rend | The renderable to issue to the pipeline | |
pass | The pass which is being used | |
lightScissoringClipping | If true, passes that have the getLightScissorEnabled and/or getLightClipPlanesEnabled flags will cause calculation and setting of scissor rectangle and user clip planes. | |
doLightIteration | If true, this method will issue the renderable to the pipeline possibly multiple times, if the pass indicates it should be done once per light | |
manualLightList | Only applicable if doLightIteration is false, this method allows you to pass in a previously determined set of lights which will be used for a single render of this object. |
virtual AutoParamDataSource* Ogre::SceneManager::createAutoParamDataSource | ( | void | ) | const [protected, virtual, inherited] |
Internal method for creating the AutoParamDataSource instance.
Definition at line 691 of file OgreSceneManager.h.
References OGRE_NEW.
virtual void Ogre::SceneManager::findLightsAffectingFrustum | ( | const Camera * | camera | ) | [protected, virtual, inherited] |
Internal method for locating a list of lights which could be affecting the frustum.
virtual void Ogre::SceneManager::initShadowVolumeMaterials | ( | void | ) | [protected, virtual, inherited] |
Internal method for setting up materials for shadows.
virtual void Ogre::SceneManager::ensureShadowTexturesCreated | ( | ) | [protected, virtual, inherited] |
Internal method for creating shadow textures (texture-based shadows).
virtual void Ogre::SceneManager::destroyShadowTextures | ( | void | ) | [protected, virtual, inherited] |
Internal method for destroying shadow textures (texture-based shadows).
virtual void Ogre::SceneManager::prepareShadowTextures | ( | Camera * | cam, | |
Viewport * | vp | |||
) | [protected, virtual, inherited] |
Internal method for preparing shadow textures ready for use in a regular render.
virtual void Ogre::SceneManager::renderShadowVolumesToStencil | ( | const Light * | light, | |
const Camera * | cam, | |||
bool | calcScissor | |||
) | [protected, virtual, inherited] |
Internal method for rendering all the objects for a given light into the stencil buffer.
light | The light source | |
cam | The camera being viewed from | |
calcScissor | Whether the method should set up any scissor state, or false if that's already been done |
virtual void Ogre::SceneManager::setShadowVolumeStencilState | ( | bool | secondpass, | |
bool | zfail, | |||
bool | twosided | |||
) | [protected, virtual, inherited] |
Internal utility method for setting stencil state for rendering shadow volumes.
secondpass | Is this the second pass? | |
zfail | Should we be using the zfail method? | |
twosided | Should we use a 2-sided stencil? |
void Ogre::SceneManager::renderShadowVolumeObjects | ( | ShadowCaster::ShadowRenderableListIterator | iShadowRenderables, | |
Pass * | pass, | |||
const LightList * | manualLightList, | |||
unsigned long | flags, | |||
bool | secondpass, | |||
bool | zfail, | |||
bool | twosided | |||
) | [protected, inherited] |
Render a set of shadow renderables.
virtual const ShadowCasterList& Ogre::SceneManager::findShadowCastersForLight | ( | const Light * | light, | |
const Camera * | camera | |||
) | [protected, virtual, inherited] |
Internal method for locating a list of shadow casters which could be affecting the frustum for a given light.
virtual void Ogre::SceneManager::renderBasicQueueGroupObjects | ( | RenderQueueGroup * | pGroup, | |
QueuedRenderableCollection::OrganisationMode | om | |||
) | [protected, virtual, inherited] |
Render a group in the ordinary way.
virtual void Ogre::SceneManager::renderAdditiveStencilShadowedQueueGroupObjects | ( | RenderQueueGroup * | group, | |
QueuedRenderableCollection::OrganisationMode | om | |||
) | [protected, virtual, inherited] |
Render a group with the added complexity of additive stencil shadows.
virtual void Ogre::SceneManager::renderModulativeStencilShadowedQueueGroupObjects | ( | RenderQueueGroup * | group, | |
QueuedRenderableCollection::OrganisationMode | om | |||
) | [protected, virtual, inherited] |
Render a group with the added complexity of modulative stencil shadows.
virtual void Ogre::SceneManager::renderTextureShadowCasterQueueGroupObjects | ( | RenderQueueGroup * | group, | |
QueuedRenderableCollection::OrganisationMode | om | |||
) | [protected, virtual, inherited] |
Render a group rendering only shadow casters.
virtual void Ogre::SceneManager::renderTextureShadowReceiverQueueGroupObjects | ( | RenderQueueGroup * | group, | |
QueuedRenderableCollection::OrganisationMode | om | |||
) | [protected, virtual, inherited] |
Render a group rendering only shadow receivers.
virtual void Ogre::SceneManager::renderModulativeTextureShadowedQueueGroupObjects | ( | RenderQueueGroup * | group, | |
QueuedRenderableCollection::OrganisationMode | om | |||
) | [protected, virtual, inherited] |
Render a group with the added complexity of modulative texture shadows.
virtual void Ogre::SceneManager::renderAdditiveTextureShadowedQueueGroupObjects | ( | RenderQueueGroup * | group, | |
QueuedRenderableCollection::OrganisationMode | om | |||
) | [protected, virtual, inherited] |
Render a group with additive texture shadows.
virtual void Ogre::SceneManager::renderObjects | ( | const QueuedRenderableCollection & | objs, | |
QueuedRenderableCollection::OrganisationMode | om, | |||
bool | lightScissoringClipping, | |||
bool | doLightIteration, | |||
const LightList * | manualLightList = 0 | |||
) | [protected, virtual, inherited] |
Render a set of objects, see renderSingleObject for param definitions.
virtual void Ogre::SceneManager::renderTransparentShadowCasterObjects | ( | const QueuedRenderableCollection & | objs, | |
QueuedRenderableCollection::OrganisationMode | om, | |||
bool | lightScissoringClipping, | |||
bool | doLightIteration, | |||
const LightList * | manualLightList = 0 | |||
) | [protected, virtual, inherited] |
Render those objects in the transparent pass list which have shadow casting forced on.
virtual void Ogre::SceneManager::updateRenderQueueSplitOptions | ( | void | ) | [protected, virtual, inherited] |
Update the state of the global render queue splitting based on a shadow option change.
virtual void Ogre::SceneManager::updateRenderQueueGroupSplitOptions | ( | RenderQueueGroup * | group, | |
bool | suppressShadows, | |||
bool | suppressRenderState | |||
) | [protected, virtual, inherited] |
Update the state of the render queue group splitting based on a shadow option change.
virtual ClipResult Ogre::SceneManager::buildAndSetScissor | ( | const LightList & | ll, | |
const Camera * | cam | |||
) | [protected, virtual, inherited] |
Set up a scissor rectangle from a group of lights.
virtual void Ogre::SceneManager::buildScissor | ( | const Light * | l, | |
const Camera * | cam, | |||
RealRect & | rect | |||
) | [protected, virtual, inherited] |
Update a scissor rectangle from a single light.
virtual void Ogre::SceneManager::resetScissor | ( | ) | [protected, virtual, inherited] |
virtual ClipResult Ogre::SceneManager::buildAndSetLightClip | ( | const LightList & | ll | ) | [protected, virtual, inherited] |
Build a set of user clip planes from a single non-directional light.
virtual void Ogre::SceneManager::buildLightClip | ( | const Light * | l, | |
PlaneList & | planes | |||
) | [protected, virtual, inherited] |
virtual void Ogre::SceneManager::resetLightClip | ( | ) | [protected, virtual, inherited] |
virtual void Ogre::SceneManager::checkCachedLightClippingInfo | ( | ) | [protected, virtual, inherited] |
const String& Ogre::SceneManager::getName | ( | void | ) | const [inherited] |
Mutex to protect the scene graph from simultaneous access from multiple threads.
Definition at line 963 of file OgreSceneManager.h.
Creates a camera to be managed by this scene manager.
name | Name to give the new camera. |
Retrieves a pointer to the named camera.
virtual bool Ogre::SceneManager::hasCamera | ( | const String & | name | ) | const [virtual, inherited] |
Returns whether a camera with the given name exists.
virtual void Ogre::SceneManager::destroyCamera | ( | Camera * | cam | ) | [virtual, inherited] |
Removes a camera from the scene.
cam | Pointer to the camera to remove |
virtual void Ogre::SceneManager::destroyCamera | ( | const String & | name | ) | [virtual, inherited] |
Removes a camera from the scene.
virtual void Ogre::SceneManager::destroyAllCameras | ( | void | ) | [virtual, inherited] |
Removes (and destroys) all cameras from the scene.
Creates a light for use in the scene.
name | The name of the new light, to identify it later. |
Returns a pointer to the named Light which has previously been added to the scene.
virtual bool Ogre::SceneManager::hasLight | ( | const String & | name | ) | const [virtual, inherited] |
Returns whether a light with the given name exists.
virtual const PlaneList& Ogre::SceneManager::getLightClippingPlanes | ( | Light * | l | ) | [virtual, inherited] |
Retrieve a set of clipping planes for a given light.
virtual const RealRect& Ogre::SceneManager::getLightScissorRect | ( | Light * | l, | |
const Camera * | cam | |||
) | [virtual, inherited] |
Retrieve a scissor rectangle for a given light and camera.
virtual void Ogre::SceneManager::destroyLight | ( | const String & | name | ) | [virtual, inherited] |
Removes the named light from the scene and destroys it.
virtual void Ogre::SceneManager::destroyLight | ( | Light * | light | ) | [virtual, inherited] |
Removes the light from the scene and destroys it based on a pointer.
virtual void Ogre::SceneManager::destroyAllLights | ( | void | ) | [virtual, inherited] |
Removes and destroys all lights in the scene.
virtual void Ogre::SceneManager::_notifyLightsDirty | ( | void | ) | [virtual, inherited] |
Advance method to increase the lights dirty counter due lights changed.
ulong Ogre::SceneManager::_getLightsDirtyCounter | ( | void | ) | const [inherited] |
Advance method to gets the lights dirty counter.
Definition at line 1086 of file OgreSceneManager.h.
virtual const LightList& Ogre::SceneManager::_getLightsAffectingFrustum | ( | void | ) | const [virtual, inherited] |
Get the list of lights which could be affecting the frustum.
virtual void Ogre::SceneManager::_populateLightList | ( | const Vector3 & | position, | |
Real | radius, | |||
LightList & | destList | |||
) | [virtual, inherited] |
Populate a light list with an ordered set of the lights which are closest to the position specified.
position | The position at which to evaluate the list of lights | |
radius | The bounding radius to test | |
destList | List to be populated with ordered set of lights; will be cleared by this method before population. |
virtual SceneNode* Ogre::SceneManager::createSceneNode | ( | void | ) | [virtual, inherited] |
Creates an instance of a SceneNode.
Creates an instance of a SceneNode with a given name.
virtual void Ogre::SceneManager::destroySceneNode | ( | const String & | name | ) | [virtual, inherited] |
Destroys a SceneNode with a given name.
virtual void Ogre::SceneManager::destroySceneNode | ( | SceneNode * | sn | ) | [virtual, inherited] |
Destroys a SceneNode.
virtual SceneNode* Ogre::SceneManager::getRootSceneNode | ( | void | ) | [virtual, inherited] |
Gets the SceneNode at the root of the scene hierarchy.
virtual SceneNode* Ogre::SceneManager::getSceneNode | ( | const String & | name | ) | const [virtual, inherited] |
Retrieves a named SceneNode from the scene graph.
virtual bool Ogre::SceneManager::hasSceneNode | ( | const String & | name | ) | const [virtual, inherited] |
Returns whether a scene node with the given name exists.
virtual Entity* Ogre::SceneManager::createEntity | ( | const String & | entityName, | |
PrefabType | ptype | |||
) | [virtual, inherited] |
Create an Entity (instance of a discrete mesh) from a range of prefab shapes.
entityName | The name to be given to the entity (must be unique). | |
ptype | The prefab type. |
Retrieves a pointer to the named Entity.
virtual bool Ogre::SceneManager::hasEntity | ( | const String & | name | ) | const [virtual, inherited] |
Returns whether an entity with the given name exists.
virtual void Ogre::SceneManager::destroyEntity | ( | Entity * | ent | ) | [virtual, inherited] |
Removes & destroys an Entity from the SceneManager.
virtual void Ogre::SceneManager::destroyEntity | ( | const String & | name | ) | [virtual, inherited] |
Removes & destroys an Entity from the SceneManager by name.
virtual void Ogre::SceneManager::destroyAllEntities | ( | void | ) | [virtual, inherited] |
Removes & destroys all Entities.
virtual ManualObject* Ogre::SceneManager::createManualObject | ( | const String & | name | ) | [virtual, inherited] |
Create a ManualObject, an object which you populate with geometry manually through a GL immediate-mode style interface.
name | The name to be given to the object (must be unique). |
virtual ManualObject* Ogre::SceneManager::getManualObject | ( | const String & | name | ) | const [virtual, inherited] |
Retrieves a pointer to the named ManualObject.
virtual bool Ogre::SceneManager::hasManualObject | ( | const String & | name | ) | const [virtual, inherited] |
Returns whether a manual object with the given name exists.
virtual void Ogre::SceneManager::destroyManualObject | ( | ManualObject * | obj | ) | [virtual, inherited] |
Removes & destroys a ManualObject from the SceneManager.
virtual void Ogre::SceneManager::destroyManualObject | ( | const String & | name | ) | [virtual, inherited] |
Removes & destroys a ManualObject from the SceneManager.
virtual void Ogre::SceneManager::destroyAllManualObjects | ( | void | ) | [virtual, inherited] |
Removes & destroys all ManualObjects from the SceneManager.
virtual BillboardChain* Ogre::SceneManager::createBillboardChain | ( | const String & | name | ) | [virtual, inherited] |
Create a BillboardChain, an object which you can use to render a linked chain of billboards.
name | The name to be given to the object (must be unique). |
virtual BillboardChain* Ogre::SceneManager::getBillboardChain | ( | const String & | name | ) | const [virtual, inherited] |
Retrieves a pointer to the named BillboardChain.
virtual bool Ogre::SceneManager::hasBillboardChain | ( | const String & | name | ) | const [virtual, inherited] |
Returns whether a billboard chain with the given name exists.
virtual void Ogre::SceneManager::destroyBillboardChain | ( | BillboardChain * | obj | ) | [virtual, inherited] |
Removes & destroys a BillboardChain from the SceneManager.
virtual void Ogre::SceneManager::destroyBillboardChain | ( | const String & | name | ) | [virtual, inherited] |
Removes & destroys a BillboardChain from the SceneManager.
virtual void Ogre::SceneManager::destroyAllBillboardChains | ( | void | ) | [virtual, inherited] |
Removes & destroys all BillboardChains from the SceneManager.
virtual RibbonTrail* Ogre::SceneManager::createRibbonTrail | ( | const String & | name | ) | [virtual, inherited] |
Create a RibbonTrail, an object which you can use to render a linked chain of billboards which follows one or more nodes.
name | The name to be given to the object (must be unique). |
virtual RibbonTrail* Ogre::SceneManager::getRibbonTrail | ( | const String & | name | ) | const [virtual, inherited] |
Retrieves a pointer to the named RibbonTrail.
virtual bool Ogre::SceneManager::hasRibbonTrail | ( | const String & | name | ) | const [virtual, inherited] |
Returns whether a ribbon trail with the given name exists.
virtual void Ogre::SceneManager::destroyRibbonTrail | ( | RibbonTrail * | obj | ) | [virtual, inherited] |
Removes & destroys a RibbonTrail from the SceneManager.
virtual void Ogre::SceneManager::destroyRibbonTrail | ( | const String & | name | ) | [virtual, inherited] |
Removes & destroys a RibbonTrail from the SceneManager.
virtual void Ogre::SceneManager::destroyAllRibbonTrails | ( | void | ) | [virtual, inherited] |
Removes & destroys all RibbonTrails from the SceneManager.
virtual ParticleSystem* Ogre::SceneManager::createParticleSystem | ( | const String & | name, | |
const String & | templateName | |||
) | [virtual, inherited] |
Creates a particle system based on a template.
name | The name to give the new particle system instance. | |
templateName | The name of the template to base the new instance on. |
virtual ParticleSystem* Ogre::SceneManager::createParticleSystem | ( | const String & | name, | |
size_t | quota = 500 , |
|||
const String & | resourceGroup = ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME | |||
) | [virtual, inherited] |
Create a blank particle system.
name | The name to give the ParticleSystem. | |
quota | The maximum number of particles to allow in this system. | |
resourceGroup | The resource group which will be used to load dependent resources |
virtual ParticleSystem* Ogre::SceneManager::getParticleSystem | ( | const String & | name | ) | const [virtual, inherited] |
Retrieves a pointer to the named ParticleSystem.
virtual bool Ogre::SceneManager::hasParticleSystem | ( | const String & | name | ) | const [virtual, inherited] |
Returns whether a particle system with the given name exists.
virtual void Ogre::SceneManager::destroyParticleSystem | ( | ParticleSystem * | obj | ) | [virtual, inherited] |
Removes & destroys a ParticleSystem from the SceneManager.
virtual void Ogre::SceneManager::destroyParticleSystem | ( | const String & | name | ) | [virtual, inherited] |
Removes & destroys a ParticleSystem from the SceneManager.
virtual void Ogre::SceneManager::destroyAllParticleSystems | ( | void | ) | [virtual, inherited] |
Removes & destroys all ParticleSystems from the SceneManager.
virtual void Ogre::SceneManager::clearScene | ( | void | ) | [virtual, inherited] |
Empties the entire scene, inluding all SceneNodes, Entities, Lights, BillboardSets etc.
Cameras are not deleted at this stage since they are still referenced by viewports, which are not destroyed during this process.
void Ogre::SceneManager::setAmbientLight | ( | const ColourValue & | colour | ) | [inherited] |
Sets the ambient light level to be used for the scene.
By default the ambient light in the scene is ColourValue::Black, i.e. no ambient light. This means that any objects rendered with a Material which has lighting enabled (see Material::setLightingEnabled) will not be visible unless you have some dynamic lights in your scene.
const ColourValue& Ogre::SceneManager::getAmbientLight | ( | void | ) | const [inherited] |
Returns the ambient light level to be used for the scene.
virtual void Ogre::SceneManager::prepareWorldGeometry | ( | const String & | filename | ) | [virtual, inherited] |
Sets the source of the 'world' geometry, i.e.
the large, mainly static geometry making up the world e.g. rooms, landscape etc. This function can be called before setWorldGeometry in a background thread, do to some slow tasks (e.g. IO) that do not involve the backend render system.
virtual void Ogre::SceneManager::prepareWorldGeometry | ( | DataStreamPtr & | stream, | |
const String & | typeName = StringUtil::BLANK | |||
) | [virtual, inherited] |
Sets the source of the 'world' geometry, i.e.
the large, mainly static geometry making up the world e.g. rooms, landscape etc. This function can be called before setWorldGeometry in a background thread, do to some slow tasks (e.g. IO) that do not involve the backend render system.
stream | Data stream containing data to load | |
typeName | String identifying the type of world geometry contained in the stream - not required if this manager only supports one type of world geometry. |
virtual void Ogre::SceneManager::setWorldGeometry | ( | const String & | filename | ) | [virtual, inherited] |
Sets the source of the 'world' geometry, i.e.
the large, mainly static geometry making up the world e.g. rooms, landscape etc.
virtual void Ogre::SceneManager::setWorldGeometry | ( | DataStreamPtr & | stream, | |
const String & | typeName = StringUtil::BLANK | |||
) | [virtual, inherited] |
Sets the source of the 'world' geometry, i.e.
the large, mainly static geometry making up the world e.g. rooms, landscape etc.
stream | Data stream containing data to load | |
typeName | String identifying the type of world geometry contained in the stream - not required if this manager only supports one type of world geometry. |
virtual size_t Ogre::SceneManager::estimateWorldGeometry | ( | const String & | filename | ) | [virtual, inherited] |
Estimate the number of loading stages required to load the named world geometry.
Definition at line 1505 of file OgreSceneManager.h.
virtual size_t Ogre::SceneManager::estimateWorldGeometry | ( | DataStreamPtr & | stream, | |
const String & | typeName = StringUtil::BLANK | |||
) | [virtual, inherited] |
Estimate the number of loading stages required to load the named world geometry.
stream | Data stream containing data to load | |
typeName | String identifying the type of world geometry contained in the stream - not required if this manager only supports one type of world geometry. |
Definition at line 1519 of file OgreSceneManager.h.
virtual ViewPoint Ogre::SceneManager::getSuggestedViewpoint | ( | bool | random = false |
) | [virtual, inherited] |
Asks the SceneManager to provide a suggested viewpoint from which the scene should be viewed.
random | If true, and there is more than one possible suggestion, a random one will be used. If false the same one will always be suggested. |
virtual bool Ogre::SceneManager::setOption | ( | const String & | strKey, | |
const void * | pValue | |||
) | [virtual, inherited] |
Method for setting a specific option of the Scene Manager.
These options are usually specific for a certain implemntation of the Scene Manager class, and may (and probably will) not exist across different implementations.
strKey | The name of the option to set | |
pValue | A pointer to the value - the size should be calculated by the scene manager based on the key |
Definition at line 1550 of file OgreSceneManager.h.
virtual bool Ogre::SceneManager::getOption | ( | const String & | strKey, | |
void * | pDestValue | |||
) | [virtual, inherited] |
Method for getting the value of an implementation-specific Scene Manager option.
strKey | The name of the option | |
pDestValue | A pointer to a memory location where the value will be copied. Currently, the memory will be allocated by the scene manager, but this may change |
Definition at line 1565 of file OgreSceneManager.h.
virtual bool Ogre::SceneManager::hasOption | ( | const String & | strKey | ) | const [virtual, inherited] |
Method for verifying wether the scene manager has an implementation-specific option.
strKey | The name of the option to check for. |
Definition at line 1576 of file OgreSceneManager.h.
virtual bool Ogre::SceneManager::getOptionValues | ( | const String & | strKey, | |
StringVector & | refValueList | |||
) | [virtual, inherited] |
Method for getting all possible values for a specific option.
When this list is too large (i.e. the option expects, for example, a float), the return value will be true, but the list will contain just one element whose size will be set to 0. Otherwise, the list will be filled with all the possible values the option can accept.
strKey | The name of the option to get the values for. | |
refValueList | A reference to a list that will be filled with the available values. |
Definition at line 1591 of file OgreSceneManager.h.
virtual bool Ogre::SceneManager::getOptionKeys | ( | StringVector & | refKeys | ) | [virtual, inherited] |
Method for getting all the implementation-specific options of the scene manager.
refKeys | A reference to a list that will be filled with all the available options. |
Definition at line 1599 of file OgreSceneManager.h.
virtual void Ogre::SceneManager::_updateSceneGraph | ( | Camera * | cam | ) | [virtual, inherited] |
Internal method for updating the scene graph ie the tree of SceneNode instances managed by this class.
virtual void Ogre::SceneManager::_findVisibleObjects | ( | Camera * | cam, | |
VisibleObjectsBoundsInfo * | visibleBounds, | |||
bool | onlyShadowCasters | |||
) | [virtual, inherited] |
Internal method which parses the scene to find visible objects to render.
virtual void Ogre::SceneManager::_applySceneAnimations | ( | void | ) | [virtual, inherited] |
Internal method for applying animations to scene nodes.
virtual void Ogre::SceneManager::_renderVisibleObjects | ( | void | ) | [virtual, inherited] |
Sends visible objects found in _findVisibleObjects to the rendering engine.
virtual void Ogre::SceneManager::_renderScene | ( | Camera * | camera, | |
Viewport * | vp, | |||
bool | includeOverlays | |||
) | [virtual, inherited] |
Prompts the class to send its contents to the renderer.
camera | Pointer to a camera from whose viewpoint the scene is to be rendered. | |
vp | The target viewport | |
includeOverlays | Whether or not overlay objects should be rendered |
virtual void Ogre::SceneManager::_queueSkiesForRendering | ( | Camera * | cam | ) | [virtual, inherited] |
Internal method for queueing the sky objects with the params as previously set through setSkyBox, setSkyPlane and setSkyDome.
virtual void Ogre::SceneManager::_setDestinationRenderSystem | ( | RenderSystem * | sys | ) | [virtual, inherited] |
Notifies the scene manager of its destination render system.
sys | Pointer to the RenderSystem subclass to be used as a render target. |
virtual void Ogre::SceneManager::setSkyPlane | ( | bool | enable, | |
const Plane & | plane, | |||
const String & | materialName, | |||
Real | scale = 1000 , |
|||
Real | tiling = 10 , |
|||
bool | drawFirst = true , |
|||
Real | bow = 0 , |
|||
int | xsegments = 1 , |
|||
int | ysegments = 1 , |
|||
const String & | groupName = ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME | |||
) | [virtual, inherited] |
Enables / disables a 'sky plane' i.e.
a plane at constant distance from the camera representing the sky.
enable | True to enable the plane, false to disable it | |
plane | Details of the plane, i.e. it's normal and it's distance from the camera. | |
materialName | The name of the material the plane will use | |
scale | The scaling applied to the sky plane - higher values mean a bigger sky plane - you may want to tweak this depending on the size of plane.d and the other characteristics of your scene | |
tiling | How many times to tile the texture across the sky. Applies to all texture layers. If you need finer control use the TextureUnitState texture coordinate transformation methods. | |
drawFirst | If true, the plane is drawn before all other geometry in the scene, without updating the depth buffer. This is the safest rendering method since all other objects will always appear in front of the sky. However this is not the most efficient way if most of the sky is often occluded by other objects. If this is the case, you can set this parameter to false meaning it draws after all other geometry which can be an optimisation - however you must ensure that the plane.d value is large enough that no objects will 'poke through' the sky plane when it is rendered. | |
bow | If zero, the plane will be completely flat (like previous versions. If above zero, the plane will be curved, allowing the sky to appear below camera level. Curved sky planes are simular to skydomes, but are more compatable with fog. | |
xsegments,ysegments | Determines the number of segments the plane will have to it. This is most important when you are bowing the plane, but may also be useful if you need tesselation on the plane to perform per-vertex effects. | |
groupName | The name of the resource group to which to assign the plane mesh. |
virtual void Ogre::SceneManager::_setSkyPlane | ( | bool | enable, | |
const Plane & | plane, | |||
const String & | materialName, | |||
Real | scale = 1000 , |
|||
Real | tiling = 10 , |
|||
uint8 | renderQueue = RENDER_QUEUE_SKIES_EARLY , |
|||
Real | bow = 0 , |
|||
int | xsegments = 1 , |
|||
int | ysegments = 1 , |
|||
const String & | groupName = ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME | |||
) | [virtual, inherited] |
Enables / disables a 'sky plane' i.e.
a plane at constant distance from the camera representing the sky.
enable | True to enable the plane, false to disable it | |
plane | Details of the plane, i.e. it's normal and it's distance from the camera. | |
materialName | The name of the material the plane will use | |
scale | The scaling applied to the sky plane - higher values mean a bigger sky plane - you may want to tweak this depending on the size of plane.d and the other characteristics of your scene | |
tiling | How many times to tile the texture across the sky. Applies to all texture layers. If you need finer control use the TextureUnitState texture coordinate transformation methods. | |
renderQueue | The render queue to use when rendering this object | |
bow | If zero, the plane will be completely flat (like previous versions. If above zero, the plane will be curved, allowing the sky to appear below camera level. Curved sky planes are simular to skydomes, but are more compatable with fog. | |
xsegments,ysegments | Determines the number of segments the plane will have to it. This is most important when you are bowing the plane, but may also be useful if you need tesselation on the plane to perform per-vertex effects. | |
groupName | The name of the resource group to which to assign the plane mesh. |
virtual bool Ogre::SceneManager::isSkyPlaneEnabled | ( | void | ) | const [virtual, inherited] |
virtual SceneNode* Ogre::SceneManager::getSkyPlaneNode | ( | void | ) | const [virtual, inherited] |
virtual const SkyPlaneGenParameters& Ogre::SceneManager::getSkyPlaneGenParameters | ( | void | ) | const [virtual, inherited] |
Get the parameters used to construct the SkyPlane, if any.
Definition at line 1782 of file OgreSceneManager.h.
virtual void Ogre::SceneManager::setSkyBox | ( | bool | enable, | |
const String & | materialName, | |||
Real | distance = 5000 , |
|||
bool | drawFirst = true , |
|||
const Quaternion & | orientation = Quaternion::IDENTITY , |
|||
const String & | groupName = ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME | |||
) | [virtual, inherited] |
Enables / disables a 'sky box' i.e.
a 6-sided box at constant distance from the camera representing the sky.
enable | True to enable the skybox, false to disable it | |
materialName | The name of the material the box will use | |
distance | Distance in world coorinates from the camera to each plane of the box. The default is normally OK. | |
drawFirst | If true, the box is drawn before all other geometry in the scene, without updating the depth buffer. This is the safest rendering method since all other objects will always appear in front of the sky. However this is not the most efficient way if most of the sky is often occluded by other objects. If this is the case, you can set this parameter to false meaning it draws after all other geometry which can be an optimisation - however you must ensure that the distance value is large enough that no objects will 'poke through' the sky box when it is rendered. | |
orientation | Optional parameter to specify the orientation of the box. By default the 'top' of the box is deemed to be in the +y direction, and the 'front' at the -z direction. You can use this parameter to rotate the sky if you want. | |
groupName | The name of the resource group to which to assign the plane mesh. |
virtual void Ogre::SceneManager::_setSkyBox | ( | bool | enable, | |
const String & | materialName, | |||
Real | distance = 5000 , |
|||
uint8 | renderQueue = RENDER_QUEUE_SKIES_EARLY , |
|||
const Quaternion & | orientation = Quaternion::IDENTITY , |
|||
const String & | groupName = ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME | |||
) | [virtual, inherited] |
Enables / disables a 'sky box' i.e.
a 6-sided box at constant distance from the camera representing the sky.
enable | True to enable the skybox, false to disable it | |
materialName | The name of the material the box will use | |
distance | Distance in world coorinates from the camera to each plane of the box. The default is normally OK. | |
renderQueue | The render queue to use when rendering this object | |
orientation | Optional parameter to specify the orientation of the box. By default the 'top' of the box is deemed to be in the +y direction, and the 'front' at the -z direction. You can use this parameter to rotate the sky if you want. | |
groupName | The name of the resource group to which to assign the plane mesh. |
virtual bool Ogre::SceneManager::isSkyBoxEnabled | ( | void | ) | const [virtual, inherited] |
virtual SceneNode* Ogre::SceneManager::getSkyBoxNode | ( | void | ) | const [virtual, inherited] |
virtual const SkyBoxGenParameters& Ogre::SceneManager::getSkyBoxGenParameters | ( | void | ) | const [virtual, inherited] |
Get the parameters used to generate the current SkyBox, if any.
Definition at line 1874 of file OgreSceneManager.h.
virtual void Ogre::SceneManager::setSkyDome | ( | bool | enable, | |
const String & | materialName, | |||
Real | curvature = 10 , |
|||
Real | tiling = 8 , |
|||
Real | distance = 4000 , |
|||
bool | drawFirst = true , |
|||
const Quaternion & | orientation = Quaternion::IDENTITY , |
|||
int | xsegments = 16 , |
|||
int | ysegments = 16 , |
|||
int | ysegments_keep = -1 , |
|||
const String & | groupName = ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME | |||
) | [virtual, inherited] |
Enables / disables a 'sky dome' i.e.
an illusion of a curved sky.
enable | True to enable the skydome, false to disable it | |
materialName | The name of the material the dome will use | |
curvature | The curvature of the dome. Good values are between 2 and 65. Higher values are more curved leading to a smoother effect, lower values are less curved meaning more distortion at the horizons but a better distance effect. | |
tiling | How many times to tile the texture(s) across the dome. | |
distance | Distance in world coorinates from the camera to each plane of the box the dome is rendered on. The default is normally OK. | |
drawFirst | If true, the dome is drawn before all other geometry in the scene, without updating the depth buffer. This is the safest rendering method since all other objects will always appear in front of the sky. However this is not the most efficient way if most of the sky is often occluded by other objects. If this is the case, you can set this parameter to false meaning it draws after all other geometry which can be an optimisation - however you must ensure that the distance value is large enough that no objects will 'poke through' the sky when it is rendered. | |
orientation | Optional parameter to specify the orientation of the dome. By default the 'top' of the dome is deemed to be in the +y direction, and the 'front' at the -z direction. You can use this parameter to rotate the sky if you want. | |
groupName | The name of the resource group to which to assign the plane mesh. |
virtual void Ogre::SceneManager::_setSkyDome | ( | bool | enable, | |
const String & | materialName, | |||
Real | curvature = 10 , |
|||
Real | tiling = 8 , |
|||
Real | distance = 4000 , |
|||
uint8 | renderQueue = RENDER_QUEUE_SKIES_EARLY , |
|||
const Quaternion & | orientation = Quaternion::IDENTITY , |
|||
int | xsegments = 16 , |
|||
int | ysegments = 16 , |
|||
int | ysegments_keep = -1 , |
|||
const String & | groupName = ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME | |||
) | [virtual, inherited] |
Enables / disables a 'sky dome' i.e.
an illusion of a curved sky.
enable | True to enable the skydome, false to disable it | |
materialName | The name of the material the dome will use | |
curvature | The curvature of the dome. Good values are between 2 and 65. Higher values are more curved leading to a smoother effect, lower values are less curved meaning more distortion at the horizons but a better distance effect. | |
tiling | How many times to tile the texture(s) across the dome. | |
distance | Distance in world coorinates from the camera to each plane of the box the dome is rendered on. The default is normally OK. | |
renderQueue | The render queue to use when rendering this object | |
orientation | Optional parameter to specify the orientation of the dome. By default the 'top' of the dome is deemed to be in the +y direction, and the 'front' at the -z direction. You can use this parameter to rotate the sky if you want. | |
groupName | The name of the resource group to which to assign the plane mesh. |
virtual bool Ogre::SceneManager::isSkyDomeEnabled | ( | void | ) | const [virtual, inherited] |
virtual SceneNode* Ogre::SceneManager::getSkyDomeNode | ( | void | ) | const [virtual, inherited] |
virtual const SkyDomeGenParameters& Ogre::SceneManager::getSkyDomeGenParameters | ( | void | ) | const [virtual, inherited] |
Get the parameters used to generate the current SkyDome, if any.
Definition at line 1998 of file OgreSceneManager.h.
void Ogre::SceneManager::setFog | ( | FogMode | mode = FOG_NONE , |
|
const ColourValue & | colour = ColourValue::White , |
|||
Real | expDensity = 0.001 , |
|||
Real | linearStart = 0.0 , |
|||
Real | linearEnd = 1.0 | |||
) | [inherited] |
Sets the fogging mode applied to the scene.
mode | Set up the mode of fog as described in the FogMode enum, or set to FOG_NONE to turn off. | |
colour | The colour of the fog. Either set this to the same as your viewport background colour, or to blend in with a skydome or skybox. | |
expDensity | The density of the fog in FOG_EXP or FOG_EXP2 mode, as a value between 0 and 1. The default is 0.001. | |
linearStart | Distance in world units at which linear fog starts to encroach. Only applicable if mode is FOG_LINEAR. | |
linearEnd | Distance in world units at which linear fog becomes completely opaque. Only applicable if mode is FOG_LINEAR. |
virtual FogMode Ogre::SceneManager::getFogMode | ( | void | ) | const [virtual, inherited] |
Returns the fog mode for the scene.
virtual const ColourValue& Ogre::SceneManager::getFogColour | ( | void | ) | const [virtual, inherited] |
Returns the fog colour for the scene.
virtual Real Ogre::SceneManager::getFogStart | ( | void | ) | const [virtual, inherited] |
Returns the fog start distance for the scene.
virtual Real Ogre::SceneManager::getFogEnd | ( | void | ) | const [virtual, inherited] |
Returns the fog end distance for the scene.
virtual Real Ogre::SceneManager::getFogDensity | ( | void | ) | const [virtual, inherited] |
Returns the fog density for the scene.
virtual BillboardSet* Ogre::SceneManager::createBillboardSet | ( | const String & | name, | |
unsigned int | poolSize = 20 | |||
) | [virtual, inherited] |
Creates a new BillboardSet for use with this scene manager.
name | The name to give to this billboard set. Must be unique. | |
poolSize | The initial size of the pool of billboards (see BillboardSet for more information) |
virtual BillboardSet* Ogre::SceneManager::getBillboardSet | ( | const String & | name | ) | const [virtual, inherited] |
Retrieves a pointer to the named BillboardSet.
virtual bool Ogre::SceneManager::hasBillboardSet | ( | const String & | name | ) | const [virtual, inherited] |
Returns whether a billboardset with the given name exists.
virtual void Ogre::SceneManager::destroyBillboardSet | ( | BillboardSet * | set | ) | [virtual, inherited] |
Removes & destroys an BillboardSet from the SceneManager.
virtual void Ogre::SceneManager::destroyBillboardSet | ( | const String & | name | ) | [virtual, inherited] |
Removes & destroys an BillboardSet from the SceneManager by name.
virtual void Ogre::SceneManager::destroyAllBillboardSets | ( | void | ) | [virtual, inherited] |
Removes & destroys all BillboardSets.
virtual void Ogre::SceneManager::setDisplaySceneNodes | ( | bool | display | ) | [virtual, inherited] |
Tells the SceneManager whether it should render the SceneNodes which make up the scene as well as the objects in the scene.
virtual bool Ogre::SceneManager::getDisplaySceneNodes | ( | void | ) | const [virtual, inherited] |
Returns true if all scene nodes axis are to be displayed.
Definition at line 2112 of file OgreSceneManager.h.
virtual Animation* Ogre::SceneManager::createAnimation | ( | const String & | name, | |
Real | length | |||
) | [virtual, inherited] |
Creates an animation which can be used to animate scene nodes.
name | The name of the animation, must be unique within this SceneManager. | |
length | The total length of the animation. |
virtual Animation* Ogre::SceneManager::getAnimation | ( | const String & | name | ) | const [virtual, inherited] |
Looks up an Animation object previously created with createAnimation.
virtual bool Ogre::SceneManager::hasAnimation | ( | const String & | name | ) | const [virtual, inherited] |
Returns whether an animation with the given name exists.
virtual void Ogre::SceneManager::destroyAnimation | ( | const String & | name | ) | [virtual, inherited] |
Destroys an Animation.
virtual void Ogre::SceneManager::destroyAllAnimations | ( | void | ) | [virtual, inherited] |
Removes all animations created using this SceneManager.
virtual AnimationState* Ogre::SceneManager::createAnimationState | ( | const String & | animName | ) | [virtual, inherited] |
Create an AnimationState object for managing application of animations.
animName | The name of an animation created already with createAnimation. |
virtual AnimationState* Ogre::SceneManager::getAnimationState | ( | const String & | animName | ) | const [virtual, inherited] |
Retrieves animation state as previously created using createAnimationState.
virtual bool Ogre::SceneManager::hasAnimationState | ( | const String & | name | ) | const [virtual, inherited] |
Returns whether an animation state with the given name exists.
virtual void Ogre::SceneManager::destroyAnimationState | ( | const String & | name | ) | [virtual, inherited] |
Destroys an AnimationState.
virtual void Ogre::SceneManager::destroyAllAnimationStates | ( | void | ) | [virtual, inherited] |
Removes all animation states created using this SceneManager.
virtual void Ogre::SceneManager::manualRender | ( | RenderOperation * | rend, | |
Pass * | pass, | |||
Viewport * | vp, | |||
const Matrix4 & | worldMatrix, | |||
const Matrix4 & | viewMatrix, | |||
const Matrix4 & | projMatrix, | |||
bool | doBeginEndFrame = false | |||
) | [virtual, inherited] |
Manual rendering method, for advanced users only.
rend | A RenderOperation object describing the rendering op | |
pass | The Pass to use for this render | |
vp | Pointer to the viewport to render to | |
worldMatrix | The transform to apply from object to world space | |
viewMatrix | The transform to apply from world to view space | |
projMatrix | The transform to apply from view to screen space | |
doBeginEndFrame | If true, beginFrame() and endFrame() are called, otherwise not. You should leave this as false if you are calling this within the main render loop. |
virtual RenderQueue* Ogre::SceneManager::getRenderQueue | ( | void | ) | [virtual, inherited] |
Retrieves the internal render queue, for advanced users only.
virtual void Ogre::SceneManager::addRenderQueueListener | ( | RenderQueueListener * | newListener | ) | [virtual, inherited] |
Registers a new RenderQueueListener which will be notified when render queues are processed.
virtual void Ogre::SceneManager::removeRenderQueueListener | ( | RenderQueueListener * | delListener | ) | [virtual, inherited] |
Removes a listener previously added with addRenderQueueListener.
virtual void Ogre::SceneManager::addSpecialCaseRenderQueue | ( | uint8 | qid | ) | [virtual, inherited] |
Adds an item to the 'special case' render queue list.
qid | The identifier of the queue which should be added to the special case list. Nothing happens if the queue is already in the list. |
virtual void Ogre::SceneManager::removeSpecialCaseRenderQueue | ( | uint8 | qid | ) | [virtual, inherited] |
Removes an item to the 'special case' render queue list.
qid | The identifier of the queue which should be removed from the special case list. Nothing happens if the queue is not in the list. |
virtual void Ogre::SceneManager::clearSpecialCaseRenderQueues | ( | void | ) | [virtual, inherited] |
virtual void Ogre::SceneManager::setSpecialCaseRenderQueueMode | ( | SpecialCaseRenderQueueMode | mode | ) | [virtual, inherited] |
Sets the way the special case render queue list is processed.
mode | The mode of processing |
virtual SpecialCaseRenderQueueMode Ogre::SceneManager::getSpecialCaseRenderQueueMode | ( | void | ) | [virtual, inherited] |
Gets the way the special case render queue list is processed.
virtual bool Ogre::SceneManager::isRenderQueueToBeProcessed | ( | uint8 | qid | ) | [virtual, inherited] |
Returns whether or not the named queue will be rendered based on the current 'special case' render queue list and mode.
qid | The identifier of the queue which should be tested |
virtual void Ogre::SceneManager::setWorldGeometryRenderQueue | ( | uint8 | qid | ) | [virtual, inherited] |
Sets the render queue that the world geometry (if any) this SceneManager renders will be associated with.
virtual uint8 Ogre::SceneManager::getWorldGeometryRenderQueue | ( | void | ) | [virtual, inherited] |
Gets the render queue that the world geometry (if any) this SceneManager renders will be associated with.
virtual void Ogre::SceneManager::showBoundingBoxes | ( | bool | bShow | ) | [virtual, inherited] |
Allows all bounding boxes of scene nodes to be displayed.
virtual bool Ogre::SceneManager::getShowBoundingBoxes | ( | ) | const [virtual, inherited] |
Returns if all bounding boxes of scene nodes are to be displayed.
virtual void Ogre::SceneManager::_notifyAutotrackingSceneNode | ( | SceneNode * | node, | |
bool | autoTrack | |||
) | [virtual, inherited] |
Internal method for notifying the manager that a SceneNode is autotracking.
virtual AxisAlignedBoxSceneQuery* Ogre::SceneManager::createAABBQuery | ( | const AxisAlignedBox & | box, | |
unsigned long | mask = 0xFFFFFFFF | |||
) | [virtual, inherited] |
Creates an AxisAlignedBoxSceneQuery for this scene manager.
box | Details of the box which describes the region for this query. | |
mask | The query mask to apply to this query; can be used to filter out certain objects; see SceneQuery for details. |
virtual SphereSceneQuery* Ogre::SceneManager::createSphereQuery | ( | const Sphere & | sphere, | |
unsigned long | mask = 0xFFFFFFFF | |||
) | [virtual, inherited] |
Creates a SphereSceneQuery for this scene manager.
sphere | Details of the sphere which describes the region for this query. | |
mask | The query mask to apply to this query; can be used to filter out certain objects; see SceneQuery for details. |
virtual PlaneBoundedVolumeListSceneQuery* Ogre::SceneManager::createPlaneBoundedVolumeQuery | ( | const PlaneBoundedVolumeList & | volumes, | |
unsigned long | mask = 0xFFFFFFFF | |||
) | [virtual, inherited] |
Creates a PlaneBoundedVolumeListSceneQuery for this scene manager.
volumes | Details of the volumes which describe the region for this query. | |
mask | The query mask to apply to this query; can be used to filter out certain objects; see SceneQuery for details. |
virtual RaySceneQuery* Ogre::SceneManager::createRayQuery | ( | const Ray & | ray, | |
unsigned long | mask = 0xFFFFFFFF | |||
) | [virtual, inherited] |
Creates a RaySceneQuery for this scene manager.
ray | Details of the ray which describes the region for this query. | |
mask | The query mask to apply to this query; can be used to filter out certain objects; see SceneQuery for details. |
virtual IntersectionSceneQuery* Ogre::SceneManager::createIntersectionQuery | ( | unsigned long | mask = 0xFFFFFFFF |
) | [virtual, inherited] |
Creates an IntersectionSceneQuery for this scene manager.
mask | The query mask to apply to this query; can be used to filter out certain objects; see SceneQuery for details. |
virtual void Ogre::SceneManager::destroyQuery | ( | SceneQuery * | query | ) | [virtual, inherited] |
Destroys a scene query of any type.
CameraIterator Ogre::SceneManager::getCameraIterator | ( | void | ) | [inherited] |
Returns a specialised MapIterator over all cameras in the scene.
Definition at line 2406 of file OgreSceneManager.h.
AnimationIterator Ogre::SceneManager::getAnimationIterator | ( | void | ) | [inherited] |
Returns a specialised MapIterator over all animations in the scene.
Definition at line 2410 of file OgreSceneManager.h.
AnimationStateIterator Ogre::SceneManager::getAnimationStateIterator | ( | void | ) | [inherited] |
Returns a specialised MapIterator over all animation states in the scene.
Definition at line 2414 of file OgreSceneManager.h.
virtual void Ogre::SceneManager::setShadowTechnique | ( | ShadowTechnique | technique | ) | [virtual, inherited] |
Sets the general shadow technique to be used in this scene.
technique | The shadowing technique to use for the scene. |
virtual ShadowTechnique Ogre::SceneManager::getShadowTechnique | ( | void | ) | const [virtual, inherited] |
virtual void Ogre::SceneManager::setShowDebugShadows | ( | bool | debug | ) | [virtual, inherited] |
Enables / disables the rendering of debug information for shadows.
Definition at line 2456 of file OgreSceneManager.h.
virtual bool Ogre::SceneManager::getShowDebugShadows | ( | void | ) | const [virtual, inherited] |
virtual void Ogre::SceneManager::setShadowColour | ( | const ColourValue & | colour | ) | [virtual, inherited] |
Set the colour used to modulate areas in shadow.
virtual const ColourValue& Ogre::SceneManager::getShadowColour | ( | void | ) | const [virtual, inherited] |
Get the colour used to modulate areas in shadow.
virtual void Ogre::SceneManager::setShadowDirectionalLightExtrusionDistance | ( | Real | dist | ) | [virtual, inherited] |
Sets the distance a shadow volume is extruded for a directional light.
virtual Real Ogre::SceneManager::getShadowDirectionalLightExtrusionDistance | ( | void | ) | const [virtual, inherited] |
Gets the distance a shadow volume is extruded for a directional light.
virtual void Ogre::SceneManager::setShadowFarDistance | ( | Real | distance | ) | [virtual, inherited] |
Sets the default maximum distance away from the camera that shadows will be visible.
You have to call this function before you create lights or the default distance of zero will be used.
virtual Real Ogre::SceneManager::getShadowFarDistance | ( | void | ) | const [virtual, inherited] |
Gets the default maximum distance away from the camera that shadows will be visible.
Definition at line 2509 of file OgreSceneManager.h.
virtual Real Ogre::SceneManager::getShadowFarDistanceSquared | ( | void | ) | const [virtual, inherited] |
Definition at line 2511 of file OgreSceneManager.h.
virtual void Ogre::SceneManager::setShadowIndexBufferSize | ( | size_t | size | ) | [virtual, inherited] |
Sets the maximum size of the index buffer used to render shadow primitives.
size | The number of indexes; divide this by 3 to determine the number of triangles. |
virtual size_t Ogre::SceneManager::getShadowIndexBufferSize | ( | void | ) | const [virtual, inherited] |
virtual void Ogre::SceneManager::setShadowTextureSize | ( | unsigned short | size | ) | [virtual, inherited] |
Set the size of the texture used for all texture-based shadows.
virtual void Ogre::SceneManager::setShadowTextureConfig | ( | size_t | shadowIndex, | |
unsigned short | width, | |||
unsigned short | height, | |||
PixelFormat | format | |||
) | [virtual, inherited] |
Set the detailed configuration for a shadow texture.
shadowIndex | The index of the texture to configure, must be < the number of shadow textures setting | |
width,height | The dimensions of the texture | |
format | The pixel format of the texture |
virtual void Ogre::SceneManager::setShadowTextureConfig | ( | size_t | shadowIndex, | |
const ShadowTextureConfig & | config | |||
) | [virtual, inherited] |
Set the detailed configuration for a shadow texture.
shadowIndex | The index of the texture to configure, must be < the number of shadow textures setting | |
config | Configuration structure |
ConstShadowTextureConfigIterator Ogre::SceneManager::getShadowTextureConfigIterator | ( | ) | const [inherited] |
Get an iterator over the current shadow texture settings.
virtual void Ogre::SceneManager::setShadowTexturePixelFormat | ( | PixelFormat | fmt | ) | [virtual, inherited] |
Set the pixel format of the textures used for texture-based shadows.
virtual void Ogre::SceneManager::setShadowTextureCount | ( | size_t | count | ) | [virtual, inherited] |
Set the number of textures allocated for texture-based shadows.
size_t Ogre::SceneManager::getShadowTextureCount | ( | void | ) | const [inherited] |
Get the number of the textures allocated for texture based shadows.
Definition at line 2593 of file OgreSceneManager.h.
void Ogre::SceneManager::setShadowTextureCountPerLightType | ( | Light::LightTypes | type, | |
size_t | count | |||
) | [inherited] |
Set the number of shadow textures a light type uses.
Definition at line 2604 of file OgreSceneManager.h.
size_t Ogre::SceneManager::getShadowTextureCountPerLightType | ( | Light::LightTypes | type | ) | const [inherited] |
Get the number of shadow textures is assigned for the given light type.
Definition at line 2607 of file OgreSceneManager.h.
virtual void Ogre::SceneManager::setShadowTextureSettings | ( | unsigned short | size, | |
unsigned short | count, | |||
PixelFormat | fmt = PF_X8R8G8B8 | |||
) | [virtual, inherited] |
Sets the size and count of textures used in texture-based shadows.
virtual const TexturePtr& Ogre::SceneManager::getShadowTexture | ( | size_t | shadowIndex | ) | [virtual, inherited] |
Get a reference to the shadow texture currently in use at the given index.
virtual void Ogre::SceneManager::setShadowDirLightTextureOffset | ( | Real | offset | ) | [virtual, inherited] |
Sets the proportional distance which a texture shadow which is generated from a directional light will be offset into the camera view to make best use of texture space.
Definition at line 2643 of file OgreSceneManager.h.
virtual Real Ogre::SceneManager::getShadowDirLightTextureOffset | ( | void | ) | const [virtual, inherited] |
Gets the proportional distance which a texture shadow which is generated from a directional light will be offset into the camera view to make best use of texture space.
Definition at line 2647 of file OgreSceneManager.h.
virtual void Ogre::SceneManager::setShadowTextureFadeStart | ( | Real | fadeStart | ) | [virtual, inherited] |
Sets the proportional distance at which texture shadows begin to fade out.
Definition at line 2655 of file OgreSceneManager.h.
virtual void Ogre::SceneManager::setShadowTextureFadeEnd | ( | Real | fadeEnd | ) | [virtual, inherited] |
Sets the proportional distance at which texture shadows finish to fading out.
Definition at line 2664 of file OgreSceneManager.h.
virtual void Ogre::SceneManager::setShadowTextureSelfShadow | ( | bool | selfShadow | ) | [virtual, inherited] |
Sets whether or not texture shadows should attempt to self-shadow.
selfShadow | Whether to attempt self-shadowing with texture shadows |
virtual bool Ogre::SceneManager::getShadowTextureSelfShadow | ( | void | ) | const [virtual, inherited] |
Gets whether or not texture shadows attempt to self-shadow.
Definition at line 2682 of file OgreSceneManager.h.
virtual void Ogre::SceneManager::setShadowTextureCasterMaterial | ( | const String & | name | ) | [virtual, inherited] |
Sets the default material to use for rendering shadow casters.
Only a single pass is allowed in your material, although multiple techniques may be used for hardware fallback.
virtual void Ogre::SceneManager::setShadowTextureReceiverMaterial | ( | const String & | name | ) | [virtual, inherited] |
Sets the default material to use for rendering shadow receivers.
Only a single pass is allowed in your material, although multiple techniques may be used for hardware fallback.
virtual void Ogre::SceneManager::setShadowCasterRenderBackFaces | ( | bool | bf | ) | [virtual, inherited] |
Sets whether or not shadow casters should be rendered into shadow textures using their back faces rather than their front faces.
Definition at line 2738 of file OgreSceneManager.h.
virtual bool Ogre::SceneManager::getShadowCasterRenderBackFaces | ( | ) | const [virtual, inherited] |
Gets whether or not shadow casters should be rendered into shadow textures using their back faces rather than their front faces.
Definition at line 2743 of file OgreSceneManager.h.
virtual void Ogre::SceneManager::setShadowCameraSetup | ( | const ShadowCameraSetupPtr & | shadowSetup | ) | [virtual, inherited] |
Set the shadow camera setup to use for all lights which don't have their own shadow camera setup.
virtual const ShadowCameraSetupPtr& Ogre::SceneManager::getShadowCameraSetup | ( | ) | const [virtual, inherited] |
Get the shadow camera setup in use for all lights which don't have their own shadow camera setup.
virtual void Ogre::SceneManager::setShadowUseInfiniteFarPlane | ( | bool | enable | ) | [virtual, inherited] |
Sets whether we should use an inifinite camera far plane when rendering stencil shadows.
Definition at line 2793 of file OgreSceneManager.h.
virtual bool Ogre::SceneManager::isShadowTechniqueStencilBased | ( | void | ) | const [virtual, inherited] |
Is there a stencil shadow based shadowing technique in use?
Definition at line 2797 of file OgreSceneManager.h.
References Ogre::SHADOWDETAILTYPE_STENCIL.
virtual bool Ogre::SceneManager::isShadowTechniqueTextureBased | ( | void | ) | const [virtual, inherited] |
Is there a texture shadow based shadowing technique in use?
Definition at line 2800 of file OgreSceneManager.h.
References Ogre::SHADOWDETAILTYPE_TEXTURE.
virtual bool Ogre::SceneManager::isShadowTechniqueModulative | ( | void | ) | const [virtual, inherited] |
Is there a modulative shadowing technique in use?
Definition at line 2803 of file OgreSceneManager.h.
References Ogre::SHADOWDETAILTYPE_MODULATIVE.
virtual bool Ogre::SceneManager::isShadowTechniqueAdditive | ( | void | ) | const [virtual, inherited] |
Is there an additive shadowing technique in use?
Definition at line 2806 of file OgreSceneManager.h.
References Ogre::SHADOWDETAILTYPE_ADDITIVE.
virtual bool Ogre::SceneManager::isShadowTechniqueIntegrated | ( | void | ) | const [virtual, inherited] |
Is the shadow technique integrated into primary materials?
Definition at line 2809 of file OgreSceneManager.h.
References Ogre::SHADOWDETAILTYPE_INTEGRATED.
virtual bool Ogre::SceneManager::isShadowTechniqueInUse | ( | void | ) | const [virtual, inherited] |
Is there any shadowing technique in use?
Definition at line 2812 of file OgreSceneManager.h.
References Ogre::SHADOWTYPE_NONE.
virtual void Ogre::SceneManager::setShadowUseLightClipPlanes | ( | bool | enabled | ) | [virtual, inherited] |
Sets whether when using a built-in additive shadow mode, user clip planes should be used to restrict light rendering.
Definition at line 2817 of file OgreSceneManager.h.
virtual bool Ogre::SceneManager::getShadowUseLightClipPlanes | ( | ) | const [virtual, inherited] |
Gets whether when using a built-in additive shadow mode, user clip planes should be used to restrict light rendering.
Definition at line 2821 of file OgreSceneManager.h.
virtual void Ogre::SceneManager::addListener | ( | Listener * | s | ) | [virtual, inherited] |
Add a listener which will get called back on scene manager events.
virtual void Ogre::SceneManager::removeListener | ( | Listener * | s | ) | [virtual, inherited] |
Remove a listener.
virtual StaticGeometry* Ogre::SceneManager::createStaticGeometry | ( | const String & | name | ) | [virtual, inherited] |
Creates a StaticGeometry instance suitable for use with this SceneManager.
name | The name to give the new object |
virtual StaticGeometry* Ogre::SceneManager::getStaticGeometry | ( | const String & | name | ) | const [virtual, inherited] |
Retrieve a previously created StaticGeometry instance.
virtual bool Ogre::SceneManager::hasStaticGeometry | ( | const String & | name | ) | const [virtual, inherited] |
Returns whether a static geometry instance with the given name exists.
virtual void Ogre::SceneManager::destroyStaticGeometry | ( | StaticGeometry * | geom | ) | [virtual, inherited] |
Remove & destroy a StaticGeometry instance.
virtual void Ogre::SceneManager::destroyStaticGeometry | ( | const String & | name | ) | [virtual, inherited] |
Remove & destroy a StaticGeometry instance.
virtual void Ogre::SceneManager::destroyAllStaticGeometry | ( | void | ) | [virtual, inherited] |
Remove & destroy all StaticGeometry instances.
virtual InstancedGeometry* Ogre::SceneManager::createInstancedGeometry | ( | const String & | name | ) | [virtual, inherited] |
Creates a InstancedGeometry instance suitable for use with this SceneManager.
name | The name to give the new object |
virtual InstancedGeometry* Ogre::SceneManager::getInstancedGeometry | ( | const String & | name | ) | const [virtual, inherited] |
Retrieve a previously created InstancedGeometry instance.
virtual void Ogre::SceneManager::destroyInstancedGeometry | ( | InstancedGeometry * | geom | ) | [virtual, inherited] |
Remove & destroy a InstancedGeometry instance.
virtual void Ogre::SceneManager::destroyInstancedGeometry | ( | const String & | name | ) | [virtual, inherited] |
Remove & destroy a InstancedGeometry instance.
virtual void Ogre::SceneManager::destroyAllInstancedGeometry | ( | void | ) | [virtual, inherited] |
Remove & destroy all InstancedGeometry instances.
virtual MovableObject* Ogre::SceneManager::createMovableObject | ( | const String & | name, | |
const String & | typeName, | |||
const NameValuePairList * | params = 0 | |||
) | [virtual, inherited] |
Create a movable object of the type specified.
name | The name to give the object. Must be unique within type. | |
typeName | The type of object to create | |
params | Optional name/value pair list to give extra parameters to the created object. |
virtual void Ogre::SceneManager::destroyMovableObject | ( | const String & | name, | |
const String & | typeName | |||
) | [virtual, inherited] |
Destroys a MovableObject with the name specified, of the type specified.
virtual void Ogre::SceneManager::destroyMovableObject | ( | MovableObject * | m | ) | [virtual, inherited] |
Destroys a MovableObject.
virtual void Ogre::SceneManager::destroyAllMovableObjectsByType | ( | const String & | typeName | ) | [virtual, inherited] |
Destroy all MovableObjects of a given type.
virtual void Ogre::SceneManager::destroyAllMovableObjects | ( | void | ) | [virtual, inherited] |
Destroy all MovableObjects.
virtual MovableObject* Ogre::SceneManager::getMovableObject | ( | const String & | name, | |
const String & | typeName | |||
) | const [virtual, inherited] |
Get a reference to a previously created MovableObject.
virtual bool Ogre::SceneManager::hasMovableObject | ( | const String & | name, | |
const String & | typeName | |||
) | const [virtual, inherited] |
Returns whether a movable object instance with the given name exists.
virtual MovableObjectIterator Ogre::SceneManager::getMovableObjectIterator | ( | const String & | typeName | ) | [virtual, inherited] |
Get an iterator over all MovableObect instances of a given type.
virtual void Ogre::SceneManager::injectMovableObject | ( | MovableObject * | m | ) | [virtual, inherited] |
Inject a MovableObject instance created externally.
virtual void Ogre::SceneManager::extractMovableObject | ( | const String & | name, | |
const String & | typeName | |||
) | [virtual, inherited] |
Extract a previously injected MovableObject.
virtual void Ogre::SceneManager::extractMovableObject | ( | MovableObject * | m | ) | [virtual, inherited] |
Extract a previously injected MovableObject.
virtual void Ogre::SceneManager::extractAllMovableObjectsByType | ( | const String & | typeName | ) | [virtual, inherited] |
Extract all injected MovableObjects of a given type.
virtual void Ogre::SceneManager::setVisibilityMask | ( | uint32 | vmask | ) | [virtual, inherited] |
Sets a mask which is bitwise 'and'ed with objects own visibility masks to determine if the object is visible.
Definition at line 2954 of file OgreSceneManager.h.
virtual uint32 Ogre::SceneManager::getVisibilityMask | ( | void | ) | [virtual, inherited] |
Gets a mask which is bitwise 'and'ed with objects own visibility masks to determine if the object is visible.
Definition at line 2959 of file OgreSceneManager.h.
uint32 Ogre::SceneManager::_getCombinedVisibilityMask | ( | void | ) | const [inherited] |
Internal method for getting the combination between the global visibility mask and the per-viewport visibility mask.
virtual void Ogre::SceneManager::setFindVisibleObjects | ( | bool | find | ) | [virtual, inherited] |
Sets whether the SceneManager should search for visible objects, or whether they are being manually handled.
Definition at line 2972 of file OgreSceneManager.h.
virtual bool Ogre::SceneManager::getFindVisibleObjects | ( | void | ) | [virtual, inherited] |
Gets whether the SceneManager should search for visible objects, or whether they are being manually handled.
Definition at line 2977 of file OgreSceneManager.h.
virtual void Ogre::SceneManager::setNormaliseNormalsOnScale | ( | bool | n | ) | [virtual, inherited] |
Set whether to automatically normalise normals on objects whenever they are scaled.
Definition at line 2987 of file OgreSceneManager.h.
virtual bool Ogre::SceneManager::getNormaliseNormalsOnScale | ( | ) | const [virtual, inherited] |
Get whether to automatically normalise normals on objects whenever they are scaled.
Definition at line 2992 of file OgreSceneManager.h.
virtual void Ogre::SceneManager::setFlipCullingOnNegativeScale | ( | bool | n | ) | [virtual, inherited] |
Set whether to automatically flip the culling mode on objects whenever they are negatively scaled.
Definition at line 3002 of file OgreSceneManager.h.
virtual bool Ogre::SceneManager::getFlipCullingOnNegativeScale | ( | ) | const [virtual, inherited] |
Get whether to automatically flip the culling mode on objects whenever they are negatively scaled.
Definition at line 3007 of file OgreSceneManager.h.
virtual void Ogre::SceneManager::_injectRenderWithPass | ( | Pass * | pass, | |
Renderable * | rend, | |||
bool | shadowDerivation = true | |||
) | [virtual, inherited] |
Render something as if it came from the current queue.
pass | Material pass to use for setting up this quad. | |
rend | Renderable to render | |
shadowDerivation | Whether passes should be replaced with shadow caster / receiver passes |
virtual void Ogre::SceneManager::_suppressRenderStateChanges | ( | bool | suppress | ) | [virtual, inherited] |
Indicates to the SceneManager whether it should suppress changing the RenderSystem states when rendering objects.
suppress | If true, no RenderSystem state changes will be issued until this method is called again with a parameter of false. |
virtual bool Ogre::SceneManager::_areRenderStateChangesSuppressed | ( | void | ) | const [virtual, inherited] |
Are render state changes suppressed?
Definition at line 3039 of file OgreSceneManager.h.
virtual const Pass* Ogre::SceneManager::_setPass | ( | const Pass * | pass, | |
bool | evenIfSuppressed = false , |
|||
bool | shadowDerivation = true | |||
) | [virtual, inherited] |
Internal method for setting up the renderstate for a rendering pass.
pass | The Pass details to set. | |
evenIfSuppressed | Sets the pass details even if render state changes are suppressed; if you are using this to manually set state when render state changes are suppressed, you should set this to true. | |
shadowDerivation | If false, disables the derivation of shadow passes from original passes |
virtual void Ogre::SceneManager::_suppressShadows | ( | bool | suppress | ) | [virtual, inherited] |
Indicates to the SceneManager whether it should suppress the active shadow rendering technique until told otherwise.
suppress | If true, no shadow rendering will occur until this method is called again with a parameter of false. |
virtual bool Ogre::SceneManager::_areShadowsSuppressed | ( | void | ) | const [virtual, inherited] |
Are shadows suppressed?
Definition at line 3072 of file OgreSceneManager.h.
virtual void Ogre::SceneManager::_renderQueueGroupObjects | ( | RenderQueueGroup * | group, | |
QueuedRenderableCollection::OrganisationMode | om | |||
) | [virtual, inherited] |
Render the objects in a given queue group.
void Ogre::SceneManager::setQueuedRenderableVisitor | ( | SceneMgrQueuedRenderableVisitor * | visitor | ) | [inherited] |
Advanced method for supplying an alternative visitor, used for parsing the render queues and sending the results to the renderer.
visitor | Your implementation of SceneMgrQueuedRenderableVisitor. If you pass 0, the default implementation will be used. |
SceneMgrQueuedRenderableVisitor* Ogre::SceneManager::getQueuedRenderableVisitor | ( | void | ) | const [inherited] |
Gets the current visitor object which processes queued renderables.
RenderSystem* Ogre::SceneManager::getDestinationRenderSystem | ( | ) | [inherited] |
Get the rendersystem subclass to which the output of this Scene Manager gets sent.
Viewport* Ogre::SceneManager::getCurrentViewport | ( | void | ) | const [inherited] |
Gets the current viewport being rendered (advanced use only, only valid during viewport update.
Definition at line 3109 of file OgreSceneManager.h.
const VisibleObjectsBoundsInfo& Ogre::SceneManager::getVisibleObjectsBoundsInfo | ( | const Camera * | cam | ) | const [inherited] |
Returns a visibility boundary box for a specific camera.
const VisibleObjectsBoundsInfo& Ogre::SceneManager::getShadowCasterBoundsInfo | ( | const Light * | light, | |
size_t | iteration = 0 | |||
) | const [inherited] |
Returns the shadow caster AAB for a specific light-camera combination.
virtual void Ogre::SceneManager::setCameraRelativeRendering | ( | bool | rel | ) | [virtual, inherited] |
Set whether to use camera-relative co-ordinates when rendering, ie to always place the camera at the origin and move the world around it.
Definition at line 3131 of file OgreSceneManager.h.
virtual bool Ogre::SceneManager::getCameraRelativeRendering | ( | ) | const [virtual, inherited] |
Get whether to use camera-relative co-ordinates when rendering, ie to always place the camera at the origin and move the world around it.
Definition at line 3136 of file OgreSceneManager.h.
void* Ogre::AllocatedObject< Alloc >::operator new | ( | size_t | sz, | |
const char * | file, | |||
int | line, | |||
const char * | func | |||
) | [inherited] |
void* Ogre::AllocatedObject< Alloc >::operator new | ( | size_t | sz | ) | [inherited] |
Definition at line 67 of file OgreMemoryAllocatedObject.h.
void* Ogre::AllocatedObject< Alloc >::operator new | ( | size_t | sz, | |
void * | ptr | |||
) | [inherited] |
void* Ogre::AllocatedObject< Alloc >::operator new[] | ( | size_t | sz, | |
const char * | file, | |||
int | line, | |||
const char * | func | |||
) | [inherited] |
void* Ogre::AllocatedObject< Alloc >::operator new[] | ( | size_t | sz | ) | [inherited] |
Definition at line 84 of file OgreMemoryAllocatedObject.h.
void Ogre::AllocatedObject< Alloc >::operator delete | ( | void * | ptr | ) | [inherited] |
Definition at line 89 of file OgreMemoryAllocatedObject.h.
void Ogre::AllocatedObject< Alloc >::operator delete | ( | void * | ptr, | |
void * | ||||
) | [inherited] |
Definition at line 95 of file OgreMemoryAllocatedObject.h.
void Ogre::AllocatedObject< Alloc >::operator delete | ( | void * | ptr, | |
const char * | , | |||
int | , | |||
const char * | ||||
) | [inherited] |
Definition at line 101 of file OgreMemoryAllocatedObject.h.
void Ogre::AllocatedObject< Alloc >::operator delete[] | ( | void * | ptr | ) | [inherited] |
Definition at line 106 of file OgreMemoryAllocatedObject.h.
void Ogre::AllocatedObject< Alloc >::operator delete[] | ( | void * | ptr, | |
const char * | , | |||
int | , | |||
const char * | ||||
) | [inherited] |
Definition at line 112 of file OgreMemoryAllocatedObject.h.
friend class SceneMgrQueuedRenderableVisitor [friend, inherited] |
Allow visitor helper to access protected methods.
Definition at line 375 of file OgreSceneManager.h.
uint32 Ogre::SceneManager::WORLD_GEOMETRY_TYPE_MASK [static, inherited] |
Query type mask which will be used for world geometry.
Definition at line 166 of file OgreSceneManager.h.
uint32 Ogre::SceneManager::ENTITY_TYPE_MASK [static, inherited] |
Query type mask which will be used for entities.
Definition at line 168 of file OgreSceneManager.h.
uint32 Ogre::SceneManager::FX_TYPE_MASK [static, inherited] |
Query type mask which will be used for effects like billboardsets / particle systems.
Definition at line 170 of file OgreSceneManager.h.
uint32 Ogre::SceneManager::STATICGEOMETRY_TYPE_MASK [static, inherited] |
Query type mask which will be used for StaticGeometry.
Definition at line 172 of file OgreSceneManager.h.
uint32 Ogre::SceneManager::LIGHT_TYPE_MASK [static, inherited] |
Query type mask which will be used for lights.
Definition at line 174 of file OgreSceneManager.h.
uint32 Ogre::SceneManager::FRUSTUM_TYPE_MASK [static, inherited] |
Query type mask which will be used for frusta and cameras.
Definition at line 176 of file OgreSceneManager.h.
uint32 Ogre::SceneManager::USER_TYPE_MASK_LIMIT [static, inherited] |
String Ogre::SceneManager::mName [protected, inherited] |
RenderQueue* Ogre::SceneManager::mRenderQueue [protected, inherited] |
bool Ogre::SceneManager::mLastRenderQueueInvocationCustom [protected, inherited] |
Definition at line 389 of file OgreSceneManager.h.
ColourValue Ogre::SceneManager::mAmbientLight [protected, inherited] |
RenderSystem* Ogre::SceneManager::mDestRenderSystem [protected, inherited] |
CameraList Ogre::SceneManager::mCameras [protected, inherited] |
Central list of cameras - for easy memory management and lookup.
Definition at line 401 of file OgreSceneManager.h.
StaticGeometryList Ogre::SceneManager::mStaticGeometryList [protected, inherited] |
Definition at line 404 of file OgreSceneManager.h.
InstancedGeometryList Ogre::SceneManager::mInstancedGeometryList [protected, inherited] |
Definition at line 406 of file OgreSceneManager.h.
SceneNodeList Ogre::SceneManager::mSceneNodes [protected, inherited] |
Central list of SceneNodes - for easy memory management.
Definition at line 416 of file OgreSceneManager.h.
Camera* Ogre::SceneManager::mCameraInProgress [protected, inherited] |
Viewport* Ogre::SceneManager::mCurrentViewport [protected, inherited] |
SceneNode* Ogre::SceneManager::mSceneRoot [protected, inherited] |
AutoTrackingSceneNodes Ogre::SceneManager::mAutoTrackingSceneNodes [protected, inherited] |
Definition at line 428 of file OgreSceneManager.h.
Entity* Ogre::SceneManager::mSkyPlaneEntity [protected, inherited] |
Definition at line 432 of file OgreSceneManager.h.
Entity* Ogre::SceneManager::mSkyDomeEntity[5] [protected, inherited] |
Definition at line 433 of file OgreSceneManager.h.
ManualObject* Ogre::SceneManager::mSkyBoxObj [protected, inherited] |
Definition at line 434 of file OgreSceneManager.h.
SceneNode* Ogre::SceneManager::mSkyPlaneNode [protected, inherited] |
Definition at line 436 of file OgreSceneManager.h.
SceneNode* Ogre::SceneManager::mSkyDomeNode [protected, inherited] |
Definition at line 437 of file OgreSceneManager.h.
SceneNode* Ogre::SceneManager::mSkyBoxNode [protected, inherited] |
Definition at line 438 of file OgreSceneManager.h.
bool Ogre::SceneManager::mSkyPlaneEnabled [protected, inherited] |
Definition at line 441 of file OgreSceneManager.h.
uint8 Ogre::SceneManager::mSkyPlaneRenderQueue [protected, inherited] |
Definition at line 442 of file OgreSceneManager.h.
Plane Ogre::SceneManager::mSkyPlane [protected, inherited] |
Definition at line 443 of file OgreSceneManager.h.
SkyPlaneGenParameters Ogre::SceneManager::mSkyPlaneGenParameters [protected, inherited] |
Definition at line 444 of file OgreSceneManager.h.
bool Ogre::SceneManager::mSkyBoxEnabled [protected, inherited] |
Definition at line 446 of file OgreSceneManager.h.
uint8 Ogre::SceneManager::mSkyBoxRenderQueue [protected, inherited] |
Definition at line 447 of file OgreSceneManager.h.
Quaternion Ogre::SceneManager::mSkyBoxOrientation [protected, inherited] |
Definition at line 448 of file OgreSceneManager.h.
SkyBoxGenParameters Ogre::SceneManager::mSkyBoxGenParameters [protected, inherited] |
Definition at line 449 of file OgreSceneManager.h.
bool Ogre::SceneManager::mSkyDomeEnabled [protected, inherited] |
Definition at line 451 of file OgreSceneManager.h.
uint8 Ogre::SceneManager::mSkyDomeRenderQueue [protected, inherited] |
Definition at line 452 of file OgreSceneManager.h.
Quaternion Ogre::SceneManager::mSkyDomeOrientation [protected, inherited] |
Definition at line 453 of file OgreSceneManager.h.
SkyDomeGenParameters Ogre::SceneManager::mSkyDomeGenParameters [protected, inherited] |
Definition at line 454 of file OgreSceneManager.h.
FogMode Ogre::SceneManager::mFogMode [protected, inherited] |
Definition at line 457 of file OgreSceneManager.h.
ColourValue Ogre::SceneManager::mFogColour [protected, inherited] |
Definition at line 458 of file OgreSceneManager.h.
Real Ogre::SceneManager::mFogStart [protected, inherited] |
Definition at line 459 of file OgreSceneManager.h.
Real Ogre::SceneManager::mFogEnd [protected, inherited] |
Definition at line 460 of file OgreSceneManager.h.
Real Ogre::SceneManager::mFogDensity [protected, inherited] |
Definition at line 461 of file OgreSceneManager.h.
SpecialCaseRenderQueueList Ogre::SceneManager::mSpecialCaseQueueList [protected, inherited] |
Definition at line 464 of file OgreSceneManager.h.
SpecialCaseRenderQueueMode Ogre::SceneManager::mSpecialCaseQueueMode [protected, inherited] |
Definition at line 465 of file OgreSceneManager.h.
uint8 Ogre::SceneManager::mWorldGeometryRenderQueue [protected, inherited] |
Definition at line 466 of file OgreSceneManager.h.
unsigned long Ogre::SceneManager::mLastFrameNumber [protected, inherited] |
Definition at line 468 of file OgreSceneManager.h.
Matrix4 Ogre::SceneManager::mTempXform[256] [protected, inherited] |
Definition at line 469 of file OgreSceneManager.h.
bool Ogre::SceneManager::mResetIdentityView [protected, inherited] |
Definition at line 470 of file OgreSceneManager.h.
bool Ogre::SceneManager::mResetIdentityProj [protected, inherited] |
Definition at line 471 of file OgreSceneManager.h.
bool Ogre::SceneManager::mNormaliseNormalsOnScale [protected, inherited] |
Definition at line 473 of file OgreSceneManager.h.
bool Ogre::SceneManager::mFlipCullingOnNegativeScale [protected, inherited] |
Definition at line 474 of file OgreSceneManager.h.
CullingMode Ogre::SceneManager::mPassCullingMode [protected, inherited] |
Definition at line 475 of file OgreSceneManager.h.
CamVisibleObjectsMap Ogre::SceneManager::mCamVisibleObjectsMap [protected, inherited] |
Definition at line 487 of file OgreSceneManager.h.
ShadowCamLightMapping Ogre::SceneManager::mShadowCamLightMapping [protected, inherited] |
Definition at line 491 of file OgreSceneManager.h.
size_t Ogre::SceneManager::mShadowTextureCountPerType[3] [protected, inherited] |
std::vector<size_t> Ogre::SceneManager::mShadowTextureIndexLightList [protected, inherited] |
Array defining shadow texture index in light list.
Definition at line 497 of file OgreSceneManager.h.
LightList Ogre::SceneManager::mLightsAffectingFrustum [protected, inherited] |
Definition at line 521 of file OgreSceneManager.h.
LightInfoList Ogre::SceneManager::mCachedLightInfos [protected, inherited] |
Definition at line 522 of file OgreSceneManager.h.
LightInfoList Ogre::SceneManager::mTestLightInfos [protected, inherited] |
Definition at line 523 of file OgreSceneManager.h.
ulong Ogre::SceneManager::mLightsDirtyCounter [protected, inherited] |
Definition at line 524 of file OgreSceneManager.h.
MovableObjectCollectionMap Ogre::SceneManager::mMovableObjectCollectionMap [protected, inherited] |
Definition at line 534 of file OgreSceneManager.h.
Pass* Ogre::SceneManager::mShadowCasterPlainBlackPass [protected, inherited] |
A pass designed to let us render shadow colour on white for texture shadows.
Definition at line 554 of file OgreSceneManager.h.
Pass* Ogre::SceneManager::mShadowReceiverPass [protected, inherited] |
A pass designed to let us render shadow receivers for texture shadows.
Definition at line 556 of file OgreSceneManager.h.
bool Ogre::SceneManager::mDisplayNodes [protected, inherited] |
Definition at line 621 of file OgreSceneManager.h.
AnimationList Ogre::SceneManager::mAnimationsList [protected, inherited] |
Definition at line 625 of file OgreSceneManager.h.
AnimationStateSet Ogre::SceneManager::mAnimationStates [protected, inherited] |
Definition at line 627 of file OgreSceneManager.h.
RenderQueueListenerList Ogre::SceneManager::mRenderQueueListeners [protected, inherited] |
Definition at line 639 of file OgreSceneManager.h.
ListenerList Ogre::SceneManager::mListeners [protected, inherited] |
Definition at line 642 of file OgreSceneManager.h.
bool Ogre::SceneManager::mShowBoundingBoxes [protected, inherited] |
Flag that indicates if all of the scene node's bounding boxes should be shown as a wireframe.
Definition at line 662 of file OgreSceneManager.h.
AutoParamDataSource* Ogre::SceneManager::mAutoParamDataSource [protected, inherited] |
Utility class for calculating automatic parameters for gpu programs.
Definition at line 697 of file OgreSceneManager.h.
ShadowTechnique Ogre::SceneManager::mShadowTechnique [protected, inherited] |
Definition at line 699 of file OgreSceneManager.h.
bool Ogre::SceneManager::mDebugShadows [protected, inherited] |
Definition at line 700 of file OgreSceneManager.h.
ColourValue Ogre::SceneManager::mShadowColour [protected, inherited] |
Definition at line 701 of file OgreSceneManager.h.
Pass* Ogre::SceneManager::mShadowDebugPass [protected, inherited] |
Definition at line 702 of file OgreSceneManager.h.
Pass* Ogre::SceneManager::mShadowStencilPass [protected, inherited] |
Definition at line 703 of file OgreSceneManager.h.
Pass* Ogre::SceneManager::mShadowModulativePass [protected, inherited] |
Definition at line 704 of file OgreSceneManager.h.
bool Ogre::SceneManager::mShadowMaterialInitDone [protected, inherited] |
Definition at line 705 of file OgreSceneManager.h.
HardwareIndexBufferSharedPtr Ogre::SceneManager::mShadowIndexBuffer [protected, inherited] |
Definition at line 706 of file OgreSceneManager.h.
size_t Ogre::SceneManager::mShadowIndexBufferSize [protected, inherited] |
Definition at line 707 of file OgreSceneManager.h.
Rectangle2D* Ogre::SceneManager::mFullScreenQuad [protected, inherited] |
Definition at line 708 of file OgreSceneManager.h.
Real Ogre::SceneManager::mShadowDirLightExtrudeDist [protected, inherited] |
Definition at line 709 of file OgreSceneManager.h.
IlluminationRenderStage Ogre::SceneManager::mIlluminationStage [protected, inherited] |
Definition at line 710 of file OgreSceneManager.h.
ShadowTextureConfigList Ogre::SceneManager::mShadowTextureConfigList [protected, inherited] |
Definition at line 711 of file OgreSceneManager.h.
bool Ogre::SceneManager::mShadowTextureConfigDirty [protected, inherited] |
Definition at line 712 of file OgreSceneManager.h.
ShadowTextureList Ogre::SceneManager::mShadowTextures [protected, inherited] |
Definition at line 713 of file OgreSceneManager.h.
TexturePtr Ogre::SceneManager::mNullShadowTexture [protected, inherited] |
Definition at line 714 of file OgreSceneManager.h.
ShadowTextureCameraList Ogre::SceneManager::mShadowTextureCameras [protected, inherited] |
Definition at line 716 of file OgreSceneManager.h.
Texture* Ogre::SceneManager::mCurrentShadowTexture [protected, inherited] |
Definition at line 717 of file OgreSceneManager.h.
bool Ogre::SceneManager::mShadowUseInfiniteFarPlane [protected, inherited] |
Definition at line 718 of file OgreSceneManager.h.
bool Ogre::SceneManager::mShadowCasterRenderBackFaces [protected, inherited] |
Definition at line 719 of file OgreSceneManager.h.
bool Ogre::SceneManager::mShadowAdditiveLightClip [protected, inherited] |
Definition at line 720 of file OgreSceneManager.h.
LightClippingInfoMap Ogre::SceneManager::mLightClippingInfoMap [protected, inherited] |
Definition at line 732 of file OgreSceneManager.h.
unsigned long Ogre::SceneManager::mLightClippingInfoMapFrameNumber [protected, inherited] |
Definition at line 733 of file OgreSceneManager.h.
ShadowCameraSetupPtr Ogre::SceneManager::mDefaultShadowCameraSetup [protected, inherited] |
ShadowCasterList Ogre::SceneManager::mShadowCasterList [protected, inherited] |
Definition at line 788 of file OgreSceneManager.h.
SphereSceneQuery* Ogre::SceneManager::mShadowCasterSphereQuery [protected, inherited] |
Definition at line 789 of file OgreSceneManager.h.
AxisAlignedBoxSceneQuery* Ogre::SceneManager::mShadowCasterAABBQuery [protected, inherited] |
Definition at line 790 of file OgreSceneManager.h.
Real Ogre::SceneManager::mDefaultShadowFarDist [protected, inherited] |
Definition at line 791 of file OgreSceneManager.h.
Real Ogre::SceneManager::mDefaultShadowFarDistSquared [protected, inherited] |
Definition at line 792 of file OgreSceneManager.h.
Real Ogre::SceneManager::mShadowTextureOffset [protected, inherited] |
Definition at line 793 of file OgreSceneManager.h.
Real Ogre::SceneManager::mShadowTextureFadeStart [protected, inherited] |
Definition at line 794 of file OgreSceneManager.h.
Real Ogre::SceneManager::mShadowTextureFadeEnd [protected, inherited] |
Definition at line 795 of file OgreSceneManager.h.
bool Ogre::SceneManager::mShadowTextureSelfShadow [protected, inherited] |
Definition at line 796 of file OgreSceneManager.h.
Pass* Ogre::SceneManager::mShadowTextureCustomCasterPass [protected, inherited] |
Definition at line 797 of file OgreSceneManager.h.
Pass* Ogre::SceneManager::mShadowTextureCustomReceiverPass [protected, inherited] |
Definition at line 798 of file OgreSceneManager.h.
String Ogre::SceneManager::mShadowTextureCustomCasterVertexProgram [protected, inherited] |
Definition at line 799 of file OgreSceneManager.h.
String Ogre::SceneManager::mShadowTextureCustomReceiverVertexProgram [protected, inherited] |
Definition at line 800 of file OgreSceneManager.h.
String Ogre::SceneManager::mShadowTextureCustomReceiverFragmentProgram [protected, inherited] |
Definition at line 801 of file OgreSceneManager.h.
GpuProgramParametersSharedPtr Ogre::SceneManager::mShadowTextureCustomCasterVPParams [protected, inherited] |
Definition at line 802 of file OgreSceneManager.h.
GpuProgramParametersSharedPtr Ogre::SceneManager::mShadowTextureCustomReceiverVPParams [protected, inherited] |
Definition at line 803 of file OgreSceneManager.h.
GpuProgramParametersSharedPtr Ogre::SceneManager::mShadowTextureCustomReceiverFPParams [protected, inherited] |
Definition at line 804 of file OgreSceneManager.h.
uint32 Ogre::SceneManager::mVisibilityMask [protected, inherited] |
bool Ogre::SceneManager::mFindVisibleObjects [protected, inherited] |
Definition at line 808 of file OgreSceneManager.h.
bool Ogre::SceneManager::mSuppressRenderStateChanges [protected, inherited] |
bool Ogre::SceneManager::mSuppressShadows [protected, inherited] |
GpuProgramParametersSharedPtr Ogre::SceneManager::mInfiniteExtrusionParams [protected, inherited] |
Definition at line 816 of file OgreSceneManager.h.
GpuProgramParametersSharedPtr Ogre::SceneManager::mFiniteExtrusionParams [protected, inherited] |
Definition at line 817 of file OgreSceneManager.h.
ShadowCasterSceneQueryListener* Ogre::SceneManager::mShadowCasterQueryListener [protected, inherited] |
Definition at line 851 of file OgreSceneManager.h.
SceneMgrQueuedRenderableVisitor* Ogre::SceneManager::mActiveQueuedRenderableVisitor [protected, inherited] |
The active renderable visitor class - subclasses could override this.
Definition at line 916 of file OgreSceneManager.h.
SceneMgrQueuedRenderableVisitor Ogre::SceneManager::mDefaultQueuedRenderableVisitor [protected, inherited] |
bool Ogre::SceneManager::mCameraRelativeRendering [protected, inherited] |
Matrix4 Ogre::SceneManager::mCachedViewMatrix [protected, inherited] |
Definition at line 922 of file OgreSceneManager.h.
Vector3 Ogre::SceneManager::mCameraRelativePosition [protected, inherited] |
Definition at line 923 of file OgreSceneManager.h.
Copyright © 2008 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Sun Sep 27 22:06:28 2009