Property | Type | Description | |
---|---|---|---|
PARAM_C | float | ||
PARAM_D | float | ||
PARAM_T | float | ||
PARAM_U | float | ||
useFakeNormals | bool |
Property | Type | Description | |
---|---|---|---|
ANIMATIONS_PER_SECOND | float | ||
HwBufMgr | |||
cmplx | int | ||
cmplxAdj | float | ||
curBufNum | int | ||
fNorms | Vector3[,,] | ||
lastAnimationTimeStamp | float | ||
lastFrameTime | float | ||
lastTimeStamp | float | ||
mesh | Axiom.Core.Mesh | ||
meshName | String | ||
normVBuf | |||
numFaces | int | ||
numVertices | int | ||
posVBuf | |||
size | float | ||
subMesh | |||
tcVBuf | |||
vBuf | ].Vector3[ | ||
vBufs | ].Vector3[][ | ||
vNorms | ].Vector3[ |
Method | 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 |
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 | |
return | void |
public PushDown ( float fx, float fy, float depth ) : void | ||
fx | float | |
fy | float | |
depth | float | |
return | void |
public UpdateMesh ( float timeSinceLastFrame ) : void | ||
timeSinceLastFrame | float | |
return | void |
public WaterMesh ( String meshName, float planeSize, int cmplx ) : System | ||
meshName | String | |
planeSize | float | |
cmplx | int | |
return | System |
protected static HardwareBufferManager,Axiom.Graphics HwBufMgr | ||
return |
protected HardwareVertexBuffer,Axiom.Graphics normVBuf | ||
return |
protected HardwareVertexBuffer,Axiom.Graphics posVBuf | ||
return |
protected HardwareVertexBuffer,Axiom.Graphics tcVBuf | ||
return |