C# Class Axiom.Demos.WaterMesh

WaterMesh implements the water simulation.
Afficher le fichier Open project: WolfgangSt/axiom Class Usage Examples

Méthodes publiques

Свойство Type Description
PARAM_C float
PARAM_D float
PARAM_T float
PARAM_U float
useFakeNormals bool

Protected Properties

Свойство Type Description
ANIMATIONS_PER_SECOND float
HwBufMgr Axiom.Graphics.HardwareBufferManager
cmplx int
cmplxAdj float
curBufNum int
fNorms Vector3[,,]
lastAnimationTimeStamp float
lastFrameTime float
lastTimeStamp float
mesh Axiom.Core.Mesh
meshName String
normVBuf Axiom.Graphics.HardwareVertexBuffer
numFaces int
numVertices int
posVBuf Axiom.Graphics.HardwareVertexBuffer
size float
subMesh Axiom.Core.SubMesh
tcVBuf Axiom.Graphics.HardwareVertexBuffer
vBuf ].Vector3[
vBufs ].Vector3[][
vNorms ].Vector3[

Méthodes publiques

Méthode Description
CalculateFakeNormals ( ) : void

Calculate Fake Normals (close but not precise, but faster)

CalculateNormals ( ) : void

Calculate WaterMesh precise Normals for each Vertex on Grid

Push ( float fx, float fy, float depth, float height, float speed, bool absolute ) : void

Emulates an object pushing water out of its way (usually down)

PushDown ( float fx, float fy, float depth ) : void

Emulates an object pushing water out of its way (usually down)

UpdateMesh ( float timeSinceLastFrame ) : void
WaterMesh ( String meshName, float planeSize, int cmplx ) : System

Method Details

CalculateFakeNormals() public méthode

Calculate Fake Normals (close but not precise, but faster)
public CalculateFakeNormals ( ) : void
Résultat void

CalculateNormals() public méthode

Calculate WaterMesh precise Normals for each Vertex on Grid
public CalculateNormals ( ) : void
Résultat void

Push() public méthode

Emulates an object pushing water out of its way (usually down)
public Push ( float fx, float fy, float depth, float height, float speed, bool absolute ) : void
fx float
fy float
depth float
height float
speed float
absolute bool
Résultat void

PushDown() public méthode

Emulates an object pushing water out of its way (usually down)
public PushDown ( float fx, float fy, float depth ) : void
fx float
fy float
depth float
Résultat void

UpdateMesh() public méthode

public UpdateMesh ( float timeSinceLastFrame ) : void
timeSinceLastFrame float
Résultat void

WaterMesh() public méthode

public WaterMesh ( String meshName, float planeSize, int cmplx ) : System
meshName String
planeSize float
cmplx int
Résultat System

Property Details

ANIMATIONS_PER_SECOND protected_oe property

protected float ANIMATIONS_PER_SECOND
Résultat float

HwBufMgr protected_oe static_oe property

protected static HardwareBufferManager,Axiom.Graphics HwBufMgr
Résultat Axiom.Graphics.HardwareBufferManager

PARAM_C public_oe property

public float PARAM_C
Résultat float

PARAM_D public_oe property

public float PARAM_D
Résultat float

PARAM_T public_oe property

public float PARAM_T
Résultat float

PARAM_U public_oe property

public float PARAM_U
Résultat float

cmplx protected_oe property

protected int cmplx
Résultat int

cmplxAdj protected_oe property

protected float cmplxAdj
Résultat float

curBufNum protected_oe property

protected int curBufNum
Résultat int

fNorms protected_oe property

protected Vector3[,,] fNorms
Résultat Vector3[,,]

lastAnimationTimeStamp protected_oe property

protected float lastAnimationTimeStamp
Résultat float

lastFrameTime protected_oe property

protected float lastFrameTime
Résultat float

lastTimeStamp protected_oe property

protected float lastTimeStamp
Résultat float

mesh protected_oe property

protected Mesh,Axiom.Core mesh
Résultat Axiom.Core.Mesh

meshName protected_oe property

protected String meshName
Résultat String

normVBuf protected_oe property

protected HardwareVertexBuffer,Axiom.Graphics normVBuf
Résultat Axiom.Graphics.HardwareVertexBuffer

numFaces protected_oe property

protected int numFaces
Résultat int

numVertices protected_oe property

protected int numVertices
Résultat int

posVBuf protected_oe property

protected HardwareVertexBuffer,Axiom.Graphics posVBuf
Résultat Axiom.Graphics.HardwareVertexBuffer

size protected_oe property

protected float size
Résultat float

subMesh protected_oe property

protected SubMesh,Axiom.Core subMesh
Résultat Axiom.Core.SubMesh

tcVBuf protected_oe property

protected HardwareVertexBuffer,Axiom.Graphics tcVBuf
Résultat Axiom.Graphics.HardwareVertexBuffer

useFakeNormals public_oe property

public bool useFakeNormals
Résultat bool

vBuf protected_oe property

protected Vector3[,] vBuf
Résultat ].Vector3[

vBufs protected_oe property

protected Vector3[][,] vBufs
Résultat ].Vector3[][

vNorms protected_oe property

protected Vector3[,] vNorms
Résultat ].Vector3[