C# 클래스 LostPolygon.DynamicWaterSystem.DynamicWaterSolverAdvancedAmbient

상속: DynamicWaterSolverSimulation
파일 보기 프로젝트 열기: caffeinatedguy/Limbs

공개 프로퍼티들

프로퍼티 타입 설명
OnlyAmbient bool
Waves Wave[]

공개 메소드들

메소드 설명
CreateSplashNormalized ( Vector2 center, float radius, float force ) : void
GetFieldValue ( float x, float z ) : float
Initialize ( Vector2Int gridSize ) : void

The initialization method. Called by DynamicWater.

StepSimulation ( float speed, float damping ) : void

Executes the simulation step.

메소드 상세

CreateSplashNormalized() 공개 메소드

public CreateSplashNormalized ( Vector2 center, float radius, float force ) : void
center Vector2
radius float
force float
리턴 void

GetFieldValue() 공개 메소드

public GetFieldValue ( float x, float z ) : float
x float
z float
리턴 float

Initialize() 공개 메소드

The initialization method. Called by DynamicWater.
public Initialize ( Vector2Int gridSize ) : void
gridSize Vector2Int /// The simulation grid resolution. ///
리턴 void

StepSimulation() 공개 메소드

Executes the simulation step.
public StepSimulation ( float speed, float damping ) : void
speed float /// The overall simulation speed factor. ///
damping float /// The damping value (range 0-1). ///
리턴 void

프로퍼티 상세

OnlyAmbient 공개적으로 프로퍼티

Value indicating whether only ambient waves have to be simulated.
public bool OnlyAmbient
리턴 bool

Waves 공개적으로 프로퍼티

public Wave[] Waves
리턴 Wave[]