C# Class Axiom.SceneManagers.PortalConnected.PCZFrustum

显示文件 Open project: WolfgangSt/axiom Class Usage Examples

Public Methods

Method Description
AddPortalCullingPlanes ( Portal portal ) : int
GetUnusedCullingPlane ( ) : PCPlane
GetVisibility ( AxisAlignedBox bound ) : Visibility

A 'more detailed' check for visibility of an AAB.

This is useful for stuff like Octree leaf culling.

IsObjectVisible ( AxisAlignedBox bound ) : bool
IsObjectVisible ( Portal portal ) : bool

IsObjectVisible() function for portals.

Everything needs to be updated spatially before this function is called including portal corners, frustum planes, etc.

IsObjectVisible ( Sphere bound ) : bool
PCZFrustum ( ) : System.Collections.Generic
RemoveAllCullingPlanes ( ) : void
RemovePortalCullingPlanes ( Portal portal ) : void
SetOrigin ( Axiom.Math.Vector3 newOrigin ) : void
SetOriginPlane ( Axiom.Math.Vector3 rkNormal, Axiom.Math.Vector3 rkPoint ) : void
SetUseOriginPlane ( bool yesno ) : void

Method Details

AddPortalCullingPlanes() public method

public AddPortalCullingPlanes ( Portal portal ) : int
portal Portal
return int

GetUnusedCullingPlane() public method

public GetUnusedCullingPlane ( ) : PCPlane
return PCPlane

GetVisibility() public method

A 'more detailed' check for visibility of an AAB.
This is useful for stuff like Octree leaf culling.
public GetVisibility ( AxisAlignedBox bound ) : Visibility
bound Axiom.Math.AxisAlignedBox the to check visibility aginst.
return Visibility

IsObjectVisible() public method

public IsObjectVisible ( AxisAlignedBox bound ) : bool
bound Axiom.Math.AxisAlignedBox
return bool

IsObjectVisible() public method

IsObjectVisible() function for portals.
Everything needs to be updated spatially before this function is called including portal corners, frustum planes, etc.
public IsObjectVisible ( Portal portal ) : bool
portal Portal /// The to check visibility against. ///
return bool

IsObjectVisible() public method

public IsObjectVisible ( Sphere bound ) : bool
bound Axiom.Math.Sphere
return bool

PCZFrustum() public method

public PCZFrustum ( ) : System.Collections.Generic
return System.Collections.Generic

RemoveAllCullingPlanes() public method

public RemoveAllCullingPlanes ( ) : void
return void

RemovePortalCullingPlanes() public method

public RemovePortalCullingPlanes ( Portal portal ) : void
portal Portal
return void

SetOrigin() public method

public SetOrigin ( Axiom.Math.Vector3 newOrigin ) : void
newOrigin Axiom.Math.Vector3
return void

SetOriginPlane() public method

public SetOriginPlane ( Axiom.Math.Vector3 rkNormal, Axiom.Math.Vector3 rkPoint ) : void
rkNormal Axiom.Math.Vector3
rkPoint Axiom.Math.Vector3
return void

SetUseOriginPlane() public method

public SetUseOriginPlane ( bool yesno ) : void
yesno bool
return void