C# 클래스 FlightObject, Unity-Free-Flight

상속: UnitConverter
파일 보기 프로젝트 열기: NickolausDS/Unity-Free-Flight 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
currentWingArea float
leftWingExposure float
rightWingExposure float

공개 메소드들

메소드 설명
FlightObject ( ) : System.Collections
isValid ( bool log = false ) : bool
setFromWingDimensions ( ) : void
setWingDimensions ( ) : void
setWingPosition ( float cleftWingExposure, float crightWingExposure ) : void
wingsOpen ( ) : bool

Check if the object's wings are completely extended

메소드 상세

FlightObject() 공개 메소드

public FlightObject ( ) : System.Collections
리턴 System.Collections

isValid() 공개 메소드

public isValid ( bool log = false ) : bool
log bool
리턴 bool

setFromWingDimensions() 공개 메소드

public setFromWingDimensions ( ) : void
리턴 void

setWingDimensions() 공개 메소드

public setWingDimensions ( ) : void
리턴 void

setWingPosition() 공개 메소드

public setWingPosition ( float cleftWingExposure, float crightWingExposure ) : void
cleftWingExposure float
crightWingExposure float
리턴 void

wingsOpen() 공개 메소드

Check if the object's wings are completely extended
public wingsOpen ( ) : bool
리턴 bool

프로퍼티 상세

currentWingArea 보호되어 있는 프로퍼티

protected float currentWingArea
리턴 float

leftWingExposure 보호되어 있는 프로퍼티

protected float leftWingExposure
리턴 float

rightWingExposure 보호되어 있는 프로퍼티

protected float rightWingExposure
리턴 float