C# Class FlightObject, Unity-Free-Flight

Inheritance: UnitConverter
Afficher le fichier Open project: NickolausDS/Unity-Free-Flight Class Usage Examples

Protected Properties

Свойство Type Description
currentWingArea float
leftWingExposure float
rightWingExposure float

Méthodes publiques

Méthode Description
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

Method Details

FlightObject() public méthode

public FlightObject ( ) : System.Collections
Résultat System.Collections

isValid() public méthode

public isValid ( bool log = false ) : bool
log bool
Résultat bool

setFromWingDimensions() public méthode

public setFromWingDimensions ( ) : void
Résultat void

setWingDimensions() public méthode

public setWingDimensions ( ) : void
Résultat void

setWingPosition() public méthode

public setWingPosition ( float cleftWingExposure, float crightWingExposure ) : void
cleftWingExposure float
crightWingExposure float
Résultat void

wingsOpen() public méthode

Check if the object's wings are completely extended
public wingsOpen ( ) : bool
Résultat bool

Property Details

currentWingArea protected_oe property

protected float currentWingArea
Résultat float

leftWingExposure protected_oe property

protected float leftWingExposure
Résultat float

rightWingExposure protected_oe property

protected float rightWingExposure
Résultat float