IMyTerminalControlSlider Interface |
[This is preliminary documentation and is subject to change.]
Namespace: Sandbox.ModAPI.Interfaces.Terminal
public interface IMyTerminalControlSlider : IMyTerminalControl, IMyTerminalValueControl<float>, ITerminalProperty, IMyTerminalControlTitleTooltip
The IMyTerminalControlSlider type exposes the following members.
Name | Description | |
---|---|---|
Enabled |
Allows you to set if the control is enabled
(Inherited from IMyTerminalControl.) | |
Getter |
This is triggered when the value of the control is required.
(Inherited from IMyTerminalValueControlTValue.) | |
Id |
Identifier of control
(Inherited from IMyTerminalControl.) | |
Setter |
This is triggered when the value of the control is set by the user. Depending on the control, this may be called a lot.
(Inherited from IMyTerminalValueControlTValue.) | |
SupportsMultipleBlocks |
Allows you to set if the control is visible when the block is selected as a group
(Inherited from IMyTerminalControl.) | |
Title |
Allows you to get or set the Label that appears on the control
(Inherited from IMyTerminalControlTitleTooltip.) | |
Tooltip |
Allows you to get or set the tooltip that appears when you hover over the control
(Inherited from IMyTerminalControlTitleTooltip.) | |
TypeName | (Inherited from ITerminalProperty.) | |
Visible |
Allows you to set if the control is visible
(Inherited from IMyTerminalControl.) | |
Writer |
This is triggered when a slider value is modified. Appending to the stringbuilder allows you to modify the text that is displayed along
side the slider when it updates.
|
Name | Description | |
---|---|---|
RedrawControl |
Recreates the control GUI. This allows you to update the Title of some controls.
(Inherited from IMyTerminalControl.) | |
SetDualLogLimits(Single, Single, Single) |
Allows you to set the upper and lower limits of the slider, interpolating on a logarithmic scale at both ends
| |
SetDualLogLimits(FuncIMyTerminalBlock, Single, FuncIMyTerminalBlock, Single, Single) |
Allows you to set the upper and lower limits of the slider with delegates, interpolating on a logarithmic scale at both ends
| |
SetLimits(Single, Single) |
Allows you to set the upper and lower limits of the slider
| |
SetLimits(FuncIMyTerminalBlock, Single, FuncIMyTerminalBlock, Single) |
Allows you to set the upper and lower limits of the slider with delegates
| |
SetLogLimits(Single, Single) |
Allows you to set the upper and lower limits of the slider, interpolating on a logarithmic scale
| |
SetLogLimits(FuncIMyTerminalBlock, Single, FuncIMyTerminalBlock, Single) |
Allows you to set the upper and lower limits of the slider with delegates, interpolating on a logarithmic scale
| |
UpdateVisual |
This updates a control that is currently displayed, allowing you to refresh it's state
(Inherited from IMyTerminalControl.) |
Name | Description | |
---|---|---|
AsTValue |
Property type cast
(Defined by TerminalPropertyExtensions.) | |
AsBool |
Property type cast
(Defined by TerminalPropertyExtensions.) | |
AsColor |
Property type cast
(Defined by TerminalPropertyExtensions.) | |
AsFloat |
Property type cast
(Defined by TerminalPropertyExtensions.) | |
CastTValue |
Property type cast
(Defined by TerminalPropertyExtensions.) | |
IsTValue |
Check property type
(Defined by TerminalPropertyExtensions.) |