Click or drag to resize
IMyCubeGrid Interface

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

Grid interface

Namespace: VRage.Game.ModAPI.Ingame
Assembly: VRage.Game (in VRage.Game.dll) Version: 1.0.0.0
Syntax
C#
public interface IMyCubeGrid : IMyEntity

The IMyCubeGrid type exposes the following members.

Properties
  NameDescription
Public propertyCastShadows (Inherited from IMyEntity.)
Public propertyClosed (Inherited from IMyEntity.)
Public propertyComponents (Inherited from IMyEntity.)
Public propertyDebugAsyncLoading (Inherited from IMyEntity.)
Public propertyDisplayName (Inherited from IMyEntity.)
Public propertyEntityId (Inherited from IMyEntity.)
Public propertyFastCastShadowResolve (Inherited from IMyEntity.)
Public propertyFlags (Inherited from IMyEntity.)
Public propertyGameLogic (Inherited from IMyEntity.)
Public propertyGridSize
Grid size in meters
Public propertyGridSizeEnum
Grid size enum
Public propertyHierarchy (Inherited from IMyEntity.)
Public propertyInScene (Inherited from IMyEntity.)
Public propertyInvalidateOnMove (Inherited from IMyEntity.)
Public propertyIsCCDForProjectiles (Inherited from IMyEntity.)
Public propertyIsStatic
Station = static
Public propertyIsVolumetric (Inherited from IMyEntity.)
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 propertyMax
Maximum coordinates of blocks in grid
Public propertyMaxGlassDistSq (Inherited from IMyEntity.)
Public propertyMin
Minimum coordinates of blocks in grid
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 propertyParent (Inherited from IMyEntity.)
Public propertyPersistentFlags (Inherited from IMyEntity.)
Public propertyPhysics (Inherited from IMyEntity.)
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 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
Methods
  NameDescription
Public methodAddToGamePruningStructure (Inherited from IMyEntity.)
Public methodBeforeSave (Inherited from IMyEntity.)
Public methodClose (Inherited from IMyEntity.)
Public methodCubeExists
Returns true if there is any block occupying given position
Public methodDebugDraw (Inherited from IMyEntity.)
Public methodDebugDrawInvalidTriangles (Inherited from IMyEntity.)
Public methodDelete (Inherited from IMyEntity.)
Public methodDoOverlapSphereTest (Inherited from IMyEntity.)
Public methodEnableColorMaskForSubparts (Inherited from IMyEntity.)
Public methodGetChildren (Inherited from IMyEntity.)
Public methodGetCubeBlock
Get cube block at given position
Public methodGetDiffuseColor (Inherited from IMyEntity.)
Public methodGetDistanceBetweenCameraAndBoundingSphere (Inherited from IMyEntity.)
Public methodGetDistanceBetweenCameraAndPosition (Inherited from IMyEntity.)
Public methodGetFriendlyName (Inherited from IMyEntity.)
Public methodGetIntersectionWithLineAndBoundingSphere (Inherited from IMyEntity.)
Public methodGetIntersectionWithSphere (Inherited from IMyEntity.)
Public methodGetLargestDistanceBetweenCameraAndBoundingSphere (Inherited from IMyEntity.)
Public methodGetObjectBuilder (Inherited from IMyEntity.)
Public methodGetPosition (Inherited from IMyEntity.)
Public methodGetSmallestDistanceBetweenCameraAndBoundingSphere (Inherited from IMyEntity.)
Public methodGetSubpart (Inherited from IMyEntity.)
Public methodGetTopMostParent (Inherited from IMyEntity.)
Public methodGetTrianglesIntersectingSphere (Inherited from IMyEntity.)
Public methodGetViewMatrix (Inherited from IMyEntity.)
Public methodGetWorldMatrixNormalizedInv (Inherited from IMyEntity.)
Public methodGridIntegerToWorld
Converts grid coordinates to world space
Public methodIsVisible (Inherited from IMyEntity.)
Public methodOnAddedToScene (Inherited from IMyEntity.)
Public methodOnRemovedFromScene (Inherited from IMyEntity.)
Public methodRemoveFromGamePruningStructure (Inherited from IMyEntity.)
Public methodSetColorMaskForSubparts (Inherited from IMyEntity.)
Public methodSetEmissiveParts
Sets the emissive value of a specific emissive material on entity.
(Inherited from IMyEntity.)
Public methodSetEmissivePartsForSubparts
Sets the emissive value of a specific emissive material on all entity subparts.
(Inherited from IMyEntity.)
Public methodSetLocalMatrix (Inherited from IMyEntity.)
Public methodSetPosition (Inherited from IMyEntity.)
Public methodSetWorldMatrix (Inherited from IMyEntity.)
Public methodTryGetSubpart (Inherited from IMyEntity.)
Public methodUpdateGamePruningStructure (Inherited from IMyEntity.)
Public methodWorldToGridInteger
Converts world coordinates to grid space cell coordinates
Top
Events
  NameDescription
Public eventOnClose (Inherited from IMyEntity.)
Public eventOnClosing (Inherited from IMyEntity.)
Public eventOnMarkForClose (Inherited from IMyEntity.)
Public eventOnPhysicsChanged (Inherited from IMyEntity.)
Top
See Also