Click or drag to resize
IMyTerminalControlSliderSetLimits Method (FuncIMyTerminalBlock, Single, FuncIMyTerminalBlock, Single)

[This is preliminary documentation and is subject to change.]

Allows you to set the upper and lower limits of the slider with delegates

Namespace: Sandbox.ModAPI.Interfaces.Terminal
Assembly: Sandbox.Common (in Sandbox.Common.dll) Version: 1.0.0.0
Syntax
C#
void SetLimits(
	Func<IMyTerminalBlock, float> minGetter,
	Func<IMyTerminalBlock, float> maxGetter
)

Parameters

minGetter
Type: SystemFuncIMyTerminalBlock, Single

[Missing <param name="minGetter"/> documentation for "M:Sandbox.ModAPI.Interfaces.Terminal.IMyTerminalControlSlider.SetLimits(System.Func{Sandbox.ModAPI.IMyTerminalBlock,System.Single},System.Func{Sandbox.ModAPI.IMyTerminalBlock,System.Single})"]

maxGetter
Type: SystemFuncIMyTerminalBlock, Single

[Missing <param name="maxGetter"/> documentation for "M:Sandbox.ModAPI.Interfaces.Terminal.IMyTerminalControlSlider.SetLimits(System.Func{Sandbox.ModAPI.IMyTerminalBlock,System.Single},System.Func{Sandbox.ModAPI.IMyTerminalBlock,System.Single})"]

See Also