C# Class DockingCamera.PartCameraModule

Module adds an external camera and gives control over it
Inheritance: PartModule, ICamPart
Show file Open project: DennyTX/DockingCam

Public Properties

Property Type Description
IsFollow bool
IsFollowEnabled bool
IsFreeFollow bool
IsFreeFollowEnabled bool
IsLookAtMe bool

Public Methods

Method Description
Activate ( ) : void
Deactivate ( ) : void
FixedUpdate ( ) : void
OnStart ( StartState state = StartState.Flying ) : void
OnUpdate ( ) : void
Start ( ) : void

Private Methods

Method Description
CapRotator ( ) : IEnumerator
Follow ( ) : void
FreeFollow ( ) : void
GetElectricConsumption ( ) : void
LookAtMe ( ) : void
SetCameraMode ( bool a, bool b, bool c ) : void

Method Details

Activate() public method

public Activate ( ) : void
return void

Deactivate() public method

public Deactivate ( ) : void
return void

FixedUpdate() public method

public FixedUpdate ( ) : void
return void

OnStart() public method

public OnStart ( StartState state = StartState.Flying ) : void
state StartState
return void

OnUpdate() public method

public OnUpdate ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Property Details

IsFollow public property

public bool IsFollow
return bool

IsFollowEnabled public property

public bool IsFollowEnabled
return bool

IsFreeFollow public property

public bool IsFreeFollow
return bool

IsFreeFollowEnabled public property

public bool IsFreeFollowEnabled
return bool

IsLookAtMe public property

public bool IsLookAtMe
return bool