C# Класс Axiom.SceneManagers.PortalConnected.PCZFrustum

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Описание методов

AddPortalCullingPlanes() публичный Метод

public AddPortalCullingPlanes ( Portal portal ) : int
portal Portal
Результат int

GetUnusedCullingPlane() публичный Метод

public GetUnusedCullingPlane ( ) : PCPlane
Результат PCPlane

GetVisibility() публичный Метод

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.
Результат Visibility

IsObjectVisible() публичный Метод

public IsObjectVisible ( AxisAlignedBox bound ) : bool
bound Axiom.Math.AxisAlignedBox
Результат bool

IsObjectVisible() публичный Метод

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. ///
Результат bool

IsObjectVisible() публичный Метод

public IsObjectVisible ( Sphere bound ) : bool
bound Axiom.Math.Sphere
Результат bool

PCZFrustum() публичный Метод

public PCZFrustum ( ) : System.Collections.Generic
Результат System.Collections.Generic

RemoveAllCullingPlanes() публичный Метод

public RemoveAllCullingPlanes ( ) : void
Результат void

RemovePortalCullingPlanes() публичный Метод

public RemovePortalCullingPlanes ( Portal portal ) : void
portal Portal
Результат void

SetOrigin() публичный Метод

public SetOrigin ( Axiom.Math.Vector3 newOrigin ) : void
newOrigin Axiom.Math.Vector3
Результат void

SetOriginPlane() публичный Метод

public SetOriginPlane ( Axiom.Math.Vector3 rkNormal, Axiom.Math.Vector3 rkPoint ) : void
rkNormal Axiom.Math.Vector3
rkPoint Axiom.Math.Vector3
Результат void

SetUseOriginPlane() публичный Метод

public SetUseOriginPlane ( bool yesno ) : void
yesno bool
Результат void