C# 클래스 Axiom.Demos.WaterMesh

WaterMesh implements the water simulation.
파일 보기 프로젝트 열기: WolfgangSt/axiom 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
PARAM_C float
PARAM_D float
PARAM_T float
PARAM_U float
useFakeNormals bool

보호된 프로퍼티들

프로퍼티 타입 설명
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[

공개 메소드들

메소드 설명
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

메소드 상세

CalculateFakeNormals() 공개 메소드

Calculate Fake Normals (close but not precise, but faster)
public CalculateFakeNormals ( ) : void
리턴 void

CalculateNormals() 공개 메소드

Calculate WaterMesh precise Normals for each Vertex on Grid
public CalculateNormals ( ) : void
리턴 void

Push() 공개 메소드

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
리턴 void

PushDown() 공개 메소드

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
리턴 void

UpdateMesh() 공개 메소드

public UpdateMesh ( float timeSinceLastFrame ) : void
timeSinceLastFrame float
리턴 void

WaterMesh() 공개 메소드

public WaterMesh ( String meshName, float planeSize, int cmplx ) : System
meshName String
planeSize float
cmplx int
리턴 System

프로퍼티 상세

ANIMATIONS_PER_SECOND 보호되어 있는 프로퍼티

protected float ANIMATIONS_PER_SECOND
리턴 float

HwBufMgr 보호되어 있는 정적으로 프로퍼티

protected static HardwareBufferManager,Axiom.Graphics HwBufMgr
리턴 Axiom.Graphics.HardwareBufferManager

PARAM_C 공개적으로 프로퍼티

public float PARAM_C
리턴 float

PARAM_D 공개적으로 프로퍼티

public float PARAM_D
리턴 float

PARAM_T 공개적으로 프로퍼티

public float PARAM_T
리턴 float

PARAM_U 공개적으로 프로퍼티

public float PARAM_U
리턴 float

cmplx 보호되어 있는 프로퍼티

protected int cmplx
리턴 int

cmplxAdj 보호되어 있는 프로퍼티

protected float cmplxAdj
리턴 float

curBufNum 보호되어 있는 프로퍼티

protected int curBufNum
리턴 int

fNorms 보호되어 있는 프로퍼티

protected Vector3[,,] fNorms
리턴 Vector3[,,]

lastAnimationTimeStamp 보호되어 있는 프로퍼티

protected float lastAnimationTimeStamp
리턴 float

lastFrameTime 보호되어 있는 프로퍼티

protected float lastFrameTime
리턴 float

lastTimeStamp 보호되어 있는 프로퍼티

protected float lastTimeStamp
리턴 float

mesh 보호되어 있는 프로퍼티

protected Mesh,Axiom.Core mesh
리턴 Axiom.Core.Mesh

meshName 보호되어 있는 프로퍼티

protected String meshName
리턴 String

normVBuf 보호되어 있는 프로퍼티

protected HardwareVertexBuffer,Axiom.Graphics normVBuf
리턴 Axiom.Graphics.HardwareVertexBuffer

numFaces 보호되어 있는 프로퍼티

protected int numFaces
리턴 int

numVertices 보호되어 있는 프로퍼티

protected int numVertices
리턴 int

posVBuf 보호되어 있는 프로퍼티

protected HardwareVertexBuffer,Axiom.Graphics posVBuf
리턴 Axiom.Graphics.HardwareVertexBuffer

size 보호되어 있는 프로퍼티

protected float size
리턴 float

subMesh 보호되어 있는 프로퍼티

protected SubMesh,Axiom.Core subMesh
리턴 Axiom.Core.SubMesh

tcVBuf 보호되어 있는 프로퍼티

protected HardwareVertexBuffer,Axiom.Graphics tcVBuf
리턴 Axiom.Graphics.HardwareVertexBuffer

useFakeNormals 공개적으로 프로퍼티

public bool useFakeNormals
리턴 bool

vBuf 보호되어 있는 프로퍼티

protected Vector3[,] vBuf
리턴 ].Vector3[

vBufs 보호되어 있는 프로퍼티

protected Vector3[][,] vBufs
리턴 ].Vector3[][

vNorms 보호되어 있는 프로퍼티

protected Vector3[,] vNorms
리턴 ].Vector3[