MyEntity Class |
[This is preliminary documentation and is subject to change.]
[Missing <summary> documentation for "T:VRage.Game.Entity.MyEntity"]
Namespace: VRage.Game.Entity
public class MyEntity : IMyEntity
The MyEntity type exposes the following members.
Name | Description | |
---|---|---|
MyEntity | Initializes a new instance of the MyEntity class | |
MyEntity(Boolean) |
Initializes a new instance of the MyEntity class.
|
Name | Description | |
---|---|---|
Closed | ||
Components | ||
DisplayName | ||
DisplayNameText |
Display Name for GUI etc. Override in descendant classes. Usually used to display in terminal or inventory controls.
| |
EntityId |
Entity id, can be set by subclasses (for example when using pool...)
| |
Flags | ||
GameLogic | ||
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 GetInventoryBase() != null.
| |
Hierarchy | ||
InScene | ||
InvalidateOnMove | ||
InventoryCount |
Iterate through inventories and return their count.
| |
IsCCDForProjectiles | ||
IsPreview | ||
IsVolumetric | ||
LocationForHudMarker | ||
MarkedForClose | ||
MaxGlassDistSq | ||
Model | ||
ModelCollision | ||
NeedsUpdate | ||
Parent |
Gets or sets the parent.
| |
Physics | ||
PositionComp | ||
Render | ||
Save | ||
Subparts | ||
SyncFlag | ||
SyncObject | ||
WorldMatrix |
Name | Description | |
---|---|---|
OnClose | ||
OnClosing | ||
OnMarkForClose |
This event may not be invoked at all, when calling MyEntities.CloseAll, marking is bypassed
| |
OnPhysicsChanged |
Name | Description | |
---|---|---|
AddNodeToWeldingGroups | (Defined by MyEntityExtensions.) | |
AddToGamePruningStructure | (Defined by MyEntityExtensions.) | |
CreateDefaultSyncEntity | (Defined by MyEntityExtensions.) | |
EntityFactoryCreateObjectBuilder | (Defined by MyEntityExtensions.) | |
GetInventory | (Defined by MyEntityExtensions.) | |
GetPhysicsBody | (Defined by MyEntityExtensions.) | |
GetWeldingGroupNodes | (Defined by MyEntityExtensions.) | |
ProceduralWorldGeneratorTrackEntity | (Defined by MyEntityExtensions.) | |
RemoveFromGamePruningStructure | (Defined by MyEntityExtensions.) | |
RemoveNodeFromWeldingGroups | (Defined by MyEntityExtensions.) | |
TryGetInventory(MyInventoryBase) | Overloaded. (Defined by MyEntityExtensions.) | |
TryGetInventory(MyInventory) | Overloaded. (Defined by MyEntityExtensions.) | |
UpdateGamePruningStructure | (Defined by MyEntityExtensions.) | |
WeldingGroupExists | (Defined by MyEntityExtensions.) |