This repository was archived by the owner on Dec 13, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 123
VRage.Game.ModAPI.Ingame.IMyEntity
Malware edited this page Dec 25, 2018
·
55 revisions
← Index
public interface IMyEntity: Namespace: VRage.Game.ModAPI.Ingame
Assembly: VRage.Game.dll
Inheritors:
- IMyTerminalBlock
- IMyFunctionalBlock
- IMyDoor
- IMyProductionBlock
- IMyAssembler
- IMyAttachableTopBlock
- IMyBatteryBlock
- IMyBeacon
- IMyCameraBlock
- IMyShipController
- IMyCockpit
- IMyCollector
- IMyConveyorSorter
- IMyGyro
- IMyJumpDrive
- IMyUserControllableGun
- IMyLargeTurretBase
- IMyLaserAntenna
- IMyLightingBlock
- IMyMechanicalConnectionBlock
- IMyMotorStator
- IMyOreDetector
- IMyGasGenerator
- IMyGasTank
- IMyOxygenTank
- IMyPistonBase
- IMyProgrammableBlock
- IMyProjector
- IMyRadioAntenna
- IMyReactor
- IMyRemoteControl
- IMySensorBlock
- IMyShipConnector
- IMyShipDrill
- IMyShipToolBase
- IMyShipWelder
- IMySmallGatlingGun
- IMySmallMissileLauncher
- IMyThrust
- IMyUpgradableBlock
- IMyUpgradeModule
- IMyWarhead
- IMyMotorSuspension
- IMyTextPanel
- IMyParachute
- IMyAirVent
- IMyButtonPanel
- IMyGravityGeneratorBase
- IMyGravityGenerator
- IMyGravityGeneratorSphere
- IMyLandingGear
- IMyOxygenFarm
- IMyShipMergeBlock
- IMySolarPanel
- IMySoundBlock
- IMyVirtualMass
- IMySpaceBall
- IMyTimerBlock
- IMyLargeConveyorTurretBase
- IMyCubeBlock
- IMyCubeGrid
| Member | Description |
|---|---|
| Components | |
| EntityId | |
| Name | |
| DisplayName | |
| HasInventory | Returns true if this entity has got at least one inventory. Note that one aggregate inventory can contain zero simple inventories => zero will be returned even if GetInventory() != null. |
| InventoryCount | Returns the count of the number of inventories this entity has. |
| WorldAABB | |
| WorldAABBHr | |
| WorldMatrix | |
| WorldVolume | |
| WorldVolumeHr |
| Member | Description |
|---|---|
| GetInventory() | Simply get the MyInventoryBase component stored in this entity. |
| GetInventory(int) | Search for inventory component with maching index. |
| GetPosition() |
Do you have questions, comments, suggestions for improvements? Is there something I can do better? Did I make a mistake? Please add an issue here, and prefix your issue title with Wiki. Thank you, your help will be very appreciated!