Kerbal Space Program
1.12.4
|
Interface applied to PartModules so they can expose hard/soft limits for AxisFields to other parts of code More...
Public Member Functions | |
AxisFieldLimit | GetAxisFieldLimit (string fieldName) |
Get an AxisFieldLimit for a specific axisField More... | |
List< AxisFieldLimit > | GetAxisFieldLimits () |
Get the list of AxisFieldLimit for AxisFields with hard/soft limits More... | |
Vector2 | GetHardLimits (string fieldName) |
Get the HardLimits for the named field More... | |
Vector2 | GetSoftLimits (string fieldName) |
Get the SoftLimits for the named field More... | |
bool | HasAxisFieldLimit (string fieldName) |
Does this partmodule have an AxisField of this name with hard/soft limits More... | |
bool | HasAxisFieldLimits () |
Does this partmodule have any AxisFields with hard/soft limits More... | |
void | SetHardLimits (string fieldName, Vector2 newLimits) |
Set the HardLimits for the named field More... | |
void | SetSoftLimits (string fieldName, Vector2 newLimits) |
set the HardLimits for the named field More... | |
Properties | |
Callback< AxisFieldLimit > | LimitsChanged [get, set] |
Callback function that should be triggered when an AxisField Limit changes More... | |
Interface applied to PartModules so they can expose hard/soft limits for AxisFields to other parts of code
AxisFieldLimit IAxisFieldLimits.GetAxisFieldLimit | ( | string | fieldName | ) |
Get an AxisFieldLimit for a specific axisField
Implemented in Expansions.Serenity.BaseServo.
List<AxisFieldLimit> IAxisFieldLimits.GetAxisFieldLimits | ( | ) |
Get the list of AxisFieldLimit for AxisFields with hard/soft limits
Implemented in Expansions.Serenity.BaseServo.
Vector2 IAxisFieldLimits.GetHardLimits | ( | string | fieldName | ) |
Get the HardLimits for the named field
Implemented in Expansions.Serenity.BaseServo.
Vector2 IAxisFieldLimits.GetSoftLimits | ( | string | fieldName | ) |
Get the SoftLimits for the named field
Implemented in Expansions.Serenity.BaseServo.
bool IAxisFieldLimits.HasAxisFieldLimit | ( | string | fieldName | ) |
Does this partmodule have an AxisField of this name with hard/soft limits
Implemented in Expansions.Serenity.BaseServo.
bool IAxisFieldLimits.HasAxisFieldLimits | ( | ) |
Does this partmodule have any AxisFields with hard/soft limits
Implemented in Expansions.Serenity.BaseServo.
void IAxisFieldLimits.SetHardLimits | ( | string | fieldName, |
Vector2 | newLimits | ||
) |
Set the HardLimits for the named field
Implemented in Expansions.Serenity.BaseServo.
void IAxisFieldLimits.SetSoftLimits | ( | string | fieldName, |
Vector2 | newLimits | ||
) |
set the HardLimits for the named field
Implemented in Expansions.Serenity.BaseServo.
|
getset |
Callback function that should be triggered when an AxisField Limit changes