|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xbig.base.NativeObject
org.ogre4j.DefaultSceneManager
public class DefaultSceneManager
| Nested Class Summary |
|---|
| Field Summary |
|---|
| Fields inherited from class org.xbig.base.NativeObject |
|---|
deleted, object, remote |
| Constructor Summary | |
|---|---|
|
DefaultSceneManager(InstancePointer p)
This constructor is public for internal useage only! |
protected |
DefaultSceneManager(InstancePointer p,
boolean remote)
Creates a Java wrapper object for an existing C++ object. |
|
DefaultSceneManager(java.lang.String name)
|
|
DefaultSceneManager(WithoutNativeObject val)
Allows creation of Java objects without C++ objects. |
| Method Summary | |
|---|---|
void |
_applySceneAnimations()
Internal method for applying animations to scene nodes. |
boolean |
_areRenderStateChangesSuppressed()
Are render state changes suppressed? |
boolean |
_areShadowsSuppressed()
Are shadows suppressed? |
void |
_findVisibleObjects(ICamera cam,
IVisibleObjectsBoundsInfo visibleBounds,
boolean onlyShadowCasters)
Internal method which parses the scene to find visible objects to render. |
long |
_getCombinedVisibilityMask()
Internal method for getting the combination between the global visibility mask and the per-viewport visibility mask. |
ILightList |
_getLightsAffectingFrustum()
Get the list of lights which could be affecting the frustum. |
long |
_getLightsDirtyCounter()
Advance method to gets the lights dirty counter. |
void |
_injectRenderWithPass(IPass pass,
IRenderable rend,
boolean shadowDerivation)
Render something as if it came from the current queue. |
void |
_notifyAutotrackingSceneNode(ISceneNode node,
boolean autoTrack)
Internal method for notifying the manager that a is autotracking. |
void |
_notifyLightsDirty()
Advance method to increase the lights dirty counter due lights changed. |
void |
_populateLightList(IVector3 position,
float radius,
ILightList destList)
Populate a light list with an ordered set of the lights which are closest to the position specified. |
void |
_queueSkiesForRendering(ICamera cam)
Internal method for queueing the sky objects with the params as previously set through setSkyBox, setSkyPlane and setSkyDome. |
void |
_renderQueueGroupObjects(IRenderQueueGroup group,
QueuedRenderableCollection.OrganisationMode om)
Render the objects in a given queue group |
void |
_renderScene(ICamera camera,
IViewport vp,
boolean includeOverlays)
Prompts the class to send its contents to the renderer. |
void |
_renderVisibleObjects()
Sends visible objects found in _findVisibleObjects to the rendering engine. |
void |
_setDestinationRenderSystem(IRenderSystem sys)
Notifies the scene manager of its destination render system |
IPass |
_setPass(IPass pass,
boolean evenIfSuppressed,
boolean shadowDerivation)
Internal method for setting up the renderstate for a rendering pass. |
void |
_setSkyBox(boolean enable,
java.lang.String materialName,
float distance,
short renderQueue,
IQuaternion orientation,
java.lang.String groupName)
Enables / disables a 'sky box' i.e. a 6-sided box at constant distance from the camera representing the sky. |
void |
_setSkyDome(boolean enable,
java.lang.String materialName,
float curvature,
float tiling,
float distance,
short renderQueue,
IQuaternion orientation,
int xsegments,
int ysegments,
int ysegments_keep,
java.lang.String groupName)
Enables / disables a 'sky dome' i.e. an illusion of a curved sky. |
void |
_setSkyPlane(boolean enable,
IPlane plane,
java.lang.String materialName,
float scale,
float tiling,
short renderQueue,
float bow,
int xsegments,
int ysegments,
java.lang.String groupName)
Enables / disables a 'sky plane' i.e. a plane at constant distance from the camera representing the sky. |
void |
_suppressRenderStateChanges(boolean suppress)
Indicates to the whether it should suppress changing the states when rendering objects. |
void |
_suppressShadows(boolean suppress)
Indicates to the whether it should suppress the active shadow rendering technique until told otherwise. |
void |
_updateSceneGraph(ICamera cam)
Internal method for updating the scene graph ie the tree of instances managed by this class. |
void |
addListener(ISceneManager.IListener s)
Add a listener which will get called back on scene manager events. |
void |
addRenderQueueListener(IRenderQueueListener newListener)
Registers a new which will be notified when render queues are processed. |
void |
addSpecialCaseRenderQueue(short qid)
Adds an item to the 'special case' render queue list. |
void |
clearScene()
Empties the entire scene, inluding all SceneNodes, Entities, Lights, BillboardSets etc. |
void |
clearSpecialCaseRenderQueues()
Clears the 'special case' render queue list. |
IAxisAlignedBoxSceneQuery |
createAABBQuery(IAxisAlignedBox box,
long mask)
Creates an for this scene manager. |
IAnimation |
createAnimation(java.lang.String name,
float length)
Creates an animation which can be used to animate scene nodes. |
IAnimationState |
createAnimationState(java.lang.String animName)
Create an object for managing application of animations. |
IBillboardChain |
createBillboardChain(java.lang.String name)
Create a , an object which you can use to render a linked chain of billboards. |
IBillboardSet |
createBillboardSet(java.lang.String name,
long poolSize)
Creates a new for use with this scene manager. |
ICamera |
createCamera(java.lang.String name)
Creates a camera to be managed by this scene manager. |
IEntity |
createEntity(java.lang.String entityName,
SceneManager.PrefabType ptype)
Create an (instance of a discrete mesh) from a range of prefab shapes. |
IEntity |
createEntity(java.lang.String entityName,
java.lang.String meshName)
Create an (instance of a discrete mesh). |
IInstancedGeometry |
createInstancedGeometry(java.lang.String name)
Creates a instance suitable for use with this . |
IIntersectionSceneQuery |
createIntersectionQuery(long mask)
Creates an for this scene manager. |
ILight |
createLight(java.lang.String name)
Creates a light for use in the scene. |
IManualObject |
createManualObject(java.lang.String name)
Create a , an object which you populate with geometry manually through a GL immediate-mode style interface. |
IMovableObject |
createMovableObject(java.lang.String name,
java.lang.String typeName,
INameValuePairList params)
Create a movable object of the type specified. |
IParticleSystem |
createParticleSystem(java.lang.String name,
int quota,
java.lang.String resourceGroup)
Create a blank particle system. |
IParticleSystem |
createParticleSystem(java.lang.String name,
java.lang.String templateName)
Creates a particle system based on a template. |
IPlaneBoundedVolumeListSceneQuery |
createPlaneBoundedVolumeQuery(IPlaneBoundedVolumeList volumes,
long mask)
Creates a for this scene manager. |
IRaySceneQuery |
createRayQuery(IRay ray,
long mask)
Creates a for this scene manager. |
IRibbonTrail |
createRibbonTrail(java.lang.String name)
Create a , an object which you can use to render a linked chain of billboards which follows one or more nodes. |
ISceneNode |
createSceneNode()
Creates an instance of a . |
ISceneNode |
createSceneNode(java.lang.String name)
Creates an instance of a with a given name. |
ISphereSceneQuery |
createSphereQuery(ISphere sphere,
long mask)
Creates a for this scene manager. |
IStaticGeometry |
createStaticGeometry(java.lang.String name)
Creates a instance suitable for use with this . |
void |
delete()
Deletes the corresponding C++ object. |
void |
destroyAllAnimations()
Removes all animations created using this . |
void |
destroyAllAnimationStates()
Removes all animation states created using this . |
void |
destroyAllBillboardChains()
Removes & destroys all BillboardChains from the . |
void |
destroyAllBillboardSets()
Removes & destroys all BillboardSets. |
void |
destroyAllCameras()
Removes (and destroys) all cameras from the scene. |
void |
destroyAllEntities()
Removes & destroys all Entities. |
void |
destroyAllInstancedGeometry()
Remove & destroy all instances. |
void |
destroyAllLights()
Removes and destroys all lights in the scene. |
void |
destroyAllManualObjects()
Removes & destroys all ManualObjects from the . |
void |
destroyAllMovableObjects()
Destroy all MovableObjects. |
void |
destroyAllMovableObjectsByType(java.lang.String typeName)
Destroy all MovableObjects of a given type. |
void |
destroyAllParticleSystems()
Removes & destroys all ParticleSystems from the . |
void |
destroyAllRibbonTrails()
Removes & destroys all RibbonTrails from the . |
void |
destroyAllStaticGeometry()
Remove & destroy all instances. |
void |
destroyAnimation(java.lang.String name)
Destroys an . |
void |
destroyAnimationState(java.lang.String name)
Destroys an . |
void |
destroyBillboardChain(IBillboardChain obj)
Removes & destroys a from the . |
void |
destroyBillboardChain(java.lang.String name)
Removes & destroys a from the . |
void |
destroyBillboardSet(IBillboardSet set)
Removes & destroys an from the . |
void |
destroyBillboardSet(java.lang.String name)
Removes & destroys an from the by name. |
void |
destroyCamera(ICamera cam)
Removes a camera from the scene. |
void |
destroyCamera(java.lang.String name)
Removes a camera from the scene. |
void |
destroyEntity(IEntity ent)
Removes & destroys an from the . |
void |
destroyEntity(java.lang.String name)
Removes & destroys an from the by name. |
void |
destroyInstancedGeometry(IInstancedGeometry geom)
Remove & destroy a instance. |
void |
destroyInstancedGeometry(java.lang.String name)
Remove & destroy a instance. |
void |
destroyLight(ILight light)
Removes the light from the scene and destroys it based on a pointer. |
void |
destroyLight(java.lang.String name)
Removes the named light from the scene and destroys it. |
void |
destroyManualObject(IManualObject obj)
Removes & destroys a from the . |
void |
destroyManualObject(java.lang.String name)
Removes & destroys a from the . |
void |
destroyMovableObject(IMovableObject m)
Destroys a . |
void |
destroyMovableObject(java.lang.String name,
java.lang.String typeName)
Destroys a with the name specified, of the type specified. |
void |
destroyParticleSystem(IParticleSystem obj)
Removes & destroys a from the . |
void |
destroyParticleSystem(java.lang.String name)
Removes & destroys a from the . |
void |
destroyQuery(ISceneQuery query)
Destroys a scene query of any type. |
void |
destroyRibbonTrail(IRibbonTrail obj)
Removes & destroys a from the . |
void |
destroyRibbonTrail(java.lang.String name)
Removes & destroys a from the . |
void |
destroySceneNode(ISceneNode sn)
Destroys a . |
void |
destroySceneNode(java.lang.String name)
Destroys a with a given name. |
void |
destroyStaticGeometry(IStaticGeometry geom)
Remove & destroy a instance. |
void |
destroyStaticGeometry(java.lang.String name)
Remove & destroy a instance. |
int |
estimateWorldGeometry(IDataStreamPtr stream,
java.lang.String typeName)
Estimate the number of loading stages required to load the named world geometry. |
int |
estimateWorldGeometry(java.lang.String filename)
Estimate the number of loading stages required to load the named world geometry. |
void |
extractAllMovableObjectsByType(java.lang.String typeName)
Extract all injected MovableObjects of a given type. |
void |
extractMovableObject(IMovableObject m)
Extract a previously injected . |
void |
extractMovableObject(java.lang.String name,
java.lang.String typeName)
Extract a previously injected . |
void |
finalize()
|
IColourValue |
getAmbientLight()
Returns the ambient light level to be used for the scene. |
IAnimation |
getAnimation(java.lang.String name)
Looks up an object previously created with createAnimation. |
void |
getAnimationIterator(ISceneManager.IAnimationIterator returnValue)
Returns a specialised over all animations in the scene. |
IAnimationState |
getAnimationState(java.lang.String animName)
Retrieves animation state as previously created using createAnimationState. |
void |
getAnimationStateIterator(IAnimationStateIterator returnValue)
Returns a specialised over all animation states in the scene. |
IBillboardChain |
getBillboardChain(java.lang.String name)
Retrieves a pointer to the named . |
IBillboardSet |
getBillboardSet(java.lang.String name)
Retrieves a pointer to the named . |
ICamera |
getCamera(java.lang.String name)
Retrieves a pointer to the named camera. |
void |
getCameraIterator(ISceneManager.ICameraIterator returnValue)
Returns a specialised over all cameras in the scene. |
boolean |
getCameraRelativeRendering()
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. |
IViewport |
getCurrentViewport()
Gets the current viewport being rendered (advanced use only, only valid during viewport update. |
IRenderSystem |
getDestinationRenderSystem()
Get the rendersystem subclass to which the output of this Scene Manager gets sent |
boolean |
getDisplaySceneNodes()
Returns true if all scene nodes axis are to be displayed |
static long |
getENTITY_TYPE_MASK()
|
IEntity |
getEntity(java.lang.String name)
Retrieves a pointer to the named . |
boolean |
getFindVisibleObjects()
Gets whether the should search for visible objects, or whether they are being manually handled. |
boolean |
getFlipCullingOnNegativeScale()
Get whether to automatically flip the culling mode on objects whenever they are negatively scaled. |
IColourValue |
getFogColour()
Returns the fog colour for the scene. |
float |
getFogDensity()
Returns the fog density for the scene. |
float |
getFogEnd()
Returns the fog end distance for the scene. |
FogMode |
getFogMode()
Returns the fog mode for the scene. |
float |
getFogStart()
Returns the fog start distance for the scene. |
static long |
getFRUSTUM_TYPE_MASK()
|
static long |
getFX_TYPE_MASK()
|
IInstancedGeometry |
getInstancedGeometry(java.lang.String name)
Retrieve a previously created instance. |
static long |
getLIGHT_TYPE_MASK()
|
ILight |
getLight(java.lang.String name)
Returns a pointer to the named which has previously been added to the scene. |
IPlaneList |
getLightClippingPlanes(ILight l)
Retrieve a set of clipping planes for a given light. |
IRealRect |
getLightScissorRect(ILight l,
ICamera cam)
Retrieve a scissor rectangle for a given light and camera. |
IManualObject |
getManualObject(java.lang.String name)
Retrieves a pointer to the named . |
IMovableObject |
getMovableObject(java.lang.String name,
java.lang.String typeName)
Get a reference to a previously created . |
void |
getMovableObjectIterator(ISceneManager.IMovableObjectIterator returnValue,
java.lang.String typeName)
Get an iterator over all MovableObect instances of a given type. |
java.lang.String |
getName()
Return the instance name of this . |
boolean |
getNormaliseNormalsOnScale()
Get whether to automatically normalise normals on objects whenever they are scaled. |
boolean |
getOption(java.lang.String strKey,
VoidPointer pDestValue)
Method for getting the value of an implementation-specific Scene Manager option. |
boolean |
getOptionKeys(IStringVector refKeys)
Method for getting all the implementation-specific options of the scene manager. |
boolean |
getOptionValues(java.lang.String strKey,
IStringVector refValueList)
Method for getting all possible values for a specific option. |
IParticleSystem |
getParticleSystem(java.lang.String name)
Retrieves a pointer to the named . |
ISceneManager.ISceneMgrQueuedRenderableVisitor |
getQueuedRenderableVisitor()
Gets the current visitor object which processes queued renderables. |
IRenderQueue |
getRenderQueue()
Retrieves the internal render queue, for advanced users only. |
IRibbonTrail |
getRibbonTrail(java.lang.String name)
Retrieves a pointer to the named . |
ISceneNode |
getRootSceneNode()
Gets the at the root of the scene hierarchy. |
ISceneNode |
getSceneNode(java.lang.String name)
Retrieves a named from the scene graph. |
IShadowCameraSetupPtr |
getShadowCameraSetup()
Get the shadow camera setup in use for all lights which don't have their own shadow camera setup. |
IVisibleObjectsBoundsInfo |
getShadowCasterBoundsInfo(ILight light,
int iteration)
Returns the shadow caster AAB for a specific light-camera combination |
boolean |
getShadowCasterRenderBackFaces()
Gets whether or not shadow casters should be rendered into shadow textures using their back faces rather than their front faces. |
IColourValue |
getShadowColour()
Get the colour used to modulate areas in shadow. |
float |
getShadowDirectionalLightExtrusionDistance()
Gets the distance a shadow volume is extruded for a directional light. |
float |
getShadowDirLightTextureOffset()
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. |
float |
getShadowFarDistance()
Gets the default maximum distance away from the camera that shadows will be visible. |
float |
getShadowFarDistanceSquared()
|
int |
getShadowIndexBufferSize()
|
ShadowTechnique |
getShadowTechnique()
Gets the current shadow technique. |
ITexturePtr |
getShadowTexture(int shadowIndex)
Get a reference to the shadow texture currently in use at the given index. |
void |
getShadowTextureConfigIterator(IConstShadowTextureConfigIterator returnValue)
Get an iterator over the current shadow texture settings. |
int |
getShadowTextureCount()
|
int |
getShadowTextureCountPerLightType(Light.LightTypes type)
|
boolean |
getShadowTextureSelfShadow()
|
boolean |
getShadowUseLightClipPlanes()
Gets whether when using a built-in additive shadow mode, user clip planes should be used to restrict light rendering. |
boolean |
getShowBoundingBoxes()
Returns if all bounding boxes of scene nodes are to be displayed |
boolean |
getShowDebugShadows()
Are debug shadows shown? |
ISceneManager.ISkyBoxGenParameters |
getSkyBoxGenParameters()
Get the parameters used to generate the current SkyBox, if any |
ISceneNode |
getSkyBoxNode()
Get the skybox node, if enabled. |
ISceneManager.ISkyDomeGenParameters |
getSkyDomeGenParameters()
Get the parameters used to generate the current SkyDome, if any |
ISceneNode |
getSkyDomeNode()
Get the sky dome node, if enabled. |
ISceneManager.ISkyPlaneGenParameters |
getSkyPlaneGenParameters()
Get the parameters used to construct the SkyPlane, if any |
ISceneNode |
getSkyPlaneNode()
Get the sky plane node, if enabled. |
SceneManager.SpecialCaseRenderQueueMode |
getSpecialCaseRenderQueueMode()
Gets the way the special case render queue list is processed. |
static long |
getSTATICGEOMETRY_TYPE_MASK()
|
IStaticGeometry |
getStaticGeometry(java.lang.String name)
Retrieve a previously created instance. |
void |
getSuggestedViewpoint(IViewPoint returnValue,
boolean random)
Asks the to provide a suggested viewpoint from which the scene should be viewed. |
java.lang.String |
getTypeName()
Retrieve the type name of this scene manager. |
static long |
getUSER_TYPE_MASK_LIMIT()
|
long |
getVisibilityMask()
Gets a mask which is bitwise 'and'ed with objects own visibility masks to determine if the object is visible. |
IVisibleObjectsBoundsInfo |
getVisibleObjectsBoundsInfo(ICamera cam)
Returns a visibility boundary box for a specific camera. |
static long |
getWORLD_GEOMETRY_TYPE_MASK()
|
short |
getWorldGeometryRenderQueue()
Gets the render queue that the world geometry (if any) this renders will be associated with. |
boolean |
hasAnimation(java.lang.String name)
Returns whether an animation with the given name exists. |
boolean |
hasAnimationState(java.lang.String name)
Returns whether an animation state with the given name exists. |
boolean |
hasBillboardChain(java.lang.String name)
Returns whether a billboard chain with the given name exists. |
boolean |
hasBillboardSet(java.lang.String name)
Returns whether a billboardset with the given name exists. |
boolean |
hasCamera(java.lang.String name)
Returns whether a camera with the given name exists. |
boolean |
hasEntity(java.lang.String name)
Returns whether an entity with the given name exists. |
boolean |
hasLight(java.lang.String name)
Returns whether a light with the given name exists. |
boolean |
hasManualObject(java.lang.String name)
Returns whether a manual object with the given name exists. |
boolean |
hasMovableObject(java.lang.String name,
java.lang.String typeName)
Returns whether a movable object instance with the given name exists. |
boolean |
hasOption(java.lang.String strKey)
Method for verifying wether the scene manager has an implementation-specific option. |
boolean |
hasParticleSystem(java.lang.String name)
Returns whether a particle system with the given name exists. |
boolean |
hasRibbonTrail(java.lang.String name)
Returns whether a ribbon trail with the given name exists. |
boolean |
hasSceneNode(java.lang.String name)
Returns whether a scene node with the given name exists. |
boolean |
hasStaticGeometry(java.lang.String name)
Returns whether a static geometry instance with the given name exists. |
void |
injectMovableObject(IMovableObject m)
Inject a instance created externally. |
boolean |
isRenderQueueToBeProcessed(short qid)
Returns whether or not the named queue will be rendered based on the current 'special case' render queue list and mode. |
boolean |
isShadowTechniqueAdditive()
Is there an additive shadowing technique in use? |
boolean |
isShadowTechniqueIntegrated()
Is the shadow technique integrated into primary materials? |
boolean |
isShadowTechniqueInUse()
Is there any shadowing technique in use? |
boolean |
isShadowTechniqueModulative()
Is there a modulative shadowing technique in use? |
boolean |
isShadowTechniqueStencilBased()
Is there a stencil shadow based shadowing technique in use? |
boolean |
isShadowTechniqueTextureBased()
Is there a texture shadow based shadowing technique in use? |
boolean |
isSkyBoxEnabled()
Return whether a skybox is enabled |
boolean |
isSkyDomeEnabled()
Return whether a skydome is enabled |
boolean |
isSkyPlaneEnabled()
Return whether a key plane is enabled |
void |
manualRender(IRenderOperation rend,
IPass pass,
IViewport vp,
IMatrix4 worldMatrix,
IMatrix4 viewMatrix,
IMatrix4 projMatrix,
boolean doBeginEndFrame)
Manual rendering method, for advanced users only. |
void |
prepareWorldGeometry(IDataStreamPtr stream,
java.lang.String typeName)
Sets the source of the 'world' geometry, i.e. the large, mainly static geometry making up the world e.g. rooms, landscape etc. |
void |
prepareWorldGeometry(java.lang.String filename)
Sets the source of the 'world' geometry, i.e. the large, mainly static geometry making up the world e.g. rooms, landscape etc. |
void |
removeListener(ISceneManager.IListener s)
Remove a listener |
void |
removeRenderQueueListener(IRenderQueueListener delListener)
Removes a listener previously added with addRenderQueueListener. |
void |
removeSpecialCaseRenderQueue(short qid)
Removes an item to the 'special case' render queue list. |
void |
setAmbientLight(IColourValue colour)
Sets the ambient light level to be used for the scene. |
void |
setCameraRelativeRendering(boolean 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. |
void |
setDisplaySceneNodes(boolean display)
Tells the whether it should render the SceneNodes which make up the scene as well as the objects in the scene. |
static void |
setENTITY_TYPE_MASK(long _jni_value_)
|
void |
setFindVisibleObjects(boolean find)
Sets whether the should search for visible objects, or whether they are being manually handled. |
void |
setFlipCullingOnNegativeScale(boolean n)
Set whether to automatically flip the culling mode on objects whenever they are negatively scaled. |
void |
setFog(FogMode mode,
IColourValue colour,
float expDensity,
float linearStart,
float linearEnd)
Sets the fogging mode applied to the scene. |
static void |
setFRUSTUM_TYPE_MASK(long _jni_value_)
|
static void |
setFX_TYPE_MASK(long _jni_value_)
|
static void |
setLIGHT_TYPE_MASK(long _jni_value_)
|
void |
setNormaliseNormalsOnScale(boolean n)
Set whether to automatically normalise normals on objects whenever they are scaled. |
boolean |
setOption(java.lang.String strKey,
VoidPointer pValue)
Method for setting a specific option of the Scene Manager. |
void |
setQueuedRenderableVisitor(ISceneManager.ISceneMgrQueuedRenderableVisitor visitor)
Advanced method for supplying an alternative visitor, used for parsing the render queues and sending the results to the renderer. |
void |
setShadowCameraSetup(IShadowCameraSetupPtr shadowSetup)
Set the shadow camera setup to use for all lights which don't have their own shadow camera setup. |
void |
setShadowCasterRenderBackFaces(boolean bf)
Sets whether or not shadow casters should be rendered into shadow textures using their back faces rather than their front faces. |
void |
setShadowColour(IColourValue colour)
Set the colour used to modulate areas in shadow. |
void |
setShadowDirectionalLightExtrusionDistance(float dist)
Sets the distance a shadow volume is extruded for a directional light. |
void |
setShadowDirLightTextureOffset(float 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. |
void |
setShadowFarDistance(float distance)
Sets the default maximum distance away from the camera that shadows will be visible. |
void |
setShadowIndexBufferSize(int size)
Sets the maximum size of the index buffer used to render shadow primitives. |
void |
setShadowTechnique(ShadowTechnique technique)
Sets the general shadow technique to be used in this scene. |
void |
setShadowTextureCasterMaterial(java.lang.String name)
Sets the default material to use for rendering shadow casters. |
void |
setShadowTextureConfig(int shadowIndex,
int width,
int height,
PixelFormat format)
Set the detailed configuration for a shadow texture. |
void |
setShadowTextureConfig(int shadowIndex,
IShadowTextureConfig config)
Set the detailed configuration for a shadow texture. |
void |
setShadowTextureCount(int count)
Set the number of textures allocated for texture-based shadows. |
void |
setShadowTextureCountPerLightType(Light.LightTypes type,
int count)
Set the number of shadow textures a light type uses. |
void |
setShadowTextureFadeEnd(float fadeEnd)
Sets the proportional distance at which texture shadows finish to fading out. |
void |
setShadowTextureFadeStart(float fadeStart)
Sets the proportional distance at which texture shadows begin to fade out. |
void |
setShadowTexturePixelFormat(PixelFormat fmt)
Set the pixel format of the textures used for texture-based shadows. |
void |
setShadowTextureReceiverMaterial(java.lang.String name)
Sets the default material to use for rendering shadow receivers. |
void |
setShadowTextureSelfShadow(boolean selfShadow)
Sets whether or not texture shadows should attempt to self-shadow. |
void |
setShadowTextureSettings(int size,
int count,
PixelFormat fmt)
Sets the size and count of textures used in texture-based shadows. |
void |
setShadowTextureSize(int size)
Set the size of the texture used for all texture-based shadows. |
void |
setShadowUseInfiniteFarPlane(boolean enable)
Sets whether we should use an inifinite camera far plane when rendering stencil shadows. |
void |
setShadowUseLightClipPlanes(boolean enabled)
Sets whether when using a built-in additive shadow mode, user clip planes should be used to restrict light rendering. |
void |
setShowDebugShadows(boolean debug)
Enables / disables the rendering of debug information for shadows. |
void |
setSkyBox(boolean enable,
java.lang.String materialName,
float distance,
boolean drawFirst,
IQuaternion orientation,
java.lang.String groupName)
Enables / disables a 'sky box' i.e. a 6-sided box at constant distance from the camera representing the sky. |
void |
setSkyDome(boolean enable,
java.lang.String materialName,
float curvature,
float tiling,
float distance,
boolean drawFirst,
IQuaternion orientation,
int xsegments,
int ysegments,
int ysegments_keep,
java.lang.String groupName)
Enables / disables a 'sky dome' i.e. an illusion of a curved sky. |
void |
setSkyPlane(boolean enable,
IPlane plane,
java.lang.String materialName,
float scale,
float tiling,
boolean drawFirst,
float bow,
int xsegments,
int ysegments,
java.lang.String groupName)
Enables / disables a 'sky plane' i.e. a plane at constant distance from the camera representing the sky. |
void |
setSpecialCaseRenderQueueMode(SceneManager.SpecialCaseRenderQueueMode mode)
Sets the way the special case render queue list is processed. |
static void |
setSTATICGEOMETRY_TYPE_MASK(long _jni_value_)
|
static void |
setUSER_TYPE_MASK_LIMIT(long _jni_value_)
|
void |
setVisibilityMask(long vmask)
Sets a mask which is bitwise 'and'ed with objects own visibility masks to determine if the object is visible. |
static void |
setWORLD_GEOMETRY_TYPE_MASK(long _jni_value_)
|
void |
setWorldGeometry(IDataStreamPtr stream,
java.lang.String typeName)
Sets the source of the 'world' geometry, i.e. the large, mainly static geometry making up the world e.g. rooms, landscape etc. |
void |
setWorldGeometry(java.lang.String filename)
Sets the source of the 'world' geometry, i.e. the large, mainly static geometry making up the world e.g. rooms, landscape etc. |
void |
setWorldGeometryRenderQueue(short qid)
Sets the render queue that the world geometry (if any) this renders will be associated with. |
void |
showBoundingBoxes(boolean bShow)
Allows all bounding boxes of scene nodes to be displayed. |
| Methods inherited from class org.xbig.base.NativeObject |
|---|
disconnectFromNativeObject, equals, getInstancePointer, hashCode, setInstancePointer, setInstancePointer, setInstancePointer, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.xbig.base.INativeObject |
|---|
disconnectFromNativeObject, getInstancePointer, setInstancePointer, setInstancePointer, setInstancePointer |
| Constructor Detail |
|---|
public DefaultSceneManager(InstancePointer p)
protected DefaultSceneManager(InstancePointer p,
boolean remote)
public DefaultSceneManager(WithoutNativeObject val)
WithoutNativeObject,
INativeObject.disconnectFromNativeObject()public DefaultSceneManager(java.lang.String name)
| Method Detail |
|---|
public void delete()
INativeObjectSubclasses must implement this but if the native instance was created by the underlying library the native call to dispose must not happen!
delete in interface INativeObjectdelete in class NativeObject#remotepublic void finalize()
finalize in class NativeObjectpublic java.lang.String getTypeName()
ISceneManager
getTypeName in interface ISceneManagerpublic java.lang.String getName()
getName in interface ISceneManagerpublic ICamera createCamera(java.lang.String name)
createCamera in interface ISceneManagerpublic ICamera getCamera(java.lang.String name)
getCamera in interface ISceneManagerpublic boolean hasCamera(java.lang.String name)
hasCamera in interface ISceneManagerpublic void destroyCamera(ICamera cam)
destroyCamera in interface ISceneManagerpublic void destroyCamera(java.lang.String name)
destroyCamera in interface ISceneManagerpublic void destroyAllCameras()
destroyAllCameras in interface ISceneManagerpublic ILight createLight(java.lang.String name)
createLight in interface ISceneManagerpublic ILight getLight(java.lang.String name)
getLight in interface ISceneManagerpublic boolean hasLight(java.lang.String name)
hasLight in interface ISceneManagerpublic IPlaneList getLightClippingPlanes(ILight l)
getLightClippingPlanes in interface ISceneManager
public IRealRect getLightScissorRect(ILight l,
ICamera cam)
getLightScissorRect in interface ISceneManagerpublic void destroyLight(java.lang.String name)
destroyLight in interface ISceneManagerpublic void destroyLight(ILight light)
destroyLight in interface ISceneManagerpublic void destroyAllLights()
destroyAllLights in interface ISceneManagerpublic void _notifyLightsDirty()
_notifyLightsDirty in interface ISceneManagerpublic long _getLightsDirtyCounter()
_getLightsDirtyCounter in interface ISceneManagerpublic ILightList _getLightsAffectingFrustum()
_getLightsAffectingFrustum in interface ISceneManager
public void _populateLightList(IVector3 position,
float radius,
ILightList destList)
_populateLightList in interface ISceneManagerpublic ISceneNode createSceneNode()
createSceneNode in interface ISceneManagerpublic ISceneNode createSceneNode(java.lang.String name)
createSceneNode in interface ISceneManagerpublic void destroySceneNode(java.lang.String name)
destroySceneNode in interface ISceneManagerpublic void destroySceneNode(ISceneNode sn)
destroySceneNode in interface ISceneManagerpublic ISceneNode getRootSceneNode()
getRootSceneNode in interface ISceneManagerpublic ISceneNode getSceneNode(java.lang.String name)
getSceneNode in interface ISceneManagerpublic boolean hasSceneNode(java.lang.String name)
hasSceneNode in interface ISceneManager
public IEntity createEntity(java.lang.String entityName,
java.lang.String meshName)
createEntity in interface ISceneManager
public IEntity createEntity(java.lang.String entityName,
SceneManager.PrefabType ptype)
createEntity in interface ISceneManagerpublic IEntity getEntity(java.lang.String name)
getEntity in interface ISceneManagerpublic boolean hasEntity(java.lang.String name)
hasEntity in interface ISceneManagerpublic void destroyEntity(IEntity ent)
destroyEntity in interface ISceneManagerpublic void destroyEntity(java.lang.String name)
destroyEntity in interface ISceneManagerpublic void destroyAllEntities()
destroyAllEntities in interface ISceneManagerpublic IManualObject createManualObject(java.lang.String name)
createManualObject in interface ISceneManagerpublic IManualObject getManualObject(java.lang.String name)
getManualObject in interface ISceneManagerpublic boolean hasManualObject(java.lang.String name)
hasManualObject in interface ISceneManagerpublic void destroyManualObject(IManualObject obj)
destroyManualObject in interface ISceneManagerpublic void destroyManualObject(java.lang.String name)
destroyManualObject in interface ISceneManagerpublic void destroyAllManualObjects()
destroyAllManualObjects in interface ISceneManagerpublic IBillboardChain createBillboardChain(java.lang.String name)
createBillboardChain in interface ISceneManagerpublic IBillboardChain getBillboardChain(java.lang.String name)
getBillboardChain in interface ISceneManagerpublic boolean hasBillboardChain(java.lang.String name)
hasBillboardChain in interface ISceneManagerpublic void destroyBillboardChain(IBillboardChain obj)
destroyBillboardChain in interface ISceneManagerpublic void destroyBillboardChain(java.lang.String name)
destroyBillboardChain in interface ISceneManagerpublic void destroyAllBillboardChains()
destroyAllBillboardChains in interface ISceneManagerpublic IRibbonTrail createRibbonTrail(java.lang.String name)
createRibbonTrail in interface ISceneManagerpublic IRibbonTrail getRibbonTrail(java.lang.String name)
getRibbonTrail in interface ISceneManagerpublic boolean hasRibbonTrail(java.lang.String name)
hasRibbonTrail in interface ISceneManagerpublic void destroyRibbonTrail(IRibbonTrail obj)
destroyRibbonTrail in interface ISceneManagerpublic void destroyRibbonTrail(java.lang.String name)
destroyRibbonTrail in interface ISceneManagerpublic void destroyAllRibbonTrails()
destroyAllRibbonTrails in interface ISceneManager
public IParticleSystem createParticleSystem(java.lang.String name,
java.lang.String templateName)
createParticleSystem in interface ISceneManager
public IParticleSystem createParticleSystem(java.lang.String name,
int quota,
java.lang.String resourceGroup)
createParticleSystem in interface ISceneManagerpublic IParticleSystem getParticleSystem(java.lang.String name)
getParticleSystem in interface ISceneManagerpublic boolean hasParticleSystem(java.lang.String name)
hasParticleSystem in interface ISceneManagerpublic void destroyParticleSystem(IParticleSystem obj)
destroyParticleSystem in interface ISceneManagerpublic void destroyParticleSystem(java.lang.String name)
destroyParticleSystem in interface ISceneManagerpublic void destroyAllParticleSystems()
destroyAllParticleSystems in interface ISceneManagerpublic void clearScene()
clearScene in interface ISceneManagerpublic void setAmbientLight(IColourValue colour)
setAmbientLight in interface ISceneManagerpublic IColourValue getAmbientLight()
getAmbientLight in interface ISceneManagerpublic void prepareWorldGeometry(java.lang.String filename)
prepareWorldGeometry in interface ISceneManager
public void prepareWorldGeometry(IDataStreamPtr stream,
java.lang.String typeName)
prepareWorldGeometry in interface ISceneManagerpublic void setWorldGeometry(java.lang.String filename)
setWorldGeometry in interface ISceneManager
public void setWorldGeometry(IDataStreamPtr stream,
java.lang.String typeName)
setWorldGeometry in interface ISceneManagerpublic int estimateWorldGeometry(java.lang.String filename)
estimateWorldGeometry in interface ISceneManager
public int estimateWorldGeometry(IDataStreamPtr stream,
java.lang.String typeName)
estimateWorldGeometry in interface ISceneManager
public void getSuggestedViewpoint(IViewPoint returnValue,
boolean random)
getSuggestedViewpoint in interface ISceneManager
public boolean setOption(java.lang.String strKey,
VoidPointer pValue)
setOption in interface ISceneManager
public boolean getOption(java.lang.String strKey,
VoidPointer pDestValue)
getOption in interface ISceneManagerpublic boolean hasOption(java.lang.String strKey)
hasOption in interface ISceneManager
public boolean getOptionValues(java.lang.String strKey,
IStringVector refValueList)
getOptionValues in interface ISceneManagerpublic boolean getOptionKeys(IStringVector refKeys)
getOptionKeys in interface ISceneManagerpublic void _updateSceneGraph(ICamera cam)
_updateSceneGraph in interface ISceneManager
public void _findVisibleObjects(ICamera cam,
IVisibleObjectsBoundsInfo visibleBounds,
boolean onlyShadowCasters)
_findVisibleObjects in interface ISceneManagerpublic void _applySceneAnimations()
_applySceneAnimations in interface ISceneManagerpublic void _renderVisibleObjects()
_renderVisibleObjects in interface ISceneManager
public void _renderScene(ICamera camera,
IViewport vp,
boolean includeOverlays)
_renderScene in interface ISceneManagerpublic void _queueSkiesForRendering(ICamera cam)
_queueSkiesForRendering in interface ISceneManagerpublic void _setDestinationRenderSystem(IRenderSystem sys)
_setDestinationRenderSystem in interface ISceneManager
public void setSkyPlane(boolean enable,
IPlane plane,
java.lang.String materialName,
float scale,
float tiling,
boolean drawFirst,
float bow,
int xsegments,
int ysegments,
java.lang.String groupName)
setSkyPlane in interface ISceneManager
public void _setSkyPlane(boolean enable,
IPlane plane,
java.lang.String materialName,
float scale,
float tiling,
short renderQueue,
float bow,
int xsegments,
int ysegments,
java.lang.String groupName)
_setSkyPlane in interface ISceneManagerpublic boolean isSkyPlaneEnabled()
isSkyPlaneEnabled in interface ISceneManagerpublic ISceneNode getSkyPlaneNode()
getSkyPlaneNode in interface ISceneManagerpublic ISceneManager.ISkyPlaneGenParameters getSkyPlaneGenParameters()
getSkyPlaneGenParameters in interface ISceneManager
public void setSkyBox(boolean enable,
java.lang.String materialName,
float distance,
boolean drawFirst,
IQuaternion orientation,
java.lang.String groupName)
setSkyBox in interface ISceneManager
public void _setSkyBox(boolean enable,
java.lang.String materialName,
float distance,
short renderQueue,
IQuaternion orientation,
java.lang.String groupName)
_setSkyBox in interface ISceneManagerpublic boolean isSkyBoxEnabled()
isSkyBoxEnabled in interface ISceneManagerpublic ISceneNode getSkyBoxNode()
getSkyBoxNode in interface ISceneManagerpublic ISceneManager.ISkyBoxGenParameters getSkyBoxGenParameters()
getSkyBoxGenParameters in interface ISceneManager
public void setSkyDome(boolean enable,
java.lang.String materialName,
float curvature,
float tiling,
float distance,
boolean drawFirst,
IQuaternion orientation,
int xsegments,
int ysegments,
int ysegments_keep,
java.lang.String groupName)
setSkyDome in interface ISceneManager
public void _setSkyDome(boolean enable,
java.lang.String materialName,
float curvature,
float tiling,
float distance,
short renderQueue,
IQuaternion orientation,
int xsegments,
int ysegments,
int ysegments_keep,
java.lang.String groupName)
_setSkyDome in interface ISceneManagerpublic boolean isSkyDomeEnabled()
isSkyDomeEnabled in interface ISceneManagerpublic ISceneNode getSkyDomeNode()
getSkyDomeNode in interface ISceneManagerpublic ISceneManager.ISkyDomeGenParameters getSkyDomeGenParameters()
getSkyDomeGenParameters in interface ISceneManager
public void setFog(FogMode mode,
IColourValue colour,
float expDensity,
float linearStart,
float linearEnd)
setFog in interface ISceneManagerpublic FogMode getFogMode()
getFogMode in interface ISceneManagerpublic IColourValue getFogColour()
getFogColour in interface ISceneManagerpublic float getFogStart()
getFogStart in interface ISceneManagerpublic float getFogEnd()
getFogEnd in interface ISceneManagerpublic float getFogDensity()
getFogDensity in interface ISceneManager
public IBillboardSet createBillboardSet(java.lang.String name,
long poolSize)
createBillboardSet in interface ISceneManagerpublic IBillboardSet getBillboardSet(java.lang.String name)
getBillboardSet in interface ISceneManagerpublic boolean hasBillboardSet(java.lang.String name)
hasBillboardSet in interface ISceneManagerpublic void destroyBillboardSet(IBillboardSet set)
destroyBillboardSet in interface ISceneManagerpublic void destroyBillboardSet(java.lang.String name)
destroyBillboardSet in interface ISceneManagerpublic void destroyAllBillboardSets()
destroyAllBillboardSets in interface ISceneManagerpublic void setDisplaySceneNodes(boolean display)
setDisplaySceneNodes in interface ISceneManagerpublic boolean getDisplaySceneNodes()
getDisplaySceneNodes in interface ISceneManager
public IAnimation createAnimation(java.lang.String name,
float length)
createAnimation in interface ISceneManagerpublic IAnimation getAnimation(java.lang.String name)
getAnimation in interface ISceneManagerpublic boolean hasAnimation(java.lang.String name)
hasAnimation in interface ISceneManagerpublic void destroyAnimation(java.lang.String name)
destroyAnimation in interface ISceneManagerpublic void destroyAllAnimations()
destroyAllAnimations in interface ISceneManagerpublic IAnimationState createAnimationState(java.lang.String animName)
createAnimationState in interface ISceneManagerpublic IAnimationState getAnimationState(java.lang.String animName)
getAnimationState in interface ISceneManagerpublic boolean hasAnimationState(java.lang.String name)
hasAnimationState in interface ISceneManagerpublic void destroyAnimationState(java.lang.String name)
destroyAnimationState in interface ISceneManagerpublic void destroyAllAnimationStates()
destroyAllAnimationStates in interface ISceneManager
public void manualRender(IRenderOperation rend,
IPass pass,
IViewport vp,
IMatrix4 worldMatrix,
IMatrix4 viewMatrix,
IMatrix4 projMatrix,
boolean doBeginEndFrame)
manualRender in interface ISceneManagerpublic IRenderQueue getRenderQueue()
getRenderQueue in interface ISceneManagerpublic void addRenderQueueListener(IRenderQueueListener newListener)
addRenderQueueListener in interface ISceneManagerpublic void removeRenderQueueListener(IRenderQueueListener delListener)
removeRenderQueueListener in interface ISceneManagerpublic void addSpecialCaseRenderQueue(short qid)
addSpecialCaseRenderQueue in interface ISceneManagerpublic void removeSpecialCaseRenderQueue(short qid)
removeSpecialCaseRenderQueue in interface ISceneManagerpublic void clearSpecialCaseRenderQueues()
clearSpecialCaseRenderQueues in interface ISceneManagerpublic void setSpecialCaseRenderQueueMode(SceneManager.SpecialCaseRenderQueueMode mode)
setSpecialCaseRenderQueueMode in interface ISceneManagerpublic SceneManager.SpecialCaseRenderQueueMode getSpecialCaseRenderQueueMode()
getSpecialCaseRenderQueueMode in interface ISceneManagerpublic boolean isRenderQueueToBeProcessed(short qid)
isRenderQueueToBeProcessed in interface ISceneManagerpublic void setWorldGeometryRenderQueue(short qid)
setWorldGeometryRenderQueue in interface ISceneManagerpublic short getWorldGeometryRenderQueue()
getWorldGeometryRenderQueue in interface ISceneManagerpublic void showBoundingBoxes(boolean bShow)
showBoundingBoxes in interface ISceneManagerpublic boolean getShowBoundingBoxes()
getShowBoundingBoxes in interface ISceneManager
public void _notifyAutotrackingSceneNode(ISceneNode node,
boolean autoTrack)
_notifyAutotrackingSceneNode in interface ISceneManager
public IAxisAlignedBoxSceneQuery createAABBQuery(IAxisAlignedBox box,
long mask)
createAABBQuery in interface ISceneManager
public ISphereSceneQuery createSphereQuery(ISphere sphere,
long mask)
createSphereQuery in interface ISceneManager
public IPlaneBoundedVolumeListSceneQuery createPlaneBoundedVolumeQuery(IPlaneBoundedVolumeList volumes,
long mask)
createPlaneBoundedVolumeQuery in interface ISceneManager
public IRaySceneQuery createRayQuery(IRay ray,
long mask)
createRayQuery in interface ISceneManagerpublic IIntersectionSceneQuery createIntersectionQuery(long mask)
createIntersectionQuery in interface ISceneManagerpublic void destroyQuery(ISceneQuery query)
destroyQuery in interface ISceneManagerpublic void getCameraIterator(ISceneManager.ICameraIterator returnValue)
getCameraIterator in interface ISceneManagerpublic void getAnimationIterator(ISceneManager.IAnimationIterator returnValue)
getAnimationIterator in interface ISceneManagerpublic void getAnimationStateIterator(IAnimationStateIterator returnValue)
getAnimationStateIterator in interface ISceneManagerpublic void setShadowTechnique(ShadowTechnique technique)
setShadowTechnique in interface ISceneManagerpublic ShadowTechnique getShadowTechnique()
getShadowTechnique in interface ISceneManagerpublic void setShowDebugShadows(boolean debug)
setShowDebugShadows in interface ISceneManagerpublic boolean getShowDebugShadows()
getShowDebugShadows in interface ISceneManagerpublic void setShadowColour(IColourValue colour)
setShadowColour in interface ISceneManagerpublic IColourValue getShadowColour()
getShadowColour in interface ISceneManagerpublic void setShadowDirectionalLightExtrusionDistance(float dist)
setShadowDirectionalLightExtrusionDistance in interface ISceneManagerpublic float getShadowDirectionalLightExtrusionDistance()
getShadowDirectionalLightExtrusionDistance in interface ISceneManagerpublic void setShadowFarDistance(float distance)
setShadowFarDistance in interface ISceneManagerpublic float getShadowFarDistance()
getShadowFarDistance in interface ISceneManagerpublic float getShadowFarDistanceSquared()
getShadowFarDistanceSquared in interface ISceneManagerpublic void setShadowIndexBufferSize(int size)
setShadowIndexBufferSize in interface ISceneManagerpublic int getShadowIndexBufferSize()
getShadowIndexBufferSize in interface ISceneManagerpublic void setShadowTextureSize(int size)
setShadowTextureSize in interface ISceneManager
public void setShadowTextureConfig(int shadowIndex,
int width,
int height,
PixelFormat format)
setShadowTextureConfig in interface ISceneManager
public void setShadowTextureConfig(int shadowIndex,
IShadowTextureConfig config)
setShadowTextureConfig in interface ISceneManagerpublic void getShadowTextureConfigIterator(IConstShadowTextureConfigIterator returnValue)
getShadowTextureConfigIterator in interface ISceneManagerpublic void setShadowTexturePixelFormat(PixelFormat fmt)
setShadowTexturePixelFormat in interface ISceneManagerpublic void setShadowTextureCount(int count)
setShadowTextureCount in interface ISceneManagerpublic int getShadowTextureCount()
getShadowTextureCount in interface ISceneManager
public void setShadowTextureCountPerLightType(Light.LightTypes type,
int count)
setShadowTextureCountPerLightType in interface ISceneManagerpublic int getShadowTextureCountPerLightType(Light.LightTypes type)
getShadowTextureCountPerLightType in interface ISceneManager
public void setShadowTextureSettings(int size,
int count,
PixelFormat fmt)
setShadowTextureSettings in interface ISceneManagerpublic ITexturePtr getShadowTexture(int shadowIndex)
getShadowTexture in interface ISceneManagerpublic void setShadowDirLightTextureOffset(float offset)
setShadowDirLightTextureOffset in interface ISceneManagerpublic float getShadowDirLightTextureOffset()
getShadowDirLightTextureOffset in interface ISceneManagerpublic void setShadowTextureFadeStart(float fadeStart)
setShadowTextureFadeStart in interface ISceneManagerpublic void setShadowTextureFadeEnd(float fadeEnd)
setShadowTextureFadeEnd in interface ISceneManagerpublic void setShadowTextureSelfShadow(boolean selfShadow)
setShadowTextureSelfShadow in interface ISceneManagerpublic boolean getShadowTextureSelfShadow()
getShadowTextureSelfShadow in interface ISceneManagerpublic void setShadowTextureCasterMaterial(java.lang.String name)
setShadowTextureCasterMaterial in interface ISceneManagerpublic void setShadowTextureReceiverMaterial(java.lang.String name)
setShadowTextureReceiverMaterial in interface ISceneManagerpublic void setShadowCasterRenderBackFaces(boolean bf)
setShadowCasterRenderBackFaces in interface ISceneManagerpublic boolean getShadowCasterRenderBackFaces()
getShadowCasterRenderBackFaces in interface ISceneManagerpublic void setShadowCameraSetup(IShadowCameraSetupPtr shadowSetup)
setShadowCameraSetup in interface ISceneManagerpublic IShadowCameraSetupPtr getShadowCameraSetup()
getShadowCameraSetup in interface ISceneManagerpublic void setShadowUseInfiniteFarPlane(boolean enable)
setShadowUseInfiniteFarPlane in interface ISceneManagerpublic boolean isShadowTechniqueStencilBased()
isShadowTechniqueStencilBased in interface ISceneManagerpublic boolean isShadowTechniqueTextureBased()
isShadowTechniqueTextureBased in interface ISceneManagerpublic boolean isShadowTechniqueModulative()
isShadowTechniqueModulative in interface ISceneManagerpublic boolean isShadowTechniqueAdditive()
isShadowTechniqueAdditive in interface ISceneManagerpublic boolean isShadowTechniqueIntegrated()
isShadowTechniqueIntegrated in interface ISceneManagerpublic boolean isShadowTechniqueInUse()
isShadowTechniqueInUse in interface ISceneManagerpublic void setShadowUseLightClipPlanes(boolean enabled)
setShadowUseLightClipPlanes in interface ISceneManagerpublic boolean getShadowUseLightClipPlanes()
getShadowUseLightClipPlanes in interface ISceneManagerpublic void addListener(ISceneManager.IListener s)
addListener in interface ISceneManagerpublic void removeListener(ISceneManager.IListener s)
removeListener in interface ISceneManagerpublic IStaticGeometry createStaticGeometry(java.lang.String name)
createStaticGeometry in interface ISceneManagerpublic IStaticGeometry getStaticGeometry(java.lang.String name)
getStaticGeometry in interface ISceneManagerpublic boolean hasStaticGeometry(java.lang.String name)
hasStaticGeometry in interface ISceneManagerpublic void destroyStaticGeometry(IStaticGeometry geom)
destroyStaticGeometry in interface ISceneManagerpublic void destroyStaticGeometry(java.lang.String name)
destroyStaticGeometry in interface ISceneManagerpublic void destroyAllStaticGeometry()
destroyAllStaticGeometry in interface ISceneManagerpublic IInstancedGeometry createInstancedGeometry(java.lang.String name)
createInstancedGeometry in interface ISceneManagerpublic IInstancedGeometry getInstancedGeometry(java.lang.String name)
getInstancedGeometry in interface ISceneManagerpublic void destroyInstancedGeometry(IInstancedGeometry geom)
destroyInstancedGeometry in interface ISceneManagerpublic void destroyInstancedGeometry(java.lang.String name)
destroyInstancedGeometry in interface ISceneManagerpublic void destroyAllInstancedGeometry()
destroyAllInstancedGeometry in interface ISceneManager
public IMovableObject createMovableObject(java.lang.String name,
java.lang.String typeName,
INameValuePairList params)
createMovableObject in interface ISceneManager
public void destroyMovableObject(java.lang.String name,
java.lang.String typeName)
destroyMovableObject in interface ISceneManagerpublic void destroyMovableObject(IMovableObject m)
destroyMovableObject in interface ISceneManagerpublic void destroyAllMovableObjectsByType(java.lang.String typeName)
destroyAllMovableObjectsByType in interface ISceneManagerpublic void destroyAllMovableObjects()
destroyAllMovableObjects in interface ISceneManager
public IMovableObject getMovableObject(java.lang.String name,
java.lang.String typeName)
getMovableObject in interface ISceneManager
public boolean hasMovableObject(java.lang.String name,
java.lang.String typeName)
hasMovableObject in interface ISceneManager
public void getMovableObjectIterator(ISceneManager.IMovableObjectIterator returnValue,
java.lang.String typeName)
getMovableObjectIterator in interface ISceneManagerpublic void injectMovableObject(IMovableObject m)
injectMovableObject in interface ISceneManager
public void extractMovableObject(java.lang.String name,
java.lang.String typeName)
extractMovableObject in interface ISceneManagerpublic void extractMovableObject(IMovableObject m)
extractMovableObject in interface ISceneManagerpublic void extractAllMovableObjectsByType(java.lang.String typeName)
extractAllMovableObjectsByType in interface ISceneManagerpublic void setVisibilityMask(long vmask)
setVisibilityMask in interface ISceneManagerpublic long getVisibilityMask()
getVisibilityMask in interface ISceneManagerpublic long _getCombinedVisibilityMask()
_getCombinedVisibilityMask in interface ISceneManagerpublic void setFindVisibleObjects(boolean find)
setFindVisibleObjects in interface ISceneManagerpublic boolean getFindVisibleObjects()
getFindVisibleObjects in interface ISceneManagerpublic void setNormaliseNormalsOnScale(boolean n)
setNormaliseNormalsOnScale in interface ISceneManagerpublic boolean getNormaliseNormalsOnScale()
getNormaliseNormalsOnScale in interface ISceneManagerpublic void setFlipCullingOnNegativeScale(boolean n)
setFlipCullingOnNegativeScale in interface ISceneManagerpublic boolean getFlipCullingOnNegativeScale()
getFlipCullingOnNegativeScale in interface ISceneManager
public void _injectRenderWithPass(IPass pass,
IRenderable rend,
boolean shadowDerivation)
_injectRenderWithPass in interface ISceneManagerpublic void _suppressRenderStateChanges(boolean suppress)
_suppressRenderStateChanges in interface ISceneManagerpublic boolean _areRenderStateChangesSuppressed()
_areRenderStateChangesSuppressed in interface ISceneManager
public IPass _setPass(IPass pass,
boolean evenIfSuppressed,
boolean shadowDerivation)
_setPass in interface ISceneManagerpublic void _suppressShadows(boolean suppress)
_suppressShadows in interface ISceneManagerpublic boolean _areShadowsSuppressed()
_areShadowsSuppressed in interface ISceneManager
public void _renderQueueGroupObjects(IRenderQueueGroup group,
QueuedRenderableCollection.OrganisationMode om)
_renderQueueGroupObjects in interface ISceneManagerpublic void setQueuedRenderableVisitor(ISceneManager.ISceneMgrQueuedRenderableVisitor visitor)
setQueuedRenderableVisitor in interface ISceneManagerpublic ISceneManager.ISceneMgrQueuedRenderableVisitor getQueuedRenderableVisitor()
getQueuedRenderableVisitor in interface ISceneManagerpublic IRenderSystem getDestinationRenderSystem()
getDestinationRenderSystem in interface ISceneManagerpublic IViewport getCurrentViewport()
getCurrentViewport in interface ISceneManagerpublic IVisibleObjectsBoundsInfo getVisibleObjectsBoundsInfo(ICamera cam)
getVisibleObjectsBoundsInfo in interface ISceneManager
public IVisibleObjectsBoundsInfo getShadowCasterBoundsInfo(ILight light,
int iteration)
getShadowCasterBoundsInfo in interface ISceneManagerpublic void setCameraRelativeRendering(boolean rel)
setCameraRelativeRendering in interface ISceneManagerpublic boolean getCameraRelativeRendering()
getCameraRelativeRendering in interface ISceneManagerpublic static long getWORLD_GEOMETRY_TYPE_MASK()
public static void setWORLD_GEOMETRY_TYPE_MASK(long _jni_value_)
public static long getENTITY_TYPE_MASK()
public static void setENTITY_TYPE_MASK(long _jni_value_)
public static long getFX_TYPE_MASK()
public static void setFX_TYPE_MASK(long _jni_value_)
public static long getSTATICGEOMETRY_TYPE_MASK()
public static void setSTATICGEOMETRY_TYPE_MASK(long _jni_value_)
public static long getLIGHT_TYPE_MASK()
public static void setLIGHT_TYPE_MASK(long _jni_value_)
public static long getFRUSTUM_TYPE_MASK()
public static void setFRUSTUM_TYPE_MASK(long _jni_value_)
public static long getUSER_TYPE_MASK_LIMIT()
public static void setUSER_TYPE_MASK_LIMIT(long _jni_value_)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||