Click or drag to resize
IMyCubeBlock Properties

[This is preliminary documentation and is subject to change.]

The IMyCubeBlock type exposes the following members.

Properties
  NameDescription
Public propertyBlockDefinition
Public propertyCastShadows (Inherited from IMyEntity.)
Public propertyCheckConnectionAllowed
Whether the grid should call the ConnectionAllowed method for this block (ConnectionAllowed checks mount points and other per-block requirements)
Public propertyClosed (Inherited from IMyEntity.)
Public propertyComponents (Inherited from IMyEntity.)
Public propertyCubeGrid
Grid in which the block is placed
Public propertyDebugAsyncLoading (Inherited from IMyEntity.)
Public propertyDefinitionDisplayNameText
Definition name
Public propertyDisassembleRatio
Is set in definition Ratio at which is the block disassembled (grinding)
Public propertyDisplayName (Inherited from IMyEntity.)
Public propertyDisplayNameText
Translated block name
Public propertyEntityId (Inherited from IMyEntity.)
Public propertyFastCastShadowResolve (Inherited from IMyEntity.)
Public propertyFlags (Inherited from IMyEntity.)
Public propertyGameLogic (Inherited from IMyEntity.)
Public propertyHierarchy (Inherited from IMyEntity.)
Public propertyInScene (Inherited from IMyEntity.)
Public propertyInvalidateOnMove (Inherited from IMyEntity.)
Public propertyIsBeingHacked
Public propertyIsCCDForProjectiles (Inherited from IMyEntity.)
Public propertyIsFunctional
True if integrity is above breaking threshold
Public propertyIsVolumetric (Inherited from IMyEntity.)
Public propertyIsWorking
True if block is able to do its work depening on block type (is functional, powered, enabled, etc...)
Public propertyLocalAABB (Inherited from IMyEntity.)
Public propertyLocalAABBHr (Inherited from IMyEntity.)
Public propertyLocalMatrix (Inherited from IMyEntity.)
Public propertyLocalVolume (Inherited from IMyEntity.)
Public propertyLocalVolumeOffset (Inherited from IMyEntity.)
Public propertyLocationForHudMarker (Inherited from IMyEntity.)
Public propertyMarkedForClose (Inherited from IMyEntity.)
Public propertyMass
Block mass
Public propertyMax
Maximum coordinates of grid cells occupied by this block
Public propertyMaxGlassDistSq (Inherited from IMyEntity.)
Public propertyMin
Minimum coordinates of grid cells occupied by this block
Public propertyName (Inherited from IMyEntity.)
Public propertyNearFlag (Inherited from IMyEntity.)
Public propertyNeedsDraw (Inherited from IMyEntity.)
Public propertyNeedsDrawFromParent (Inherited from IMyEntity.)
Public propertyNeedsResolveCastShadow (Inherited from IMyEntity.)
Public propertyNeedsUpdate (Inherited from IMyEntity.)
Public propertyNumberInGrid
Order in which were the blocks of same type added to grid Used in default display name
Public propertyOrientation
Returns block orientation in base 6 directions
Public propertyOwnerId
Id of player owning block (not steam Id)
Public propertyParent (Inherited from IMyEntity.)
Public propertyPersistentFlags (Inherited from IMyEntity.)
Public propertyPhysics (Inherited from IMyEntity.)
Public propertyPosition
Position in grid coordinates
Public propertyPositionComp (Inherited from IMyEntity.)
Public propertyRender (Inherited from IMyEntity.)
Public propertySave (Inherited from IMyEntity.)
Public propertyShadowBoxLod (Inherited from IMyEntity.)
Public propertySkipIfTooSmall (Inherited from IMyEntity.)
Public propertySyncObject (Inherited from IMyEntity.)
Public propertyTransparent (Inherited from IMyEntity.)
Public propertyUpgradeValues
Get all values changed by upgrade modules Should only be used as read-only
Public propertyVisible (Inherited from IMyEntity.)
Public propertyWorldAABB (Inherited from IMyEntity.)
Public propertyWorldAABBHr (Inherited from IMyEntity.)
Public propertyWorldMatrix (Inherited from IMyEntity.)
Public propertyWorldMatrixInvScaled (Inherited from IMyEntity.)
Public propertyWorldMatrixNormalizedInv (Inherited from IMyEntity.)
Public propertyWorldVolume (Inherited from IMyEntity.)
Public propertyWorldVolumeHr (Inherited from IMyEntity.)
Top
See Also