C# Class Axiom.SceneManagers.Octree.TerrainRenderable

Summary description for TerrainRenderable.
Inheritance: Axiom.Core.MovableObject, IRenderable
Datei anzeigen Open project: WolfgangSt/axiom Class Usage Examples

Protected Properties

Property Type Description
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

Public Methods

Method Description
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

Private Methods

Method Description
GetIndexData ( ) : IndexData

Method Details

AdjustRenderLevel() public method

public AdjustRenderLevel ( int i ) : void
i int
return void

AlignNeighbors() public method

public AlignNeighbors ( ) : void
return void

CalculateCFactor() public method

public CalculateCFactor ( ) : float
return float

CalculateMinLevelDist2() public method

public CalculateMinLevelDist2 ( float C ) : void
C float
return void

CalculateNormals() public method

public CalculateNormals ( ) : void
return void

GetCustomParameter() public method

public GetCustomParameter ( int index ) : Vector4
index int
return Vector4

GetHeightAt() public method

public GetHeightAt ( float x, float z ) : float
x float
z float
return float

GetIndex() public method

public GetIndex ( int x, int z ) : short
x int
z int
return short

GetNeighbor() public method

public GetNeighbor ( Neighbor n ) : TerrainRenderable
n Neighbor
return TerrainRenderable

GetNormalAt() public method

public GetNormalAt ( float x, float z, Vector3 &result ) : void
x float
z float
result Vector3
return void

GetSquaredViewDepth() public method

public GetSquaredViewDepth ( Camera camera ) : float
camera Axiom.Core.Camera
return float

GetVertex() public method

Returns the vertex coord for the given coordinates.
public GetVertex ( int x, int z, int n ) : float
x int
z int
n int
return float

GetWorldTransforms() public method

public GetWorldTransforms ( Axiom matrices ) : void
matrices Axiom
return void

Init() public method

public Init ( TerrainOptions options ) : void
options TerrainOptions
return void

IntersectSegment() public method

public IntersectSegment ( Vector3 start, Vector3 end ) : Vector3
start Vector3
end Vector3
return Vector3

NotifyCurrentCamera() public method

public NotifyCurrentCamera ( Camera camera ) : void
camera Axiom.Core.Camera
return void

SetCustomParameter() public method

public SetCustomParameter ( int index, Vector4 val ) : void
index int
val Vector4
return void

SetMaterial() public method

public SetMaterial ( Material mat ) : void
mat Axiom.Graphics.Material
return void

SetNeighbor() public method

public SetNeighbor ( Neighbor n, TerrainRenderable t ) : void
n Neighbor
t TerrainRenderable
return void

TerrainRenderable() public method

Default constructor.
public TerrainRenderable ( ) : System
return System

TerrainRenderable() public method

public TerrainRenderable ( string name ) : System
name string
return System

UpdateCustomGpuParameter() public method

public UpdateCustomGpuParameter ( GpuProgramParameters entry, GpuProgramParameters gpuParams ) : void
entry Axiom.Graphics.GpuProgramParameters
gpuParams Axiom.Graphics.GpuProgramParameters
return void

UpdateRenderQueue() public method

public UpdateRenderQueue ( RenderQueue queue ) : void
queue Axiom.Graphics.RenderQueue
return void

Property Details

box protected_oe property

protected AxisAlignedBox,Axiom.MathLib box
return Axiom.MathLib.AxisAlignedBox

center protected_oe property

protected Vector3 center
return Vector3

currentL protected_oe property

protected float currentL
return float

customParams protected_oe property

protected List customParams
return List

forcedRenderLevel protected_oe property

protected int forcedRenderLevel
return int

levelIndex protected_oe property

protected IndexData[,] levelIndex
return ].IndexData[

material protected_oe property

protected Material,Axiom.Graphics material
return Axiom.Graphics.Material

minLevelDistSqr protected_oe property

protected float[] minLevelDistSqr
return float[]

neighbors protected_oe property

protected TerrainRenderable[],Axiom.SceneManagers.Octree neighbors
return Axiom.SceneManagers.Octree.TerrainRenderable[]

numMipMaps protected_oe property

protected int numMipMaps
return int

options protected_oe property

protected TerrainOptions,Axiom.SceneManagers.Octree options
return TerrainOptions

renderLevel protected_oe property

protected int renderLevel
return int

renderOperation protected_oe property

protected RenderOperation,Axiom.Graphics renderOperation
return Axiom.Graphics.RenderOperation

size protected_oe property

protected int size
return int

terrain protected_oe property

protected VertexData,Axiom.Graphics terrain
return Axiom.Graphics.VertexData