C# 클래스 Axiom.Components.Paging.Grid2PageStrategy

Page strategy which loads new pages based on a regular 2D grid.
The grid can be up to 65536 x 65536 cells in size. PageIDs are generated like this: (row * 65536) + col. The grid is centred around the grid origin, such that the boundaries of the cell around that origin are [-CellSize/2, CellSize/2)
상속: Axiom.Components.Paging.PageStrategy
파일 보기 프로젝트 열기: WolfgangSt/axiom 1 사용 예제들

공개 메소드들

메소드 설명
CreateData ( ) : IPageStrategyData

DestroyData ( IPageStrategyData data ) : void

GetPageID ( Axiom.Math.Vector3 worldPos, PagedWorldSection section ) : PageID

Grid2PageStrategy ( PageManager manager ) : System

Page strategy which loads new pages based on a regular 2D grid.

The grid can be up to 65536 x 65536 cells in size. PageIDs are generated like this: (row * 65536) + col. The grid is centred around the grid origin, such that the boundaries of the cell around that origin are [-CellSize/2, CellSize/2)

NotifyCamera ( Camera cam, PagedWorldSection section ) : void

UpdateDebugDisplay ( Page p, SceneNode sn ) : void

메소드 상세

CreateData() 공개 메소드

public CreateData ( ) : IPageStrategyData
리턴 IPageStrategyData

DestroyData() 공개 메소드

public DestroyData ( IPageStrategyData data ) : void
data IPageStrategyData
리턴 void

GetPageID() 공개 메소드

public GetPageID ( Axiom.Math.Vector3 worldPos, PagedWorldSection section ) : PageID
worldPos Axiom.Math.Vector3
section PagedWorldSection
리턴 PageID

Grid2PageStrategy() 공개 메소드

Page strategy which loads new pages based on a regular 2D grid.
The grid can be up to 65536 x 65536 cells in size. PageIDs are generated like this: (row * 65536) + col. The grid is centred around the grid origin, such that the boundaries of the cell around that origin are [-CellSize/2, CellSize/2)
public Grid2PageStrategy ( PageManager manager ) : System
manager PageManager
리턴 System

NotifyCamera() 공개 메소드

public NotifyCamera ( Camera cam, PagedWorldSection section ) : void
cam Axiom.Core.Camera
section PagedWorldSection
리턴 void

UpdateDebugDisplay() 공개 메소드

public UpdateDebugDisplay ( Page p, SceneNode sn ) : void
p Page
sn Axiom.Core.SceneNode
리턴 void