C# Class Axiom.Samples.Ocean.OceanSample

Inheritance: SdkSample
Datei anzeigen Open project: mono-soc-2011/axiom Class Usage Examples

Public Properties

Property Type Description
MaxSpeed Real
MinSpeed Real
MoveSpeed Real

Protected Properties

Property Type Description
activeFragmentParameters Axiom.Graphics.GpuProgramParameters
activeFragmentProgram Axiom.Graphics.GpuProgram
activeMaterial Axiom.Graphics.Material
activePass Axiom.Graphics.Pass
activeVertexParameters Axiom.Graphics.GpuProgramParameters
activeVertexProgram Axiom.Graphics.GpuProgram
aniso int
currentMaterial int
currentPage int
diffuseLightColors Axiom.Core.ColorEx[]
filtering TextureFiltering
lightFlareSets Axiom.Core.BillboardSet[]
lightFlares Axiom.Core.Billboard[]
lightNodes Axiom.Core.SceneNode[]
lightPivots Axiom.Core.SceneNode[]
lightPositions Vector3[]
lightRotationAngles Real[]
lightRotationAxes Vector3[]
lightSpeeds Real[]
lightState bool[]
lights Axiom.Core.Light[]
mainNode Axiom.Core.SceneNode
materialControlsContainer System.Collections.Generic.List
numPages int
oceanSurfaceEnt Entity
rotateSpeed Real
sceneDetailIndex int
shaderControls Slider[]
shaderControlsContainer System.Collections.Generic.List
specularLightColors Axiom.Core.ColorEx[]
spinLight bool
translateVector Vector3
updateFreq float

Public Methods

Method Description
FrameRenderingQueued ( FrameEventArgs evt ) : bool

LoadAllMaterialControlFiles ( System.Collections.Generic.List &controlsContainer ) : void

LoadMaterialControlsFile ( System.Collections.Generic.List &controlsContainer, string filename ) : void
OceanSample ( ) : Axiom.Math

Protected Methods

Method Description
ChangePage ( int pageNum ) : void

CleanupContent ( ) : void

SelectOceanMaterial ( OceanMaterial newMaterial ) : void

SetupContent ( ) : void

SetupGUI ( ) : void

SetupScene ( ) : void

Private Methods

Method Description
box_CheckChanged ( object sender, CheckBox box ) : void
btn_CursorPressed ( object sender, Vector2 cursorPosition ) : void
selectMenu_SelectedIndexChanged ( object sender, System e ) : void
shaderControlSlider_SliderMoved ( object sender, Slider slider ) : void

Method Details

ChangePage() protected method

protected ChangePage ( int pageNum ) : void
pageNum int
return void

CleanupContent() protected method

protected CleanupContent ( ) : void
return void

FrameRenderingQueued() public method

public FrameRenderingQueued ( FrameEventArgs evt ) : bool
evt FrameEventArgs
return bool

LoadAllMaterialControlFiles() public static method

public static LoadAllMaterialControlFiles ( System.Collections.Generic.List &controlsContainer ) : void
controlsContainer System.Collections.Generic.List
return void

LoadMaterialControlsFile() public static method

public static LoadMaterialControlsFile ( System.Collections.Generic.List &controlsContainer, string filename ) : void
controlsContainer System.Collections.Generic.List
filename string
return void

OceanSample() public method

public OceanSample ( ) : Axiom.Math
return Axiom.Math

SelectOceanMaterial() protected method

protected SelectOceanMaterial ( OceanMaterial newMaterial ) : void
newMaterial OceanMaterial
return void

SetupContent() protected method

protected SetupContent ( ) : void
return void

SetupGUI() protected method

protected SetupGUI ( ) : void
return void

SetupScene() protected method

protected SetupScene ( ) : void
return void

Property Details

MaxSpeed public_oe static_oe property

public static Real MaxSpeed
return Real

MinSpeed public_oe static_oe property

public static Real MinSpeed
return Real

MoveSpeed public_oe static_oe property

public static Real MoveSpeed
return Real

activeFragmentParameters protected_oe property

protected GpuProgramParameters,Axiom.Graphics activeFragmentParameters
return Axiom.Graphics.GpuProgramParameters

activeFragmentProgram protected_oe property

protected GpuProgram,Axiom.Graphics activeFragmentProgram
return Axiom.Graphics.GpuProgram

activeMaterial protected_oe property

protected Material,Axiom.Graphics activeMaterial
return Axiom.Graphics.Material

activePass protected_oe property

protected Pass,Axiom.Graphics activePass
return Axiom.Graphics.Pass

activeVertexParameters protected_oe property

protected GpuProgramParameters,Axiom.Graphics activeVertexParameters
return Axiom.Graphics.GpuProgramParameters

activeVertexProgram protected_oe property

protected GpuProgram,Axiom.Graphics activeVertexProgram
return Axiom.Graphics.GpuProgram

aniso protected_oe property

protected int aniso
return int

currentMaterial protected_oe property

protected int currentMaterial
return int

currentPage protected_oe property

protected int currentPage
return int

diffuseLightColors protected_oe property

protected ColorEx[],Axiom.Core diffuseLightColors
return Axiom.Core.ColorEx[]

filtering protected_oe property

protected TextureFiltering filtering
return TextureFiltering

lightFlareSets protected_oe property

protected BillboardSet[],Axiom.Core lightFlareSets
return Axiom.Core.BillboardSet[]

lightFlares protected_oe property

protected Billboard[],Axiom.Core lightFlares
return Axiom.Core.Billboard[]

lightNodes protected_oe property

protected SceneNode[],Axiom.Core lightNodes
return Axiom.Core.SceneNode[]

lightPivots protected_oe property

protected SceneNode[],Axiom.Core lightPivots
return Axiom.Core.SceneNode[]

lightPositions protected_oe property

protected Vector3[] lightPositions
return Vector3[]

lightRotationAngles protected_oe property

protected Real[] lightRotationAngles
return Real[]

lightRotationAxes protected_oe property

protected Vector3[] lightRotationAxes
return Vector3[]

lightSpeeds protected_oe property

protected Real[] lightSpeeds
return Real[]

lightState protected_oe property

protected bool[] lightState
return bool[]

lights protected_oe property

protected Light[],Axiom.Core lights
return Axiom.Core.Light[]

mainNode protected_oe property

protected SceneNode,Axiom.Core mainNode
return Axiom.Core.SceneNode

materialControlsContainer protected_oe property

protected System.Collections.Generic.List materialControlsContainer
return System.Collections.Generic.List

numPages protected_oe property

protected int numPages
return int

oceanSurfaceEnt protected_oe property

protected Entity oceanSurfaceEnt
return Entity

rotateSpeed protected_oe property

protected Real rotateSpeed
return Real

sceneDetailIndex protected_oe property

protected int sceneDetailIndex
return int

shaderControls protected_oe property

protected Slider[] shaderControls
return Slider[]

shaderControlsContainer protected_oe property

protected System.Collections.Generic.List shaderControlsContainer
return System.Collections.Generic.List

specularLightColors protected_oe property

protected ColorEx[],Axiom.Core specularLightColors
return Axiom.Core.ColorEx[]

spinLight protected_oe property

protected bool spinLight
return bool

translateVector protected_oe property

protected Vector3 translateVector
return Vector3

updateFreq protected_oe property

protected float updateFreq
return float