Sandbox.Game.Entities
MyConveyorConnector
Assembly: Sandbox.Game.dll
public class MyConveyorConnector: MyCubeBlock, IMyEntity, IMyEntity, IMyComponentOwner<MyIDModule>, IMyCubeBlock, IMyCubeBlock, IMyUpgradableBlock, IMyUpgradableBlock, IMyConveyorSegmentBlock, IMyConveyorTube, IMyConveyorTube
Fields
Events
| Member | Description |
|---|---|
| AddedToScene | Inherited from MyEntity |
| CanContinueBuildCheck | Inherited from MyCubeBlock |
| CheckConnectionChanged | Inherited from MyCubeBlock |
| CubeGridChanged | Triggers when blocks cube grid is changed Inherited from IMyCubeBlock |
| CubeGridChanged | Inherited from MyCubeBlock |
| GetEmissiveStateHashFromComponent | Inherited from MyCubeBlock |
| GetIsWorking | Inherited from MyCubeBlock |
| IsWorkingChanged | Called when "WorkingState" is changed. Inherited from IMyCubeBlock |
| IsWorkingChanged | Inherited from MyCubeBlock |
| OnBlockDisableUpdates | Inherited from MyCubeBlock |
| OnBlockModelChange | Inherited from MyCubeBlock |
| OnBlockRegisteredToGridSystems | Inherited from MyCubeBlock |
| OnBlockUpdateVisual | Inherited from MyCubeBlock |
| OnClose | Called when Close() is called. Order 1) OnMarkForClose 2) OnClosing 3) OnClose . Inherited from IMyEntity |
| OnClose | Inherited from MyEntity |
| OnClosing | Called when Close() is called. Order 1) OnMarkForClose 2) OnClosing 3) OnClose . Inherited from IMyEntity |
| OnClosing | Inherited from MyEntity |
| OnDebugDraw | Inherited from MyEntity |
| OnMarkForClose | Called when Close() is called. Order 1) OnMarkForClose 2) OnClosing 3) OnClose . Inherited from IMyEntity |
| OnMarkForClose | This event may not be invoked at all, when calling MyEntities.CloseAll, marking is bypassed Inherited from MyEntity |
| OnModelRefresh | Inherited from MyEntity |
| OnPhysicsChanged | Called when havok rigid body physics are changed: inited, closed, modified. Inherited from IMyEntity |
| OnPhysicsChanged | Inherited from MyEntity |
| OnPhysicsComponentChanged | Inherited from MyEntity |
| OnTeleported | Inherited from MyEntity |
| OnUpdateBeforenextFrame | Inherited from MyCubeBlock |
| OnUpdateOnceBeforeNextFrame | Inherited from MyEntity |
| OnUpgradeValuesChanged | Event called when upgrade values are changed Either upgrades were built or destroyed, or they become damaged or unpowered Inherited from IMyCubeBlock |
| OnUpgradeValuesChanged | Inherited from MyCubeBlock |
| RemovedFromScene | Inherited from MyEntity |
Properties
| Member | Description |
|---|---|
| ConveyorSegment | |
| MaxGlassDistSq | |
| BlockDefinition | Gets definition.Id assigned to this block Inherited from IMyCubeBlock |
| BlockDefinition | Inherited from MyCubeBlock |
| BuiltBy | Inherited from MyCubeBlock |
| CastShadows | Gets or sets flag CastShadows Inherited from IMyEntity |
| CheckConnectionAllowed | Whether the grid should call the ConnectionAllowed method for this block (ConnectionAllowed checks mount points and other per-block requirements) Inherited from IMyCubeBlock |
| CheckConnectionAllowed | Inherited from MyCubeBlock |
| Closed | True if the block has been removed from the world. Inherited from IMyEntity |
| Closed | Inherited from MyEntity |
| Components | Gets blocks component logic container Inherited from IMyEntity |
| Components | Inherited from MyEntity |
| CubeGrid | Grid in which the block is placed Inherited from IMyCubeBlock |
| CubeGrid | Grid in which the block is placed Inherited from IMyCubeBlock |
| CubeGrid | Inherited from MyCubeBlock |
| DebugAsyncLoading | Used for internal usage. Modders should not use it. Will be eventually removed Inherited from IMyEntity |
| DebugName | Inherited from MyEntity |
| DefinitionDisplayNameText | Definition name Inherited from IMyCubeBlock |
| DefinitionDisplayNameText | Inherited from MyCubeBlock |
| DisassembleRatio | Is set in definition Ratio at which is the block disassembled (grinding) Bigger values - longer grinding Inherited from IMyCubeBlock |
| DisassembleRatio | Inherited from MyCubeBlock |
| DisplayName | Gets user friendly name of entity. May be null For block terminal name use DisplayNameText Inherited from IMyEntity |
| DisplayName | Gets or sets user friendly name of entity Inherited from IMyEntity |
| DisplayName | Inherited from MyEntity |
| DisplayNameText | Translated block name Inherited from IMyCubeBlock |
| DisplayNameText | Display Name for GUI etc. Override in descendant classes. Usually used to display in terminal or inventory controls. Inherited from MyEntity |
| EntityId | Id of entity Inherited from IMyEntity |
| EntityId | Uniq id of entity. Inherited from IMyEntity |
| EntityId | Entity id, can be set by subclasses (for example when using pool...) Inherited from MyEntity |
| EntityStorage | Inherited from MyEntity |
| FastCastShadowResolve | Gets or sets flag CastShadows Inherited from IMyEntity |
| Flags | Gets or set some behavior of entity. EntityFlags Inherited from IMyEntity |
| Flags | Inherited from MyEntity |
| ForceBlockDestructible | Inherited from MyCubeBlock |
| GameLogic | Gets or sets game logic for object. If there is more than 1 game logic attached it should be wrapped into. Inherited from IMyEntity |
| GameLogic | Inherited from MyEntity |
| 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. Inherited from IMyEntity |
| 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. Inherited from MyEntity |
| Hierarchy | Gets or sets Hierarchy component Inherited from IMyEntity |
| Hierarchy | Inherited from MyEntity |
| HighlightMode | Inherited from MyCubeBlock |
| IDModule | Inherited from MyCubeBlock |
| InScene | Gets or set if grid is InScene. Objects that are not in scene are not updated and drawn. Inherited from IMyEntity |
| InScene | Inherited from MyEntity |
| InvalidateOnMove | Gets if entity is invalidated on move When visual look of entity depends on position - then InvalidateOnMove should be true Inherited from IMyEntity |
| InvalidateOnMove | Inherited from MyEntity |
| InventoryCount | Returns the count of the number of inventories this entity has. Inherited from IMyEntity |
| InventoryCount | Iterate through inventories and return their count. Inherited from MyEntity |
| IsBeingHacked | Hacking of the block is in progress Inherited from IMyCubeBlock |
| IsBeingHacked | Inherited from MyCubeBlock |
| IsBuilt | Inherited from MyCubeBlock |
| IsCCDForProjectiles | Inherited from MyEntity |
| IsFunctional | Gets if integrity is above breaking threshold Inherited from IMyCubeBlock |
| IsFunctional | Inherited from MyCubeBlock |
| IsPreview | Inherited from MyEntity |
| IsReadyForReplication | Inherited from MyEntity |
| IsReplicated | Inherited from MyEntity |
| IsSubBlock | Inherited from MyCubeBlock |
| IsTransparentForJumpDrive | Inherited from MyCubeBlock |
| IsTransparentForJumpDrive | Inherited from MyEntity |
| IsVolumetric | Always returns false Inherited from IMyEntity |
| IsVolumetric | Inherited from MyEntity |
| IsWorking | True if block is able to do its work depening on block type (is functional, powered, enabled, etc...) Inherited from IMyCubeBlock |
| IsWorking | Inherited from MyCubeBlock |
| LastSnapshotFlags | Inherited from MyEntity |
| LocalAABB | Gets or sets local axis aligned bounding box. Same as LocalAABBHr , LocalAABB Inherited from IMyEntity |
| LocalAABBHr | Gets local axis aligned bounding box. Same as LocalAABB , LocalAABB Inherited from IMyEntity |
| LocalMatrix | Gets or sets local matrix. When entity, has parent, it's world coordinates are calculated from localMatrix and parent world matrix Inherited from IMyEntity |
| LocalVolume | Gets or sets local volume. Same as LocalVolume Inherited from IMyEntity |
| LocalVolumeOffset | Gets or sets local volume offset. Same as LocalVolumeOffset Inherited from IMyEntity |
| LocationForHudMarker | Inherited from MyEntity |
| MarkedForClose | Checked if Close() was called Inherited from IMyEntity |
| MarkedForClose | Inherited from MyEntity |
| Mass | Block mass Inherited from IMyCubeBlock |
| Max | Maximum coordinates of grid cells occupied by this block Inherited from IMyCubeBlock |
| Max | Inherited from MyCubeBlock |
| MaxGlassDistSq | Not used in game anymore Inherited from IMyEntity |
| MaxGlassDistSq | Inherited from MyEntity |
| Min | Minimum coordinates of grid cells occupied by this block Inherited from IMyCubeBlock |
| Min | Inherited from MyCubeBlock |
| Model | Gets model of block Inherited from IMyEntity |
| Model | Inherited from MyEntity |
| ModelCollision | Gets collision model of block Inherited from IMyEntity |
| ModelCollision | Inherited from MyEntity |
| Name | Some entities can have uniq name, and game can find them by name TryGetEntityByName(string, out IMyEntity) Inherited from IMyEntity |
| Name | Uniq name of entity. Can be used to find entity by name Inherited from IMyEntity |
| Name | Inherited from MyEntity |
| NearFlag | Gets or sets flag Near Inherited from IMyEntity |
| NeedsDraw | Gets or sets flag NeedsDraw Inherited from IMyEntity |
| NeedsDrawFromParent | Gets or sets flag NeedsDrawFromParent Inherited from IMyEntity |
| NeedsResolveCastShadow | Gets or sets flag NeedsResolveCastShadow Inherited from IMyEntity |
| NeedsUpdate | Gets or sets how often the entity should be updated. Inherited from IMyEntity |
| NeedsUpdate | Inherited from MyEntity |
| NeedsWorldMatrix | Gets or sets if WorldMatrix should be calculated when parent WorldMatrix is changed. Inherited from IMyEntity |
| NeedsWorldMatrix | Inherited from MyEntity |
| NumberInGrid | Order in which were the blocks of same type added to grid Used in default display name Inherited from IMyCubeBlock |
| NumberInGrid | Inherited from MyCubeBlock |
| Orientation | Returns block orientation in base 6 directions Inherited from IMyCubeBlock |
| Orientation | Inherited from MyCubeBlock |
| OwnerBlock | If the block is subblock then OwnerBlock is set to block which owns (spawns) subblocks (subgrids) Inherited from MyCubeBlock |
| OwnerId | IdentityId of player owning block (not steam Id) Inherited from IMyCubeBlock |
| OwnerId | Inherited from MyCubeBlock |
| Parent | Gets parent of entity or null, if this entity doesn't have parent. Ex: character sitting in cockpit, has parent - cockpit, cockpit has parent - cube grid, connected grids also has main grid, which would be parent for other grids. Inherited from IMyEntity |
| Parent | Gets or sets the parent. Inherited from MyEntity |
| PersistentFlags | Gets or sets persistent flags that are used in rendering. Inherited from IMyEntity |
| Physics | Gets or sets physics for object Inherited from IMyEntity |
| Physics | Inherited from MyCubeBlock |
| Physics | Inherited from MyEntity |
| Pinned | Inherited from MyEntity |
| Position | Position in grid coordinates Inherited from IMyCubeBlock |
| Position | Inherited from MyCubeBlock |
| PositionComp | Gets or sets position provider logic Inherited from IMyEntity |
| PositionComp | Inherited from MyEntity |
| Render | Gets or sets render logic Inherited from IMyEntity |
| Render | Inherited from MyEntity |
| ResourceSink | Resource sink (draws power) Inherited from IMyCubeBlock |
| ResourceSink | Inherited from MyCubeBlock |
| Save | Gets or sets Save . Entity won't be saved if Save is false Inherited from IMyEntity |
| Save | Inherited from MyEntity |
| ShadowBoxLod | Gets or sets flag ShadowBoxLod Inherited from IMyEntity |
| SkipIfTooSmall | Gets or sets flag SkipIfTooSmall Inherited from IMyEntity |
| SlimBlock | Gets the SlimBlock associated with this block Inherited from IMyCubeBlock |
| StopPhysicsActivation | Inherited from IMyEntity |
| StopPhysicsActivation | Inherited from MyEntity |
| Storage | Custom storage for mods. Shared with all mods. Inherited from IMyEntity |
| Storage | Inherited from MyEntity |
| SubBlockName | Name of subblock (key in the owner's subblocks map). Inherited from MyCubeBlock |
| Subparts | Inherited from MyEntity |
| SyncFlag | Inherited from MyEntity |
| Synchronized | Gets or sets if the entity should be synced. Inherited from IMyEntity |
| SyncObject | Gets SyncObject used for synchronizing data over network with Inherited from IMyEntity |
| SyncObject | Inherited from MyEntity |
| Transparent | Gets or sets Transparency . When setting true entity would be 25% transparent Inherited from IMyEntity |
| UpdateDuration | Inherited from MyEntity |
| UpgradeCount | Gets number of upgrades applied Inherited from IMyUpgradableBlock |
| UpgradeValues | Get all values changed by upgrade modules Should only be used as read-only Inherited from IMyCubeBlock |
| UpgradeValues | Inherited from MyCubeBlock |
| UseObjectsComponent | Inherited from MyCubeBlock |
| UsesEmissivePreset | Inherited from MyCubeBlock |
| Visible | Gets or sets flag Visible Inherited from IMyEntity |
| WorldAABB | Gets world axis-aligned bounding box Inherited from IMyEntity |
| WorldAABBHr | Gets world axis-aligned bounding box Inherited from IMyEntity |
| WorldMatrix | Gets world matrix of this entity Inherited from IMyEntity |
| WorldMatrix | Gets or sets world matrix. Inherited from IMyEntity |
| WorldMatrix | Inherited from MyEntity |
| WorldMatrixInvScaled | Get scaled, inverted world matrix. Same as GetViewMatrix() , GetWorldMatrixNormalizedInv() , WorldMatrixNormalizedInv , but not normalized Inherited from IMyEntity |
| WorldMatrixNormalizedInv | Get normalized, inverted world matrix. Same as GetViewMatrix() , WorldMatrixNormalizedInv Inherited from IMyEntity |
| WorldVolume | Gets bounding sphere of this entity Inherited from IMyEntity |
| WorldVolumeHr | Gets bounding sphere of this entity Inherited from IMyEntity |
| IsCCDForProjectiles | Obsolete Inherited from IMyEntity |
| LocationForHudMarker | Obsolete Inherited from IMyEntity |
Constructors
| Member | Description |
|---|---|
| MyConveyorConnector() | |
| MyCubeBlock() | Inherited from MyCubeBlock |
| MyEntity() | Inherited from MyEntity |
| MyEntity(bool) | Inherited from MyEntity |
Methods
| Member | Description |
|---|---|
| static GetBlockGridOffset(MyCubeBlockDefinition) | Returns block offset in spawned grid. Inherited from MyCubeBlock |
| static GetCubeBlockParent(MyEntity) | Inherited from MyEntity |
| Init(MyObjectBuilder_CubeBlock, MyCubeGrid) | |
| InitializeConveyorSegment() | |
| OnLineWorkingStateUpdate(MyConveyorLine) | |
| OnRemovedFromScene(object) | |
| SetEmissiveStateDisabled() | |
| SetEmissiveStateWorking() | |
| UpdateOnceBeforeFrame() | |
| AddDebugRenderComponent(MyDebugRenderComponentBase) | Inherited from MyEntity |
| AddToGamePruningStructure() | Inherited from MyEntity |
| AddUpgradeValue(string, float) | Preferred way of registering a block for upgrades Adding directly to the dictionary can have unintended consequences when multiple mods are involved. Inherited from IMyCubeBlock |
| AddUpgradeValue(string, float) | Inherited from MyCubeBlock |
| AfterPaste() | Inherited from MyEntity |
| ApplyLastControls() | Inherited from MyEntity |
| BeforePaste() | Inherited from MyEntity |
| BeforeSave() | Called before method GetObjectBuilder, when saving sector Inherited from IMyEntity |
| BeforeSave() | Called before method GetObjectBuilder, when saving sector Inherited from MyEntity |
| CalcLocalMatrix(out Matrix, out string) | Calculates local matrix, and currentModel Inherited from IMyCubeBlock |
| CalcLocalMatrix(out Matrix, out string) | Inherited from MyCubeBlock |
| CalculateCurrentModel(out Matrix) | Calculates model currently used by block depending on its build progress and other factors Inherited from IMyCubeBlock |
| CalculateCurrentModel(out Matrix) | Inherited from MyCubeBlock |
| CanContinueBuild() | Inherited from MyCubeBlock |
| ChangeBlockOwnerRequest(long, MyOwnershipShareModeEnum) | Inherited from MyCubeBlock |
| ChangeOwner(long, MyOwnershipShareModeEnum) | Inherited from MyCubeBlock |
| CheckEmissiveState(bool) | Inherited from MyCubeBlock |
| ClearDebugRenderComponents() | Inherited from MyEntity |
| Close() | This method marks this entity for close which means, that Close will be called after all entities are updated Inherited from IMyEntity |
| Close() | This method marks this entity for close which means, that Close will be called after all entities are updated Inherited from MyEntity |
| CommitUpgradeValues() | Inherited from MyCubeBlock |
| ConnectionAllowed(ref Vector3I, ref Vector3I, MyCubeBlockDefinition) | Returns true if this block can connect to another block (of the given type) in the given position. This is called only if CheckConnectionAllowed == true. If this method would return true for any position, set CheckConnectionAllowed to false to avoid unnecessary overhead. It is the block's responsibility to call CubeGrid.UpdateBlockNeighbors every time the conditions that are checked by this method change. Inherited from MyCubeBlock |
| ConnectionAllowed(ref Vector3I, ref Vector3I, ref Vector3I, MyCubeBlockDefinition) | Whether connection is allowed to any of the positions between otherBlockMinPos and otherBlockMaxPos (both inclusive). Default implementation calls ConnectionAllowed(ref Vector3I otherBlockPos, ref Vector3I faceNormal) in a for loop. Override this in a subclass if this is not needed (for example, because all calls would return the same value for the same face) Inherited from MyCubeBlock |
| ContactPointCallback(ref MyGridContactInfo) | Return true when contact is valid Inherited from MyCubeBlock |
| ContainsDebugRenderComponent(Type) | Inherited from MyEntity |
| CreateRenderer(MyPersistentEntityFlags2, Vector3, object) | Inherited from MyCubeBlock |
| CreateSync() | Inherited from MyEntity |
| DebugDraw() | Calls debug draw of entity Inherited from IMyEntity |
| DebugDraw() | Inherited from MyEntity |
| DebugDrawInvalidTriangles() | Calls special debug draw, that highlighting invalid triangles in model Inherited from IMyEntity |
| DebugDrawInvalidTriangles() | Inherited from MyEntity |
| DebugDrawPhysics() | Draw physical representation of entity Inherited from MyEntity |
| Delete() | Performs real cleaning of entity. Should be called by game. Modders should prefer Close() method. Inherited from IMyEntity |
| Delete() | Every object must have this method, but not every phys object must necessarily have something to cleanup Inherited from MyEntity |
| DeserializeControls(BitStream, bool) | Inherited from MyEntity |
| DisableUpdates() | Inherited from MyCubeBlock |
| DoOverlapSphereTest(float, Vector3D) | Checks if intersects Works only with IMyVoxelBase Inherited from IMyEntity |
| DoOverlapSphereTest(float, Vector3D) | Inherited from MyEntity |
| EnableColorMaskForSubparts(bool) | Allows subparts have different color than their parent Inherited from IMyEntity |
| FillUpgradesDictionary(Dictionary<string, float>) | Get list of upgrades. Read only. Inherited from IMyUpgradableBlock |
| FriendlyWithBlock(MyCubeBlock) | Whether the two blocks are friendly. This relation is base on their owners and is symmetrical Inherited from MyCubeBlock |
| GetBaseEntity() | Inherited from MyEntity |
| GetChildren(List |
Gets children of entity. Child - entity, who's Parent is this entity Inherited from IMyEntity |
| GetComponent() | Inherited from MyCubeBlock |
| GetDiffuseColor() | Gets render diffuse color Inherited from IMyEntity |
| GetDistanceBetweenCameraAndBoundingSphere() | Distance from camera to bounding sphere of this phys object. Result is always positive, even if camera is inside the sphere. (in meters) Inherited from IMyEntity |
| GetDistanceBetweenCameraAndBoundingSphere() | Inherited from MyEntity |
| GetDistanceBetweenCameraAndPosition() | Distance from camera to position of entity. Inherited from IMyEntity |
| GetDistanceBetweenCameraAndPosition() | Inherited from MyEntity |
| GetDistanceBetweenPlayerPositionAndBoundingSphere() | Inherited from MyEntity |
| GetFriendlyName() | Not used. Actually not a friendly name Inherited from IMyEntity |
| GetFriendlyName() | Inherited from MyEntity |
| GetGeometryLocalBox() | Inherited from MyCubeBlock |
| GetHudParams(bool) | Inherited from MyEntity |
| GetInteractiveObject(uint) | Inherited from MyCubeBlock |
| GetIntersectionWithAABB(ref BoundingBoxD) | Return true if object intersects specified bounding box. Inherited from IMyEntity |
| GetIntersectionWithAABB(ref BoundingBoxD) | Inherited from MyEntity |
| GetIntersectionWithLine(ref LineD, out MyIntersectionResultLineTriangleEx?, IntersectionFlags) | Get intersection of model with provided line Inherited from IMyEntity |
| GetIntersectionWithLine(ref LineD, out MyIntersectionResultLineTriangleEx?, IntersectionFlags) | Inherited from MyCubeBlock |
| GetIntersectionWithLine(ref LineD, out Vector3D?, bool, IntersectionFlags) | Inherited from MyEntity |
| GetIntersectionWithLine(ref LineD, out MyIntersectionResultLineTriangleEx?, IntersectionFlags) | Inherited from MyEntity |
| GetIntersectionWithLineAndBoundingSphere(ref LineD, float) | Calculates intersection of line with any bounding sphere in this model instance. Center of the bounding sphere will be returned. It takes boundingSphereRadiusMultiplier argument which serves for extending the influence (radius) for interaction with line. Inherited from IMyEntity |
| GetIntersectionWithLineAndBoundingSphere(ref LineD, float) | Inherited from MyEntity |
| GetIntersectionWithSphere(ref BoundingSphereD) | Return true if object intersects specified sphere. Inherited from IMyEntity |
| GetIntersectionWithSphere(ref BoundingSphereD) | Inherited from MyEntity |
| GetInventory() | Simply get the MyInventoryBase component stored in this entity. Inherited from IMyEntity |
| GetInventory(int) | Search for inventory component with maching index. Inherited from IMyEntity |
| GetInventory() | Simply get the MyInventoryBase component stored in this entity. Inherited from IMyEntity |
| GetInventory(int) | Search for inventory component with matching index. Inherited from IMyEntity |
| GetInventoryBase(int) | Search for inventory component with maching index. Inherited from MyEntity |
| GetInventoryBase() | Simply get the MyInventoryBase component stored in this entity. Inherited from MyEntity |
| GetLargestDistanceBetweenCameraAndBoundingSphere() | Largest distance from camera to bounding sphere of this phys object. Result is always positive, even if camera is inside the sphere. It's actually distance between camera and opposite side of the sphere Inherited from IMyEntity |
| GetLargestDistanceBetweenCameraAndBoundingSphere() | Inherited from MyEntity |
| GetLocalMatrix(out Matrix) | Inherited from MyCubeBlock |
| GetMass() | Inherited from MyCubeBlock |
| GetObjectBuilder(bool) | Returns object builder - object representing block state, and allows restore it. Used in game save, or syncing over network. Inherited from IMyEntity |
| GetObjectBuilder(bool) | Inherited from MyCubeBlock |
| GetObjectBuilder(bool) | Gets object builder from object. Inherited from MyEntity |
| GetObjectBuilderCubeBlock(bool) | Returns block object builder which can be serialized or added to grid Inherited from IMyCubeBlock |
| GetObjectBuilderCubeBlock(bool) | Inherited from MyCubeBlock |
| GetOwnerFactionTag() | Tag of faction owning block Inherited from IMyCubeBlock |
| GetOwnerFactionTag() | Inherited from MyCubeBlock |
| GetPlayerRelationToOwner() | Inherited from MyCubeBlock |
| GetPosition() | Gets position in world coordinates Inherited from IMyEntity |
| GetSmallestDistanceBetweenCameraAndBoundingSphere() | Smallest distance between camera and bounding sphere of this phys object. Result is always positive, even if camera is inside the sphere. Inherited from IMyEntity |
| GetSmallestDistanceBetweenCameraAndBoundingSphere() | Inherited from MyEntity |
| GetSubBlocks() | Inherited from MyCubeBlock |
| GetSubpart(string) | Gets subpart by subpart name Inherited from IMyEntity |
| GetSubpart(string) | Inherited from MyEntity |
| GetTopMostParent(Type) | Gets top most Parent of specified type. Top most is entity that doesn't have parent (of specified type) Inherited from IMyEntity |
| GetTopMostParent(Type) | Return top most parent of this entity Inherited from MyEntity |
| GetTrianglesIntersectingSphere(ref BoundingSphere, Vector3?, float?, List<MyTriangle_Vertex_Normals>, int) | Return list of triangles intersecting specified sphere. Angle between every triangleVertexes normal vector and 'referenceNormalVector' is calculated, and if more than 'maxAngle', we ignore such triangleVertexes. Triangles are returned in 'retTriangles', and this list must be preallocated! IMPORTANT: Sphere must be in model space, so don't transform it! Inherited from IMyEntity |
| GetTrianglesIntersectingSphere(ref BoundingSphere, Vector3?, float?, List<MyTriangle_Vertex_Normals>, int) | Inherited from MyEntity |
| GetUserRelationToOwner(long, MyRelationsBetweenPlayerAndBlock) | Gets relation to owner of block Inherited from IMyCubeBlock |
| GetUserRelationToOwner(long, MyRelationsBetweenPlayerAndBlock) | Inherited from MyCubeBlock |
| GetViewMatrix() | Get normalized, inverted world matrix. Same as GetWorldMatrixNormalizedInv() , WorldMatrixNormalizedInv Inherited from IMyEntity |
| GetViewMatrix() | Inherited from MyEntity |
| GetWorldMatrixNormalizedInv() | Get normalized, inverted world matrix. Same as GetViewMatrix() , WorldMatrixNormalizedInv Inherited from IMyEntity |
| Init() | Reloads block model and interactive objects (doors, terminals, etc...) Inherited from IMyCubeBlock |
| Init(MyObjectBuilder_CubeBlock, IMyCubeGrid) | Initializes block state from object builder Inherited from IMyCubeBlock |
| Init() | Inherited from MyCubeBlock |
| Init(MyObjectBuilder_CubeBlock, MyCubeGrid) | Inherited from MyCubeBlock |
| Init(MyObjectBuilder_CubeBlock, IMyCubeGrid) | Inherited from MyCubeBlock |
| Init(MyObjectBuilder_EntityBase) | Inherited from MyEntity |
| Init(StringBuilder, string, MyEntity, float?, string) | Inherited from MyEntity |
| InitComponents() | Inherited from MyCubeBlock |
| InitComponents() | Inherited from MyEntity |
| InitComponentsForTesting() | Inherited from MyEntity |
| IsVisible() | Gets or result of function IsVisible() . Function inside check for IsVisible(IMyEntity) Inherited from IMyEntity |
| OnAddedToScene(object) | Adds entity to scene: init updates, render physics Inherited from IMyEntity |
| OnAddedToScene(object) | Inherited from MyCubeBlock |
| OnAddedToScene(object) | Called when [activated] which for entity means that was added to scene. Inherited from MyEntity |
| OnBuildSuccess(long) | Method called when a block has been built (after adding to the grid). This is called right after placing the block and it doesn't matter whether it is fully built (creative mode) or is only construction site. Note that it is not called for blocks which do not create FatBlock at that moment. Inherited from IMyCubeBlock |
| OnBuildSuccess(long, bool) | Method called when a block has been built (after adding to the grid). This is called right after placing the block and it doesn't matter whether it is fully built (creative mode) or is only construction site. Note that it is not called for blocks which do not create FatBlock at that moment. Inherited from IMyCubeBlock |
| OnBuildSuccess(long, bool) | Method called when a block has been built (after adding to the grid). This is called right after placing the block and it doesn't matter whether it is fully built (creative mode) or is only construction site. Note that it is not called for blocks which do not create FatBlock at that moment. Inherited from MyCubeBlock |
| OnCubeGridChanged(MyCubeGrid) | Notifies about grid change with old grid in parameter (new grid is available in property). Inherited from MyCubeBlock |
| OnDestroy() | Called when block is destroyed before being removed from grid Inherited from IMyCubeBlock |
| OnDestroy() | Called when block is destroyed before being removed from grid Inherited from MyCubeBlock |
| OnModelChange() | Called when the model referred by the block is changed Inherited from IMyCubeBlock |
| OnModelChange() | Called when the model referred by the block is changed Inherited from MyCubeBlock |
| OnRegisteredToGridSystems() | Called at the end of registration from grid systems (after block has been registered). Inherited from IMyCubeBlock |
| OnRegisteredToGridSystems() | Called at the end of registration from grid systems (after block has been registered). Inherited from MyCubeBlock |
| OnRemovedByCubeBuilder() | Method called when user removes a cube block from grid. Useful when block has to remove some other attached block (like motors). Inherited from IMyCubeBlock |
| OnRemovedByCubeBuilder() | Method called when user removes a cube block from grid. Useful when block has to remove some other attached block (like motors). Inherited from MyCubeBlock |
| OnRemovedFromScene(object) | Remove entity and it's children from scene: stops updates and render, deactivates physics. Usually called when entity deleted Inherited from IMyEntity |
| OnRemovedFromScene(object) | Inherited from MyCubeBlock |
| OnRemovedFromScene(object) | Inherited from MyEntity |
| OnReplicationEnded() | Inherited from MyEntity |
| OnReplicationStarted() | Inherited from MyEntity |
| OnTeleport() | Inherited from MyCubeBlock |
| OnUnregisteredFromGridSystems() | Called at the end of unregistration from grid systems (after block has been unregistered). Inherited from IMyCubeBlock |
| OnUnregisteredFromGridSystems() | Called at the end of unregistration from grid systems (after block has been unregistered). Inherited from MyCubeBlock |
| Pin() | Inherited from MyEntity |
| PrepareForDraw() | Method is called defacto from Update, preparation fo Draw Inherited from MyEntity |
| RaisePhysicsChanged() | Inherited from MyEntity |
| RaycastDetectors(Vector3D, Vector3D) | Gets the name of interactive object intersected by defined line Inherited from IMyCubeBlock |
| ReceivedDamage(float, MyStringHash, long, long, bool, MyStringHash?) | Block received damage from any source. Inherited from MyCubeBlock |
| RefreshModels(string, string) | Inherited from MyCubeBlock |
| RefreshModels(string, string) | Inherited from MyEntity |
| ReleaseInventory(MyInventory, bool) | Inherited from MyCubeBlock |
| ReloadDetectors(bool) | Reloads detectors (interactive objects) in model Inherited from IMyCubeBlock |
| RemoveDebugRenderComponent(Type) | Inherited from MyEntity |
| RemoveDebugRenderComponent(MyDebugRenderComponentBase) | Inherited from MyEntity |
| RemoveEffect(string, int) | Removes active effect set with SetEffect Inherited from IMyCubeBlock |
| RemoveEffect(string, int) | Inherited from MyCubeBlock |
| RemoveFromGamePruningStructure() | Inherited from MyEntity |
| ResetControls() | Inherited from MyEntity |
| SerializeControls(BitStream) | Inherited from MyEntity |
| SetColorMaskForSubparts(Vector3) | Sets subparts custom col Inherited from IMyEntity |
| SetDamageEffect(bool) | Start or stop damage effect on cube block Inherited from IMyCubeBlock |
| SetDamageEffect(bool) | Inherited from MyCubeBlock |
| SetDamageEffectDelayed(bool) | Inherited from MyCubeBlock |
| SetEffect(string, bool) | Activate block effect listed in definition Inherited from IMyCubeBlock |
| SetEffect(string, float, bool, bool, bool) | Activate block effect with parameters listed in definition See: Sandbox.Definitions.CubeBlockEffectBase Inherited from IMyCubeBlock |
| SetEffect(string, bool) | Inherited from MyCubeBlock |
| SetEffect(string, float, bool, bool, bool) | Inherited from MyCubeBlock |
| SetEmissiveParts(string, Color, float) | Sets the emissive value of a specific emissive material on entity. Inherited from IMyEntity |
| SetEmissiveParts(string, Color, float) | Inherited from MyEntity |
| SetEmissivePartsForSubparts(string, Color, float) | Sets the emissive value of a specific emissive material on all entity subparts. Inherited from IMyEntity |
| SetEmissivePartsForSubparts(string, Color, float) | Inherited from MyEntity |
| SetEmissiveState(MyStringHash, uint, string) | Inherited from MyCubeBlock |
| SetEmissiveStateDamaged() | Inherited from MyCubeBlock |
| SetEmissiveStateDisabled() | Inherited from MyCubeBlock |
| SetEmissiveStateWorking() | Inherited from MyCubeBlock |
| SetFadeOut(bool) | Inherited from MyEntity |
| SetLocalMatrix(Matrix, object) | Sets local matrix. When entity, has parent, it's world coordinates are calculated from localMatrix and parent world matrix Inherited from IMyEntity |
| SetPosition(Vector3D) | Set WorldMatrix's Translation . Moves entity. Inherited from IMyEntity |
| SetTextureChangesForSubparts(Dictionary<MyStringId, MyTextureChange>) | Sets subparts custom skinning. Copy values from TextureChanges , then change needed keys. You can retrieve values for exact skin with following code:csharp<br />MyDefinitionManager.Static.GetAssetModifierDefinitionForRender(skinId);<br /><br />Inherited from IMyEntity |
| SetWorldMatrix(MatrixD, object) | Sets world matrix of entity. Inherited from IMyEntity |
| Simulate() | Inherited from MyEntity |
| StopDamageEffect(bool) | Inherited from MyCubeBlock |
| Teleport(MatrixD, object, bool) | When moving entity over large distances or when entity has children, using this method preferred over SetPosition(Vector3D) Inherited from IMyEntity |
| Teleport(MatrixD, object, bool) | Inherited from MyEntity |
| ToString() | Inherited from MyEntity |
| TryGetDebugRenderComponent |
Inherited from MyEntity |
| TryGetSubBlock(string, out MySlimBlock) | Inherited from MyCubeBlock |
| TryGetSubpart(string, out MyEntitySubpart) | Gets subpart by subpart name Inherited from IMyEntity |
| TryGetSubpart(string, out MyEntitySubpart) | Inherited from MyEntity |
| Unpin() | Inherited from MyEntity |
| UpdateAfterSimulation() | Inherited from MyEntity |
| UpdateAfterSimulation10() | Inherited from MyEntity |
| UpdateAfterSimulation100() | Inherited from MyEntity |
| UpdateBeforeSimulation() | Inherited from MyCubeBlock |
| UpdateBeforeSimulation() | Inherited from MyEntity |
| UpdateBeforeSimulation10() | Inherited from MyCubeBlock |
| UpdateBeforeSimulation10() | Called each 10th frame if registered for update10 Inherited from MyEntity |
| UpdateBeforeSimulation100() | Called each 100th frame if registered for update100 Inherited from MyEntity |
| UpdateEmissiveParts(uint, float, Color, Color) | Inherited from MyCubeBlock |
| UpdateGamePruningStructure() | Update position of entity in MyGamePruningStructure. Calls:csharp<br />MyGamePruningStructure.Move(this)<br /><br />Inherited from IMyEntity |
| UpdateGamePruningStructure() | Inherited from MyEntity |
| UpdateIsWorking() | Inherited from MyCubeBlock |
| UpdateOnceBeforeFrame() | Inherited from MyCubeBlock |
| UpdateOnceBeforeFrame() | Inherited from MyEntity |
| UpdateSkin(bool) | Inherited from MyCubeBlock |
| UpdateSoundContactPoint(long, Vector3, Vector3, Vector3, float) | Inherited from MyEntity |
| UpdateVisual() | Inherited from MyCubeBlock |
| UpdatingStopped() | Inherited from MyEntity |
| AddToGamePruningStructure() | Obsolete: Only used during Sandbox removal. Inherited from IMyEntity |
| GetPlayerRelationToOwner() | Obsolete: GetPlayerRelationToOwner() is useless ingame. Mods should use the one in ModAPI.IMyCubeBlock Relation of local player to the block Should not be called on Dedicated Server. Inherited from IMyCubeBlock |
| GetUpgrades(out Dictionary<string, float>) | Obsolete: Use FillUpgradesDictionary without the out parameter instead. Obsolete Inherited from IMyUpgradableBlock |
| RemoveFromGamePruningStructure() | Obsolete: Only used during Sandbox removal. Inherited from IMyEntity |
| SetTextureChangesForSubparts(Dictionary<string, MyTextureChange>) | Obsolete This calling is obsolete, use another version. Inherited from IMyEntity |
| UpdateIsWorking() | Obsolete Force refresh working state. Call if you change block state that could affect its working status. Inherited from IMyCubeBlock |
| UpdateVisual() | Obsolete Updates block visuals (ie. block emissivity) Inherited from IMyCubeBlock |
Inheritance: MyEntity Ë MyCubeBlock
Implements:
- IMyComponentOwner
- IMyConveyorSegmentBlock prohibited
- IMyConveyorTube
- IMyConveyorTube
- IMyCubeBlock
- IMyCubeBlock
- IMyEntity
- IMyEntity
- IMyUpgradableBlock
- IMyUpgradableBlock