AbstractHermeticGUIControl Class |
Namespace: KSPDev.GUIUtils
public abstract class AbstractHermeticGUIControl : IRenderableGUIControl
The AbstractHermeticGUIControl type exposes the following members.
Name | Description | |
---|---|---|
![]() | AbstractHermeticGUIControl | Creates a control, bound to a member. |
Name | Description | |
---|---|---|
![]() | GetMemberType | Returns the type of the member value. |
![]() | GetMemberValueT | Get the value from the controlled member. |
![]() | RenderControl | Renders the control in GUI and handles all the interactions. |
![]() | SetMemberValueT | Sets value to the controlled member. |
![]() | UpdateMemberInstance | Calls the customized update method. |
The value source is either a field or a property of the class. Due to the need of using reflections to access the member, these controls are not performance optimized. They are fine for the debugging and settings dialogs, but for the performance demanding applications a regular Unity approach is suggested.