C# Class Axiom.SceneManagers.PortalConnected.PCZSceneManager

Inheritance: Axiom.Core.SceneManager
Exibir arquivo Open project: mono-soc-2011/axiom Class Usage Examples

Protected Properties

Property Type Description
mCachedLightInfos List
mTestLightInfos List
showPortals bool

Public Methods

Method Description
AddPCZSceneNode ( PCZSceneNode sn, PCZone homeZone ) : void
AlertVisibleObjects ( ) : void
CalcZonesAffectedByLights ( Camera cam ) : void
ClearAllZonesPortalUpdateFlag ( ) : void
ClearScene ( ) : void
ConnectPortalsToTargetZonesByLocation ( ) : void
CreateAABBRegionQuery ( AxisAlignedBox box, uint mask ) : AxisAlignedBoxRegionSceneQuery
CreateCamera ( string name ) : Camera
CreateIntersectionQuery ( uint mask ) : IntersectionSceneQuery
CreateLight ( string name ) : Light
CreatePlaneBoundedVolumeQuery ( PlaneBoundedVolumeList volumes, uint mask ) : PlaneBoundedVolumeListSceneQuery
CreatePortal ( String name, PORTAL_TYPE type ) : Portal
CreateRayQuery ( Ray ray, uint mask ) : RaySceneQuery
CreateSceneNode ( ) : SceneNode
CreateSceneNode ( string name ) : SceneNode
CreateSphereRegionQuery ( Sphere sphere, uint mask ) : SphereRegionSceneQuery
CreateZone ( string zoneType, string instanceName ) : PCZone
CreateZoneFromFile ( string zoneTypeName, string zoneName, PCZSceneNode parent, string filename ) : PCZone
CreateZoneSpecificNodeData ( PCZSceneNode node ) : void
CreateZoneSpecificNodeData ( PCZone zone ) : void
DestroyAllLights ( ) : void
DestroyLight ( string name ) : void
DestroyPortal ( Portal p ) : void
DestroyPortal ( String portalName ) : void
DestroySceneNode ( string name ) : void
DestroyShadowTextures ( ) : void
DestroyZone ( PCZone zone, bool destroySceneNodes ) : void
EnableSky ( bool onoff ) : void

enable/disable sky rendering

FindNodesIn ( AxisAlignedBox box, List &list, PCZone startZone, PCZSceneNode exclude ) : void
FindNodesIn ( PlaneBoundedVolume volumes, List &list, PCZone startZone, PCZSceneNode exclude ) : void
FindNodesIn ( Ray r, List &list, PCZone startZone, PCZSceneNode exclude ) : void
FindNodesIn ( Sphere sphere, List &list, PCZone startZone, PCZSceneNode exclude ) : void
FindVisibleObjects ( Camera cam, VisibleObjectsBoundsInfo visibleBounds, bool onlyShadowCasters ) : void
FindZoneForPoint ( Vector3 point ) : PCZone
FireShadowTexturesPreCaster ( Light light, Camera camera, int iteration ) : void
GetLight ( string name ) : Light
GetOption ( string key, object &val ) : bool
GetOptionKeys ( List &refKeys ) : bool
GetOptionValues ( string key, List &refValueList ) : bool
GetZoneByName ( string zoneName ) : PCZone
HasLight ( string name ) : bool
HasSceneNode ( string name ) : bool
Init ( string defaultZoneTypeName, string filename ) : void
PCZSceneManager ( string name ) : System
RemoveSceneNode ( SceneNode sn ) : void
RenderScene ( Camera cam, Axiom.Core.Viewport vp, bool includeOverlays ) : void
SaveNodePositions ( ) : void
SetNodeHomeZone ( SceneNode node, PCZone zone ) : void
SetOption ( string key, object val ) : bool
SetSkyZone ( PCZone zone ) : void
SetWorldGeometryRenderQueue ( int qid ) : void
SetZoneGeometry ( string zoneName, PCZSceneNode parent, string filename ) : void
UpdateHomeZone ( PCZSceneNode pczsn, bool allowBackTouches ) : void
UpdatePCZSceneNode ( PCZSceneNode pczsn ) : void
UpdatePCZSceneNodes ( ) : void
UpdatePortalSpatialData ( ) : void
UpdatePortalZoneData ( ) : void

Protected Methods

Method Description
EnsureShadowTexturesCreated ( ) : void
FindLightsAffectingFrustum ( Camera camera ) : void
PrepareShadowTextures ( Camera cam, Axiom.Core.Viewport vp ) : void
UpdateSceneGraph ( Camera cam ) : void

Private Methods

Method Description
CreateSceneNodeImpl ( ) : SceneNode
CreateSceneNodeImpl ( string nodeName ) : SceneNode

Method Details

AddPCZSceneNode() public method

public AddPCZSceneNode ( PCZSceneNode sn, PCZone homeZone ) : void
sn PCZSceneNode
homeZone PCZone
return void

AlertVisibleObjects() public method

public AlertVisibleObjects ( ) : void
return void

CalcZonesAffectedByLights() public method

public CalcZonesAffectedByLights ( Camera cam ) : void
cam Axiom.Core.Camera
return void

ClearAllZonesPortalUpdateFlag() public method

public ClearAllZonesPortalUpdateFlag ( ) : void
return void

ClearScene() public method

public ClearScene ( ) : void
return void

ConnectPortalsToTargetZonesByLocation() public method

public ConnectPortalsToTargetZonesByLocation ( ) : void
return void

CreateAABBRegionQuery() public method

public CreateAABBRegionQuery ( AxisAlignedBox box, uint mask ) : AxisAlignedBoxRegionSceneQuery
box Axiom.Math.AxisAlignedBox
mask uint
return Axiom.Core.AxisAlignedBoxRegionSceneQuery

CreateCamera() public method

public CreateCamera ( string name ) : Camera
name string
return Axiom.Core.Camera

CreateIntersectionQuery() public method

public CreateIntersectionQuery ( uint mask ) : IntersectionSceneQuery
mask uint
return Axiom.Core.IntersectionSceneQuery

CreateLight() public method

public CreateLight ( string name ) : Light
name string
return Axiom.Core.Light

CreatePlaneBoundedVolumeQuery() public method

public CreatePlaneBoundedVolumeQuery ( PlaneBoundedVolumeList volumes, uint mask ) : PlaneBoundedVolumeListSceneQuery
volumes PlaneBoundedVolumeList
mask uint
return Axiom.Core.PlaneBoundedVolumeListSceneQuery

CreatePortal() public method

public CreatePortal ( String name, PORTAL_TYPE type ) : Portal
name String
type PORTAL_TYPE
return Portal

CreateRayQuery() public method

public CreateRayQuery ( Ray ray, uint mask ) : RaySceneQuery
ray Axiom.Math.Ray
mask uint
return Axiom.Core.RaySceneQuery

CreateSceneNode() public method

public CreateSceneNode ( ) : SceneNode
return Axiom.Core.SceneNode

CreateSceneNode() public method

public CreateSceneNode ( string name ) : SceneNode
name string
return Axiom.Core.SceneNode

CreateSphereRegionQuery() public method

public CreateSphereRegionQuery ( Sphere sphere, uint mask ) : SphereRegionSceneQuery
sphere Axiom.Math.Sphere
mask uint
return Axiom.Core.SphereRegionSceneQuery

CreateZone() public method

public CreateZone ( string zoneType, string instanceName ) : PCZone
zoneType string
instanceName string
return PCZone

CreateZoneFromFile() public method

public CreateZoneFromFile ( string zoneTypeName, string zoneName, PCZSceneNode parent, string filename ) : PCZone
zoneTypeName string
zoneName string
parent PCZSceneNode
filename string
return PCZone

CreateZoneSpecificNodeData() public method

public CreateZoneSpecificNodeData ( PCZSceneNode node ) : void
node PCZSceneNode
return void

CreateZoneSpecificNodeData() public method

public CreateZoneSpecificNodeData ( PCZone zone ) : void
zone PCZone
return void

DestroyAllLights() public method

public DestroyAllLights ( ) : void
return void

DestroyLight() public method

public DestroyLight ( string name ) : void
name string
return void

DestroyPortal() public method

public DestroyPortal ( Portal p ) : void
p Portal
return void

DestroyPortal() public method

public DestroyPortal ( String portalName ) : void
portalName String
return void

DestroySceneNode() public method

public DestroySceneNode ( string name ) : void
name string
return void

DestroyShadowTextures() public method

public DestroyShadowTextures ( ) : void
return void

DestroyZone() public method

public DestroyZone ( PCZone zone, bool destroySceneNodes ) : void
zone PCZone
destroySceneNodes bool
return void

EnableSky() public method

enable/disable sky rendering
public EnableSky ( bool onoff ) : void
onoff bool
return void

EnsureShadowTexturesCreated() protected method

protected EnsureShadowTexturesCreated ( ) : void
return void

FindLightsAffectingFrustum() protected method

protected FindLightsAffectingFrustum ( Camera camera ) : void
camera Axiom.Core.Camera
return void

FindNodesIn() public method

public FindNodesIn ( AxisAlignedBox box, List &list, PCZone startZone, PCZSceneNode exclude ) : void
box Axiom.Math.AxisAlignedBox
list List
startZone PCZone
exclude PCZSceneNode
return void

FindNodesIn() public method

public FindNodesIn ( PlaneBoundedVolume volumes, List &list, PCZone startZone, PCZSceneNode exclude ) : void
volumes Axiom.Math.PlaneBoundedVolume
list List
startZone PCZone
exclude PCZSceneNode
return void

FindNodesIn() public method

public FindNodesIn ( Ray r, List &list, PCZone startZone, PCZSceneNode exclude ) : void
r Axiom.Math.Ray
list List
startZone PCZone
exclude PCZSceneNode
return void

FindNodesIn() public method

public FindNodesIn ( Sphere sphere, List &list, PCZone startZone, PCZSceneNode exclude ) : void
sphere Axiom.Math.Sphere
list List
startZone PCZone
exclude PCZSceneNode
return void

FindVisibleObjects() public method

public FindVisibleObjects ( Camera cam, VisibleObjectsBoundsInfo visibleBounds, bool onlyShadowCasters ) : void
cam Axiom.Core.Camera
visibleBounds Axiom.Core.VisibleObjectsBoundsInfo
onlyShadowCasters bool
return void

FindZoneForPoint() public method

public FindZoneForPoint ( Vector3 point ) : PCZone
point Vector3
return PCZone

FireShadowTexturesPreCaster() public method

public FireShadowTexturesPreCaster ( Light light, Camera camera, int iteration ) : void
light Axiom.Core.Light
camera Axiom.Core.Camera
iteration int
return void

GetLight() public method

public GetLight ( string name ) : Light
name string
return Axiom.Core.Light

GetOption() public method

public GetOption ( string key, object &val ) : bool
key string
val object
return bool

GetOptionKeys() public method

public GetOptionKeys ( List &refKeys ) : bool
refKeys List
return bool

GetOptionValues() public method

public GetOptionValues ( string key, List &refValueList ) : bool
key string
refValueList List
return bool

GetZoneByName() public method

public GetZoneByName ( string zoneName ) : PCZone
zoneName string
return PCZone

HasLight() public method

public HasLight ( string name ) : bool
name string
return bool

HasSceneNode() public method

public HasSceneNode ( string name ) : bool
name string
return bool

Init() public method

public Init ( string defaultZoneTypeName, string filename ) : void
defaultZoneTypeName string
filename string
return void

PCZSceneManager() public method

public PCZSceneManager ( string name ) : System
name string
return System

PrepareShadowTextures() protected method

protected PrepareShadowTextures ( Camera cam, Axiom.Core.Viewport vp ) : void
cam Axiom.Core.Camera
vp Axiom.Core.Viewport
return void

RemoveSceneNode() public method

public RemoveSceneNode ( SceneNode sn ) : void
sn Axiom.Core.SceneNode
return void

RenderScene() public method

public RenderScene ( Camera cam, Axiom.Core.Viewport vp, bool includeOverlays ) : void
cam Axiom.Core.Camera
vp Axiom.Core.Viewport
includeOverlays bool
return void

SaveNodePositions() public method

public SaveNodePositions ( ) : void
return void

SetNodeHomeZone() public method

public SetNodeHomeZone ( SceneNode node, PCZone zone ) : void
node Axiom.Core.SceneNode
zone PCZone
return void

SetOption() public method

public SetOption ( string key, object val ) : bool
key string
val object
return bool

SetSkyZone() public method

public SetSkyZone ( PCZone zone ) : void
zone PCZone
return void

SetWorldGeometryRenderQueue() public method

public SetWorldGeometryRenderQueue ( int qid ) : void
qid int
return void

SetZoneGeometry() public method

public SetZoneGeometry ( string zoneName, PCZSceneNode parent, string filename ) : void
zoneName string
parent PCZSceneNode
filename string
return void

UpdateHomeZone() public method

public UpdateHomeZone ( PCZSceneNode pczsn, bool allowBackTouches ) : void
pczsn PCZSceneNode
allowBackTouches bool
return void

UpdatePCZSceneNode() public method

public UpdatePCZSceneNode ( PCZSceneNode pczsn ) : void
pczsn PCZSceneNode
return void

UpdatePCZSceneNodes() public method

public UpdatePCZSceneNodes ( ) : void
return void

UpdatePortalSpatialData() public method

public UpdatePortalSpatialData ( ) : void
return void

UpdatePortalZoneData() public method

public UpdatePortalZoneData ( ) : void
return void

UpdateSceneGraph() protected method

protected UpdateSceneGraph ( Camera cam ) : void
cam Axiom.Core.Camera
return void

Property Details

mCachedLightInfos protected_oe property

protected List mCachedLightInfos
return List

mTestLightInfos protected_oe property

protected List mTestLightInfos
return List

showPortals protected_oe property

protected bool showPortals
return bool