C# Class Axiom.Components.Paging.Page

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

Méthodes publiques

Свойство Type Description
CHUNK_ID uint
CHUNK_VERSION ushort

Protected Properties

Свойство Type Description
mContentCollections List
mDebugNode Axiom.Core.SceneNode
mFrameLastHeld uint
mID PageID
mParent PagedWorldSection

Méthodes publiques

Méthode Description
AttachContentCollection ( Axiom.Components.Paging.PageContentCollection coll ) : void

Add a content collection to this Page.

This class ceases to be responsible for deleting this collection.

CreateContentCollection ( string typeName ) : Axiom.Components.Paging.PageContentCollection

Create a new PageContentCollection within this page. This is equivalent to calling PageManager.CreateContentCollection and then attachContentCollection.

DestroyContentCollection ( Axiom.Components.Paging.PageContentCollection coll ) : void

Destroy a PageContentCollection within this page. This is equivalent to calling DetachContentCollection and PageManager.DestroyContentCollection.

DetachContentCollection ( Axiom.Components.Paging.PageContentCollection coll ) : void

FrameEnd ( float timeElapsed ) : void

Called when the frame ends

FrameStart ( float timeSinceLastFrame ) : void

Called when the frame starts

GetContentCollection ( int index ) : Axiom.Components.Paging.PageContentCollection

Get a content collection

NotifyAttached ( PagedWorldSection parent ) : void

Internal method to notify a page that it is attached

NotifyCamera ( Camera cam ) : void

Notify a section of the current camera

Page ( PageID pageID ) : System

Page class

Save ( StreamSerializer stream ) : void

ToString ( ) : string
Touch ( ) : void

'Touch' the page to let it know it's being used

Méthodes protégées

Méthode Description
PrepareImpl ( StreamSerializer stream ) : bool

UpdateDebugDisplay ( ) : void

Method Details

AttachContentCollection() public méthode

Add a content collection to this Page.
This class ceases to be responsible for deleting this collection.
public AttachContentCollection ( Axiom.Components.Paging.PageContentCollection coll ) : void
coll Axiom.Components.Paging.PageContentCollection
Résultat void

CreateContentCollection() public méthode

Create a new PageContentCollection within this page. This is equivalent to calling PageManager.CreateContentCollection and then attachContentCollection.
public CreateContentCollection ( string typeName ) : Axiom.Components.Paging.PageContentCollection
typeName string The name of the type of content collection (see PageManager.GetContentCollectionFactories)
Résultat Axiom.Components.Paging.PageContentCollection

DestroyContentCollection() public méthode

Destroy a PageContentCollection within this page. This is equivalent to calling DetachContentCollection and PageManager.DestroyContentCollection.
public DestroyContentCollection ( Axiom.Components.Paging.PageContentCollection coll ) : void
coll Axiom.Components.Paging.PageContentCollection
Résultat void

DetachContentCollection() public méthode

public DetachContentCollection ( Axiom.Components.Paging.PageContentCollection coll ) : void
coll Axiom.Components.Paging.PageContentCollection
Résultat void

FrameEnd() public méthode

Called when the frame ends
public FrameEnd ( float timeElapsed ) : void
timeElapsed float
Résultat void

FrameStart() public méthode

Called when the frame starts
public FrameStart ( float timeSinceLastFrame ) : void
timeSinceLastFrame float
Résultat void

GetContentCollection() public méthode

Get a content collection
public GetContentCollection ( int index ) : Axiom.Components.Paging.PageContentCollection
index int
Résultat Axiom.Components.Paging.PageContentCollection

NotifyAttached() public méthode

Internal method to notify a page that it is attached
public NotifyAttached ( PagedWorldSection parent ) : void
parent PagedWorldSection
Résultat void

NotifyCamera() public méthode

Notify a section of the current camera
public NotifyCamera ( Camera cam ) : void
cam Axiom.Core.Camera
Résultat void

Page() public méthode

Page class
public Page ( PageID pageID ) : System
pageID PageID
Résultat System

PrepareImpl() protected méthode

protected PrepareImpl ( StreamSerializer stream ) : bool
stream Axiom.Serialization.StreamSerializer
Résultat bool

Save() public méthode

public Save ( StreamSerializer stream ) : void
stream Axiom.Serialization.StreamSerializer
Résultat void

ToString() public méthode

public ToString ( ) : string
Résultat string

Touch() public méthode

'Touch' the page to let it know it's being used
public Touch ( ) : void
Résultat void

UpdateDebugDisplay() protected méthode

protected UpdateDebugDisplay ( ) : void
Résultat void

Property Details

CHUNK_ID public_oe static_oe property

public static uint CHUNK_ID
Résultat uint

CHUNK_VERSION public_oe static_oe property

public static ushort CHUNK_VERSION
Résultat ushort

mContentCollections protected_oe property

protected List mContentCollections
Résultat List

mDebugNode protected_oe property

protected SceneNode,Axiom.Core mDebugNode
Résultat Axiom.Core.SceneNode

mFrameLastHeld protected_oe property

protected uint mFrameLastHeld
Résultat uint

mID protected_oe property

protected PageID,Axiom.Components.Paging mID
Résultat PageID

mParent protected_oe property

protected PagedWorldSection,Axiom.Components.Paging mParent
Résultat PagedWorldSection