C# Класс Axiom.SceneManagers.Octree.TerrainRenderable

Summary description for TerrainRenderable.
Наследование: Axiom.Core.MovableObject, IRenderable
Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
box Axiom.MathLib.AxisAlignedBox
center Vector3
currentL float
customParams List
forcedRenderLevel int
levelIndex ].IndexData[
material Axiom.Graphics.Material
minLevelDistSqr float[]
neighbors Axiom.SceneManagers.Octree.TerrainRenderable[]
numMipMaps int
options TerrainOptions
renderLevel int
renderOperation Axiom.Graphics.RenderOperation
size int
terrain Axiom.Graphics.VertexData

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

Метод Описание
AdjustRenderLevel ( int i ) : void
AlignNeighbors ( ) : void
CalculateCFactor ( ) : float
CalculateMinLevelDist2 ( float C ) : void
CalculateNormals ( ) : void
GetCustomParameter ( int index ) : Vector4
GetHeightAt ( float x, float z ) : float
GetIndex ( int x, int z ) : short
GetNeighbor ( Neighbor n ) : TerrainRenderable
GetNormalAt ( float x, float z, Vector3 &result ) : void
GetSquaredViewDepth ( Camera camera ) : float
GetVertex ( int x, int z, int n ) : float

Returns the vertex coord for the given coordinates.

GetWorldTransforms ( Axiom matrices ) : void
Init ( TerrainOptions options ) : void
IntersectSegment ( Vector3 start, Vector3 end ) : Vector3
NotifyCurrentCamera ( Camera camera ) : void
SetCustomParameter ( int index, Vector4 val ) : void
SetMaterial ( Material mat ) : void
SetNeighbor ( Neighbor n, TerrainRenderable t ) : void
TerrainRenderable ( ) : System

Default constructor.

TerrainRenderable ( string name ) : System
UpdateCustomGpuParameter ( GpuProgramParameters entry, GpuProgramParameters gpuParams ) : void
UpdateRenderQueue ( RenderQueue queue ) : void

Приватные методы

Метод Описание
GetIndexData ( ) : IndexData

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

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

public AdjustRenderLevel ( int i ) : void
i int
Результат void

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

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

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

public CalculateCFactor ( ) : float
Результат float

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

public CalculateMinLevelDist2 ( float C ) : void
C float
Результат void

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

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

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

public GetCustomParameter ( int index ) : Vector4
index int
Результат Vector4

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

public GetHeightAt ( float x, float z ) : float
x float
z float
Результат float

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

public GetIndex ( int x, int z ) : short
x int
z int
Результат short

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

public GetNeighbor ( Neighbor n ) : TerrainRenderable
n Neighbor
Результат TerrainRenderable

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

public GetNormalAt ( float x, float z, Vector3 &result ) : void
x float
z float
result Vector3
Результат void

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

public GetSquaredViewDepth ( Camera camera ) : float
camera Axiom.Core.Camera
Результат float

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

Returns the vertex coord for the given coordinates.
public GetVertex ( int x, int z, int n ) : float
x int
z int
n int
Результат float

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

public GetWorldTransforms ( Axiom matrices ) : void
matrices Axiom
Результат void

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

public Init ( TerrainOptions options ) : void
options TerrainOptions
Результат void

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

public IntersectSegment ( Vector3 start, Vector3 end ) : Vector3
start Vector3
end Vector3
Результат Vector3

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

public NotifyCurrentCamera ( Camera camera ) : void
camera Axiom.Core.Camera
Результат void

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

public SetCustomParameter ( int index, Vector4 val ) : void
index int
val Vector4
Результат void

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

public SetMaterial ( Material mat ) : void
mat Axiom.Graphics.Material
Результат void

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

public SetNeighbor ( Neighbor n, TerrainRenderable t ) : void
n Neighbor
t TerrainRenderable
Результат void

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

Default constructor.
public TerrainRenderable ( ) : System
Результат System

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

public TerrainRenderable ( string name ) : System
name string
Результат System

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

public UpdateCustomGpuParameter ( GpuProgramParameters entry, GpuProgramParameters gpuParams ) : void
entry Axiom.Graphics.GpuProgramParameters
gpuParams Axiom.Graphics.GpuProgramParameters
Результат void

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

public UpdateRenderQueue ( RenderQueue queue ) : void
queue Axiom.Graphics.RenderQueue
Результат void

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

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

protected AxisAlignedBox,Axiom.MathLib box
Результат Axiom.MathLib.AxisAlignedBox

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

protected Vector3 center
Результат Vector3

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

protected float currentL
Результат float

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

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

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

protected int forcedRenderLevel
Результат int

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

protected IndexData[,] levelIndex
Результат ].IndexData[

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

protected Material,Axiom.Graphics material
Результат Axiom.Graphics.Material

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

protected float[] minLevelDistSqr
Результат float[]

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

protected TerrainRenderable[],Axiom.SceneManagers.Octree neighbors
Результат Axiom.SceneManagers.Octree.TerrainRenderable[]

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

protected int numMipMaps
Результат int

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

protected TerrainOptions,Axiom.SceneManagers.Octree options
Результат TerrainOptions

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

protected int renderLevel
Результат int

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

protected RenderOperation,Axiom.Graphics renderOperation
Результат Axiom.Graphics.RenderOperation

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

protected int size
Результат int

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

protected VertexData,Axiom.Graphics terrain
Результат Axiom.Graphics.VertexData