[This is preliminary documentation and is subject to change.]
The MyEntity type exposes the following members.
Methods
| Name | Description |
---|
![Public method Public method](../icons/pubmethod.gif) | AddDebugRenderComponent | |
![Public method Public method](../icons/pubmethod.gif) | AddToGamePruningStructure | |
![Public method Public method](../icons/pubmethod.gif) | AfterPaste | |
![Public method Public method](../icons/pubmethod.gif) | BeforePaste | |
![Public method Public method](../icons/pubmethod.gif) | BeforeSave |
Called before method GetObjectBuilder, when saving sector
|
![Public method Public method](../icons/pubmethod.gif) | ClearDebugRenderComponents | |
![Public method Public method](../icons/pubmethod.gif) | Close |
This method marks this entity for close which means, that Close
will be called after all entities are updated
|
![Public method Public method](../icons/pubmethod.gif) | CreateSync | |
![Public method Public method](../icons/pubmethod.gif) | DebugDraw | |
![Public method Public method](../icons/pubmethod.gif) | DebugDrawInvalidTriangles | |
![Public method Public method](../icons/pubmethod.gif) | DebugDrawPhysics |
Draw physical representation of entity
|
![Public method Public method](../icons/pubmethod.gif) | Delete |
Every object must have this method, but not every phys object must necessarily have something to cleanup
Remarks |
![Public method Public method](../icons/pubmethod.gif) | DoOverlapSphereTest | |
![Public method Public method](../icons/pubmethod.gif) | GetBaseEntity | |
![Public method Public method](../icons/pubmethod.gif) | GetDistanceBetweenCameraAndBoundingSphere | |
![Public method Public method](../icons/pubmethod.gif) | GetDistanceBetweenCameraAndPosition | |
![Public method Public method](../icons/pubmethod.gif) | GetDistanceBetweenPlayerPositionAndBoundingSphere | |
![Public method Public method](../icons/pubmethod.gif) | GetFriendlyName | |
![Public method Public method](../icons/pubmethod.gif) | GetHudParams | |
![Public method Public method](../icons/pubmethod.gif) | GetIntersectionWithLine(LineD, NullableMyIntersectionResultLineTriangleEx, IntersectionFlags) | |
![Public method Public method](../icons/pubmethod.gif) | GetIntersectionWithLine(LineD, NullableVector3D, Boolean, IntersectionFlags) | |
![Public method Public method](../icons/pubmethod.gif) | GetIntersectionWithLineAndBoundingSphere | |
![Public method Public method](../icons/pubmethod.gif) | GetIntersectionWithSphere | |
![Public method Public method](../icons/pubmethod.gif) | GetInventoryBase |
Simply get the MyInventoryBase component stored in this entity.
|
![Public method Public method](../icons/pubmethod.gif) | GetInventoryBase(Int32) |
Search for inventory component with maching index.
|
![Public method Public method](../icons/pubmethod.gif) | GetLargestDistanceBetweenCameraAndBoundingSphere | |
![Public method Public method](../icons/pubmethod.gif) | GetObjectBuilder |
Gets object builder from object.
|
![Public method Public method](../icons/pubmethod.gif) | GetSmallestDistanceBetweenCameraAndBoundingSphere | |
![Public method Public method](../icons/pubmethod.gif) | GetSubpart | |
![Public method Public method](../icons/pubmethod.gif) | GetTopMostParent |
Return top most parent of this entity
|
![Public method Public method](../icons/pubmethod.gif) | GetTrianglesIntersectingSphere | |
![Public method Public method](../icons/pubmethod.gif) | GetViewMatrix | |
![Public method Public method](../icons/pubmethod.gif) | Init(MyObjectBuilder_EntityBase) | |
![Public method Public method](../icons/pubmethod.gif) | Init(StringBuilder, String, MyEntity, NullableSingle, String) | |
![Public method Public method](../icons/pubmethod.gif) | OnAddedToScene |
Called when [activated] which for entity means that was added to scene.
|
![Public method Public method](../icons/pubmethod.gif) | OnRemovedFromScene | |
![Public method Public method](../icons/pubmethod.gif) | PrepareForDraw |
Method is called defacto from Update, preparation fo Draw
|
![Public method Public method](../icons/pubmethod.gif) | RaisePhysicsChanged | |
![Public method Public method](../icons/pubmethod.gif) | RefreshModels | |
![Public method Public method](../icons/pubmethod.gif) | RemoveFromGamePruningStructure | |
![Public method Public method](../icons/pubmethod.gif) | SetEmissiveParts | |
![Public method Public method](../icons/pubmethod.gif) | SetEmissivePartsForSubparts | |
![Public method Public method](../icons/pubmethod.gif) | SetSpeedsAccordingToServerValues | |
![Public method Public method](../icons/pubmethod.gif) | ToString | (Overrides ObjectToString.) |
![Public method Public method](../icons/pubmethod.gif) | TryGetSubpart | |
![Public method Public method](../icons/pubmethod.gif) | UpdateAfterSimulation | |
![Public method Public method](../icons/pubmethod.gif) | UpdateAfterSimulation10 | |
![Public method Public method](../icons/pubmethod.gif) | UpdateAfterSimulation100 | |
![Public method Public method](../icons/pubmethod.gif) | UpdateBeforeSimulation | |
![Public method Public method](../icons/pubmethod.gif) | UpdateBeforeSimulation10 |
Called each 10th frame if registered for update10
|
![Public method Public method](../icons/pubmethod.gif) | UpdateBeforeSimulation100 |
Called each 100th frame if registered for update100
|
![Public method Public method](../icons/pubmethod.gif) | UpdateGamePruningStructure | |
![Public method Public method](../icons/pubmethod.gif) | UpdateOnceBeforeFrame | |
![Public method Public method](../icons/pubmethod.gif) | UpdatingStopped | |
Top
Extension Methods
Explicit Interface Implementations
See Also