IMyCubeBlock Properties |
[This is preliminary documentation and is subject to change.]
The IMyCubeBlock type exposes the following members.
Name | Description | |
---|---|---|
![]() | BlockDefinition | |
![]() | 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)
|
![]() | Closed | (Inherited from IMyEntity.) |
![]() | Components | (Inherited from IMyEntity.) |
![]() | CubeGrid |
Grid in which the block is placed
|
![]() | DebugAsyncLoading | (Inherited from IMyEntity.) |
![]() | DefinitionDisplayNameText |
Definition name
|
![]() | DisassembleRatio |
Is set in definition
Ratio at which is the block disassembled (grinding)
|
![]() | DisplayName | (Inherited from IMyEntity.) |
![]() | DisplayNameText |
Translated block name
|
![]() | EntityId | (Inherited from IMyEntity.) |
![]() | FastCastShadowResolve | (Inherited from IMyEntity.) |
![]() | Flags | (Inherited from IMyEntity.) |
![]() | GameLogic | (Inherited from IMyEntity.) |
![]() | Hierarchy | (Inherited from IMyEntity.) |
![]() | InScene | (Inherited from IMyEntity.) |
![]() | InvalidateOnMove | (Inherited from IMyEntity.) |
![]() | IsBeingHacked | |
![]() | IsCCDForProjectiles | (Inherited from IMyEntity.) |
![]() | IsFunctional |
True if integrity is above breaking threshold
|
![]() | IsVolumetric | (Inherited from IMyEntity.) |
![]() | IsWorking |
True if block is able to do its work depening on block type (is functional, powered, enabled, etc...)
|
![]() | LocalAABB | (Inherited from IMyEntity.) |
![]() | LocalAABBHr | (Inherited from IMyEntity.) |
![]() | LocalMatrix | (Inherited from IMyEntity.) |
![]() | LocalVolume | (Inherited from IMyEntity.) |
![]() | LocalVolumeOffset | (Inherited from IMyEntity.) |
![]() | LocationForHudMarker | (Inherited from IMyEntity.) |
![]() | MarkedForClose | (Inherited from IMyEntity.) |
![]() | Mass |
Block mass
|
![]() | Max |
Maximum coordinates of grid cells occupied by this block
|
![]() | MaxGlassDistSq | (Inherited from IMyEntity.) |
![]() | Min |
Minimum coordinates of grid cells occupied by this block
|
![]() | Name | (Inherited from IMyEntity.) |
![]() | NearFlag | (Inherited from IMyEntity.) |
![]() | NeedsDraw | (Inherited from IMyEntity.) |
![]() | NeedsDrawFromParent | (Inherited from IMyEntity.) |
![]() | NeedsResolveCastShadow | (Inherited from IMyEntity.) |
![]() | NeedsUpdate | (Inherited from IMyEntity.) |
![]() | NumberInGrid |
Order in which were the blocks of same type added to grid
Used in default display name
|
![]() | Orientation |
Returns block orientation in base 6 directions
|
![]() | OwnerId |
Id of player owning block (not steam Id)
|
![]() | Parent | (Inherited from IMyEntity.) |
![]() | PersistentFlags | (Inherited from IMyEntity.) |
![]() | Physics | (Inherited from IMyEntity.) |
![]() | Position |
Position in grid coordinates
|
![]() | PositionComp | (Inherited from IMyEntity.) |
![]() | Render | (Inherited from IMyEntity.) |
![]() | Save | (Inherited from IMyEntity.) |
![]() | ShadowBoxLod | (Inherited from IMyEntity.) |
![]() | SkipIfTooSmall | (Inherited from IMyEntity.) |
![]() | SyncObject | (Inherited from IMyEntity.) |
![]() | Transparent | (Inherited from IMyEntity.) |
![]() | UpgradeValues |
Get all values changed by upgrade modules
Should only be used as read-only
|
![]() | Visible | (Inherited from IMyEntity.) |
![]() | WorldAABB | (Inherited from IMyEntity.) |
![]() | WorldAABBHr | (Inherited from IMyEntity.) |
![]() | WorldMatrix | (Inherited from IMyEntity.) |
![]() | WorldMatrixInvScaled | (Inherited from IMyEntity.) |
![]() | WorldMatrixNormalizedInv | (Inherited from IMyEntity.) |
![]() | WorldVolume | (Inherited from IMyEntity.) |
![]() | WorldVolumeHr | (Inherited from IMyEntity.) |