Space Engineers
|
Inventory bag spawned when character died, container breaks, or when entity from other inventory cannot be spawned then bag spawned with the item in its inventory. More...
Public Member Functions | |
override void | Init (MyObjectBuilder_EntityBase objectBuilder) |
override void | UpdateBeforeSimulation () |
override void | UpdateAfterSimulation100 () |
Public Member Functions inherited from VRage.Game.Entity.MyEntity | |
void | DebugDraw () |
void | DebugDrawInvalidTriangles () |
void | AddDebugRenderComponent (MyDebugRenderComponentBase render) |
void | ClearDebugRenderComponents () |
MyEntity | GetTopMostParent (Type type=null) |
Return top most parent of this entity More... | |
virtual List< MyHudEntityParams > | GetHudParams (bool allowBlink) |
MyEntity () | |
MyEntity (bool initComponents=true) | |
Initializes a new instance of the MyEntity class. More... | |
void | CreateSync () |
MyEntitySubpart | GetSubpart (string name) |
bool | TryGetSubpart (string name, out MyEntitySubpart subpart) |
virtual void | UpdateOnceBeforeFrame () |
virtual void | UpdateAfterSimulation () |
virtual void | UpdatingStopped () |
virtual void | UpdateBeforeSimulation10 () |
Called each 10th frame if registered for update10 More... | |
virtual void | UpdateAfterSimulation10 () |
virtual void | UpdateBeforeSimulation100 () |
Called each 100th frame if registered for update100 More... | |
virtual string | GetFriendlyName () |
virtual MatrixD | GetViewMatrix () |
void | SetSpeedsAccordingToServerValues () |
virtual void | SetWorldMatrix (MatrixD worldMatrix, bool forceUpdate=false, bool updateChildren=true) |
virtual void | DebugDrawPhysics () |
Draw physical representation of entity More... | |
virtual bool | GetIntersectionWithLine (ref LineD line, out Vector3D?v, bool useCollisionModel=true, IntersectionFlags flags=IntersectionFlags.ALL_TRIANGLES) |
virtual bool | GetIntersectionWithLine (ref LineD line, out VRage.Game.Models.MyIntersectionResultLineTriangleEx?t, IntersectionFlags flags=IntersectionFlags.ALL_TRIANGLES) |
virtual Vector3D | GetIntersectionWithLineAndBoundingSphere (ref LineD line, float boundingSphereRadiusMultiplier) |
virtual bool | GetIntersectionWithSphere (ref BoundingSphereD sphere) |
void | GetTrianglesIntersectingSphere (ref BoundingSphereD sphere, Vector3?referenceNormalVector, float?maxAngle, List< MyTriangle_Vertex_Normals > retTriangles, int maxNeighbourTriangles) |
virtual bool | DoOverlapSphereTest (float sphereRadius, Vector3D spherePos) |
double | GetSmallestDistanceBetweenCameraAndBoundingSphere () |
double | GetLargestDistanceBetweenCameraAndBoundingSphere () |
double | GetDistanceBetweenCameraAndBoundingSphere () |
double | GetDistanceBetweenPlayerPositionAndBoundingSphere () |
double | GetDistanceBetweenCameraAndPosition () |
virtual MyEntity | GetBaseEntity () |
virtual void | OnAddedToScene (object source) |
Called when [activated] which for entity means that was added to scene. More... | |
virtual void | OnRemovedFromScene (object source) |
void | AddToGamePruningStructure () |
void | RemoveFromGamePruningStructure () |
void | UpdateGamePruningStructure () |
void | RaisePhysicsChanged () |
void | HackyComponentInitByMiroPleaseDontUseEver (MyDefinitionId id) |
DONT USE THIS METHOD, EVER! More... | |
virtual void | Init (StringBuilder displayName, string model, MyEntity parentObject, float?scale, string modelCollision=null) |
virtual void | RefreshModels (string model, string modelCollision) |
void | Delete () |
Every object must have this method, but not every phys object must necessarily have something to cleanup More... | |
void | Close () |
This method marks this entity for close which means, that Close will be called after all entities are updated More... | |
virtual MyObjectBuilder_EntityBase | GetObjectBuilder (bool copy=false) |
Gets object builder from object. More... | |
virtual void | BeforeSave () |
Called before method GetObjectBuilder, when saving sector More... | |
virtual void | PrepareForDraw () |
Method is called defacto from Update, preparation fo Draw More... | |
virtual void | BeforePaste () |
virtual void | AfterPaste () |
void | SetEmissiveParts (string emissiveName, Color emissivePartColor, float emissivity) |
Sets the emissive value of a specific emissive material on entity. More... | |
void | SetEmissivePartsForSubparts (string emissiveName, Color emissivePartColor, float emissivity) |
Sets the emissive value of a specific emissive material on all entity subparts. More... | |
override string | ToString () |
virtual MyInventoryBase | GetInventoryBase (int index) |
Search for inventory component with maching index. More... | |
MyInventoryBase | GetInventoryBase () |
Simply get the MyInventoryBase component stored in this entity. More... | |
delegate MyObjectBuilder_EntityBase | MyEntityFactoryCreateObjectBuilderDelegate (MyEntity entity) |
delegate MySyncComponentBase | CreateDefaultSyncEntityDelegate (MyEntity thisEntity) |
delegate bool | MyWeldingGroupsGroupExistsDelegate (MyEntity entity) |
virtual void | SerializeControls (BitStream stream) |
virtual void | DeserializeControls (BitStream stream, bool outOfOrder) |
virtual void | ApplyLastControls () |
Public Member Functions inherited from VRage.ModAPI.IMyEntity | |
bool | GetIntersectionWithLine (ref LineD line, out VRage.Game.Models.MyIntersectionResultLineTriangleEx?tri, IntersectionFlags flags) |
void | GetTrianglesIntersectingSphere (ref BoundingSphereD sphere, Vector3?referenceNormalVector, float?maxAngle, System.Collections.Generic.List< MyTriangle_Vertex_Normals > retTriangles, int maxNeighbourTriangles) |
Inventory bag spawned when character died, container breaks, or when entity from other inventory cannot be spawned then bag spawned with the item in its inventory.
Definition at line 41 of file MyInventoryBagEntity.cs.
|
inlinevirtual |
Reimplemented from VRage.Game.Entity.MyEntity.
Definition at line 46 of file MyInventoryBagEntity.cs.
|
inlinevirtual |
Reimplemented from VRage.Game.Entity.MyEntity.
Definition at line 106 of file MyInventoryBagEntity.cs.
|
inlinevirtual |
Reimplemented from VRage.Game.Entity.MyEntity.
Definition at line 96 of file MyInventoryBagEntity.cs.