C# Class Axiom.Samples.VolumeTexture.ThingRendable

Quad fragments that rotate around origin (0,0,0) in a random orbit, always oriented to 0,0,0.
Inheritance: Axiom.Graphics.SimpleRenderable
Datei anzeigen Open project: WolfgangSt/axiom

Protected Properties

Property Type Description
count int
orbits List
qSize float
radius float
things List
vertexBuffer Axiom.Graphics.HardwareVertexBuffer

Public Methods

Method Description
AddTime ( float elapsedTime ) : void

Notify that t seconds have elapsed.

GetSquaredViewDepth ( Camera camera ) : float

Returns the camera-relative squared depth of this renderable.

ThingRendable ( float radius, int count, float qSize ) : System.Collections.Generic

Default ctor.

Protected Methods

Method Description
FillBuffer ( ) : void

GenerateRandomFloat ( ) : float

Initialize ( ) : void

dispose ( bool disposeManagedResources ) : void

Method Details

AddTime() public method

Notify that t seconds have elapsed.
public AddTime ( float elapsedTime ) : void
elapsedTime float
return void

FillBuffer() protected method

protected FillBuffer ( ) : void
return void

GenerateRandomFloat() protected method

protected GenerateRandomFloat ( ) : float
return float

GetSquaredViewDepth() public method

Returns the camera-relative squared depth of this renderable.
public GetSquaredViewDepth ( Camera camera ) : float
camera Axiom.Core.Camera
return float

Initialize() protected method

protected Initialize ( ) : void
return void

ThingRendable() public method

Default ctor.
public ThingRendable ( float radius, int count, float qSize ) : System.Collections.Generic
radius float Radius of orbits
count int Number of quads
qSize float Size of quads
return System.Collections.Generic

dispose() protected method

protected dispose ( bool disposeManagedResources ) : void
disposeManagedResources bool
return void

Property Details

count protected_oe property

protected int count
return int

orbits protected_oe property

protected List orbits
return List

qSize protected_oe property

protected float qSize
return float

radius protected_oe property

protected float radius
return float

things protected_oe property

protected List things
return List

vertexBuffer protected_oe property

protected HardwareVertexBuffer,Axiom.Graphics vertexBuffer
return Axiom.Graphics.HardwareVertexBuffer