C# Класс Axiom.Components.Paging.Page

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

Открытые свойства

Свойство Тип Описание
CHUNK_ID uint
CHUNK_VERSION ushort

Защищенные свойства (Protected)

Свойство Тип Описание
mContentCollections List
mDebugNode Axiom.Core.SceneNode
mFrameLastHeld uint
mID PageID
mParent PagedWorldSection

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

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

Защищенные методы

Метод Описание
PrepareImpl ( StreamSerializer stream ) : bool

UpdateDebugDisplay ( ) : void

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

AttachContentCollection() публичный метод

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

CreateContentCollection() публичный метод

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)
Результат Axiom.Components.Paging.PageContentCollection

DestroyContentCollection() публичный метод

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

DetachContentCollection() публичный метод

public DetachContentCollection ( Axiom.Components.Paging.PageContentCollection coll ) : void
coll Axiom.Components.Paging.PageContentCollection
Результат void

FrameEnd() публичный метод

Called when the frame ends
public FrameEnd ( float timeElapsed ) : void
timeElapsed float
Результат void

FrameStart() публичный метод

Called when the frame starts
public FrameStart ( float timeSinceLastFrame ) : void
timeSinceLastFrame float
Результат void

GetContentCollection() публичный метод

Get a content collection
public GetContentCollection ( int index ) : Axiom.Components.Paging.PageContentCollection
index int
Результат Axiom.Components.Paging.PageContentCollection

NotifyAttached() публичный метод

Internal method to notify a page that it is attached
public NotifyAttached ( PagedWorldSection parent ) : void
parent PagedWorldSection
Результат void

NotifyCamera() публичный метод

Notify a section of the current camera
public NotifyCamera ( Camera cam ) : void
cam Axiom.Core.Camera
Результат void

Page() публичный метод

Page class
public Page ( PageID pageID ) : System
pageID PageID
Результат System

PrepareImpl() защищенный метод

protected PrepareImpl ( StreamSerializer stream ) : bool
stream Axiom.Serialization.StreamSerializer
Результат bool

Save() публичный метод

public Save ( StreamSerializer stream ) : void
stream Axiom.Serialization.StreamSerializer
Результат void

ToString() публичный метод

public ToString ( ) : string
Результат string

Touch() публичный метод

'Touch' the page to let it know it's being used
public Touch ( ) : void
Результат void

UpdateDebugDisplay() защищенный метод

protected UpdateDebugDisplay ( ) : void
Результат void

Описание свойств

CHUNK_ID публичное статическое свойство

public static uint CHUNK_ID
Результат uint

CHUNK_VERSION публичное статическое свойство

public static ushort CHUNK_VERSION
Результат ushort

mContentCollections защищенное свойство

protected List mContentCollections
Результат List

mDebugNode защищенное свойство

protected SceneNode,Axiom.Core mDebugNode
Результат Axiom.Core.SceneNode

mFrameLastHeld защищенное свойство

protected uint mFrameLastHeld
Результат uint

mID защищенное свойство

protected PageID,Axiom.Components.Paging mID
Результат PageID

mParent защищенное свойство

protected PagedWorldSection,Axiom.Components.Paging mParent
Результат PagedWorldSection