TerminalPropertyExtensions Class |
[This is preliminary documentation and is subject to change.]
Namespace: Sandbox.ModAPI.Interfaces
public static class TerminalPropertyExtensions
The TerminalPropertyExtensions type exposes the following members.
Name | Description | |
---|---|---|
AsTValue |
Property type cast
| |
AsBool |
Property type cast
| |
AsColor |
Property type cast
| |
AsFloat |
Property type cast
| |
CastTValue |
Property type cast
| |
GetDefaultValueT |
Returns default value of specified property as TypeName | |
GetMaximumT |
Returns maximum value of specified property as TypeName | |
GetMinimumT |
Returns minimum value of specified property as TypeName | |
GetMininumT |
Returns minimum value of specified property as TypeName - this call is obsolete due typo in name, use GetMinimumT(IMyTerminalBlock, String) | |
GetValueT |
Returns value of specified property as TypeName | |
GetValueBool |
Returns value of specified property
| |
GetValueColor |
Returns value of specified property
| |
GetValueFloat |
Returns value of specified property
| |
IsTValue |
Check property type
| |
SetValueT |
Set value of property with type of TypeName | |
SetValueBool |
Set bool value of property
| |
SetValueColor |
Set bool value of property
| |
SetValueFloat |
Set float value of property
|