C# 클래스 LostPolygon.DynamicWaterSystem.WaterDetector

상속: UnityEngine.MonoBehaviour, IDynamicWaterFieldState
파일 보기 프로젝트 열기: caffeinatedguy/Limbs 1 사용 예제들

공개 메소드들

메소드 설명
GetWaterLevel ( Vector3 position ) : float

Returns water level at the given position in simulation grid space.

GetWaterLevel ( float x, float z ) : float

Returns water level at the given position in simulation grid space.

GetWaterLevel ( float x, float y, float z ) : float

Returns water level at the given position in simulation grid space.

비공개 메소드들

메소드 설명
OnTriggerEnter ( Collider otherCollider ) : void
OnTriggerExit ( Collider otherCollider ) : void

메소드 상세

GetWaterLevel() 공개 메소드

Returns water level at the given position in simulation grid space.
public GetWaterLevel ( Vector3 position ) : float
position UnityEngine.Vector3 /// The position at which to query the water level. ///
리턴 float

GetWaterLevel() 공개 메소드

Returns water level at the given position in simulation grid space.
public GetWaterLevel ( float x, float z ) : float
x float /// The x coordinate. ///
z float /// The z coordinate. ///
리턴 float

GetWaterLevel() 공개 메소드

Returns water level at the given position in simulation grid space.
public GetWaterLevel ( float x, float y, float z ) : float
x float /// The x coordinate. ///
y float /// The y coordinate. ///
z float /// The z coordinate. ///
리턴 float