Interface IMySensorBlock
Describes sensor block (mods interface)
Inherited Members
Namespace: Sandbox.ModAPI
Assembly: Sandbox.Common.dll
Syntax
public interface IMySensorBlock : IMyFunctionalBlock, IMyTerminalBlock, IMyCubeBlock, IMyEntity, IMySensorBlock, IMyFunctionalBlock, IMyTerminalBlock, IMyCubeBlock, IMyEntity
Properties
FieldMax
Gets or sets the sensor maximum field as a Vector3(R,T,Ba).
Declaration
Vector3 FieldMax { get; set; }
Property Value
Type | Description |
---|---|
Vector3 |
Remarks
X is Right Y is Top Z is Back
FieldMin
Gets or sets the sensor mininum field as a Vector3(-L,-Bo,-F).
Declaration
Vector3 FieldMin { get; set; }
Property Value
Type | Description |
---|---|
Vector3 |
Remarks
-X is Left -Y is Bottom -Z is Front
Events
StateChanged
Called when sensor state changer. (Found something)
Declaration
event Action<bool> StateChanged
Event Type
Type | Description |
---|---|
System.Action<System.Boolean> |