C# Class Axiom.SceneManagers.PortalConnected.PCZFrustum

Afficher le fichier Open project: WolfgangSt/axiom Class Usage Examples

Méthodes publiques

Méthode 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 méthode

public AddPortalCullingPlanes ( Portal portal ) : int
portal Portal
Résultat int

GetUnusedCullingPlane() public méthode

public GetUnusedCullingPlane ( ) : PCPlane
Résultat PCPlane

GetVisibility() public méthode

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.
Résultat Visibility

IsObjectVisible() public méthode

public IsObjectVisible ( AxisAlignedBox bound ) : bool
bound Axiom.Math.AxisAlignedBox
Résultat bool

IsObjectVisible() public méthode

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. ///
Résultat bool

IsObjectVisible() public méthode

public IsObjectVisible ( Sphere bound ) : bool
bound Axiom.Math.Sphere
Résultat bool

PCZFrustum() public méthode

public PCZFrustum ( ) : System.Collections.Generic
Résultat System.Collections.Generic

RemoveAllCullingPlanes() public méthode

public RemoveAllCullingPlanes ( ) : void
Résultat void

RemovePortalCullingPlanes() public méthode

public RemovePortalCullingPlanes ( Portal portal ) : void
portal Portal
Résultat void

SetOrigin() public méthode

public SetOrigin ( Axiom.Math.Vector3 newOrigin ) : void
newOrigin Axiom.Math.Vector3
Résultat void

SetOriginPlane() public méthode

public SetOriginPlane ( Axiom.Math.Vector3 rkNormal, Axiom.Math.Vector3 rkPoint ) : void
rkNormal Axiom.Math.Vector3
rkPoint Axiom.Math.Vector3
Résultat void

SetUseOriginPlane() public méthode

public SetUseOriginPlane ( bool yesno ) : void
yesno bool
Résultat void