IMySensorBlock Interface |
[This is preliminary documentation and is subject to change.]
Namespace: Sandbox.ModAPI.Ingame
The IMySensorBlock type exposes the following members.
Name | Description | |
---|---|---|
DetectedEntities | ||
GetActions | (Inherited from IMyTerminalBlock.) | |
GetActionWithName | (Inherited from IMyTerminalBlock.) | |
GetInventory | (Inherited from IMyEntity.) | |
GetInventory(Int32) | (Inherited from IMyEntity.) | |
GetOwnerFactionTag | (Inherited from IMyCubeBlock.) | |
GetPlayerRelationToOwner | Obsolete. (Inherited from IMyCubeBlock.) | |
GetPosition | (Inherited from IMyEntity.) | |
GetProperties | (Inherited from IMyTerminalBlock.) | |
GetProperty | (Inherited from IMyTerminalBlock.) | |
GetUserRelationToOwner | (Inherited from IMyCubeBlock.) | |
HasLocalPlayerAccess | (Inherited from IMyTerminalBlock.) | |
HasPlayerAccess | (Inherited from IMyTerminalBlock.) | |
RequestEnable | Obsolete. (Inherited from IMyFunctionalBlock.) | |
SearchActionsOfName | (Inherited from IMyTerminalBlock.) | |
SetCustomName(String) | Obsolete. (Inherited from IMyTerminalBlock.) | |
SetCustomName(StringBuilder) | Obsolete. (Inherited from IMyTerminalBlock.) | |
UpdateIsWorking | Obsolete. (Inherited from IMyCubeBlock.) | |
UpdateVisual | Obsolete. (Inherited from IMyCubeBlock.) |
Name | Description | |
---|---|---|
BackExtend |
Gets or sets the back range of the sensor.
| |
BlockDefinition | (Inherited from IMyCubeBlock.) | |
BottomExtend |
Gets or sets the bottom range of the sensor.
| |
CheckConnectionAllowed | (Inherited from IMyCubeBlock.) | |
Components | (Inherited from IMyEntity.) | |
CubeGrid | (Inherited from IMyCubeBlock.) | |
CustomData |
Gets or sets the Custom Data string.
NOTE: Only use this for user input. For storing large mod configs, create your own MyModStorageComponent
(Inherited from IMyTerminalBlock.) | |
CustomInfo | (Inherited from IMyTerminalBlock.) | |
CustomName | (Inherited from IMyTerminalBlock.) | |
CustomNameWithFaction | (Inherited from IMyTerminalBlock.) | |
DefinitionDisplayNameText | (Inherited from IMyCubeBlock.) | |
DetailedInfo | (Inherited from IMyTerminalBlock.) | |
DetectAsteroids |
Gets or sets if the sensor should detect asteroids or planets.
| |
DetectEnemy |
Gets or sets if the sensor should detect enemy players.
| |
DetectFloatingObjects |
Gets or sets if the sensor should detect floating objects (components, rocks).
| |
DetectFriendly |
Gets or sets if the sensor should detect friendly players.
| |
DetectLargeShips |
Gets or sets if the sensor should detect large ships.
| |
DetectNeutral |
Gets or sets if the sensor should detect neutral players.
| |
DetectOwner |
Gets or sets if the sensor should detect the block owner.
| |
DetectPlayers |
Gets or sets if the sensor should detect players.
| |
DetectSmallShips |
Gets or sets if the sensor should detect small ships.
| |
DetectStations |
Gets or sets if the sensor should detect large stations.
| |
DetectSubgrids |
Gets or sets if the sensor should detect subgrids (eg. connected by connector).
| |
DisassembleRatio | (Inherited from IMyCubeBlock.) | |
DisplayName | (Inherited from IMyEntity.) | |
DisplayNameText | (Inherited from IMyCubeBlock.) | |
Enabled | (Inherited from IMyFunctionalBlock.) | |
EntityId | (Inherited from IMyEntity.) | |
FrontExtend |
Gets or sets the front range of the sensor.
| |
HasInventory | (Inherited from IMyEntity.) | |
InventoryCount | (Inherited from IMyEntity.) | |
IsActive |
Gets if there is any entity currently being detected.
| |
IsBeingHacked | (Inherited from IMyCubeBlock.) | |
IsFunctional | (Inherited from IMyCubeBlock.) | |
IsWorking | (Inherited from IMyCubeBlock.) | |
LastDetectedEntity | ||
LeftExtend |
Gets or sets the left range of the sensor.
| |
Mass | (Inherited from IMyCubeBlock.) | |
Max | (Inherited from IMyCubeBlock.) | |
MaxRange |
Gets the maximum range of the sensor in any direction.
| |
Min | (Inherited from IMyCubeBlock.) | |
Name | (Inherited from IMyEntity.) | |
NumberInGrid | (Inherited from IMyCubeBlock.) | |
Orientation | (Inherited from IMyCubeBlock.) | |
OwnerId | (Inherited from IMyCubeBlock.) | |
PlayProximitySound |
Gets or sets if the proximity sound plays when an entity is detected.
| |
Position | (Inherited from IMyCubeBlock.) | |
RightExtend |
Gets or sets the right range of the sensor.
| |
ShowInTerminal | (Inherited from IMyTerminalBlock.) | |
ShowInToolbarConfig | (Inherited from IMyTerminalBlock.) | |
ShowOnHUD | (Inherited from IMyTerminalBlock.) | |
TopExtend |
Gets or sets the top range of the sensor.
| |
WorldAABB | (Inherited from IMyEntity.) | |
WorldAABBHr | (Inherited from IMyEntity.) | |
WorldMatrix | (Inherited from IMyEntity.) | |
WorldVolume | (Inherited from IMyEntity.) | |
WorldVolumeHr | (Inherited from IMyEntity.) |