Click or drag to resize
IMyPistonTop Methods

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

The IMyPistonTop type exposes the following members.

Methods
  NameDescription
Public methodAddToGamePruningStructure (Inherited from IMyEntity.)
Public methodAddUpgradeValue
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.)
Public methodBeforeSave (Inherited from IMyEntity.)
Public methodCalcLocalMatrix
(Inherited from IMyCubeBlock.)
Public methodCalculateCurrentModel
Calculates model currently used by block depending on its build progress and other factors
(Inherited from IMyCubeBlock.)
Public methodClose (Inherited from IMyEntity.)
Public methodDebugDraw
Debug only method. Effects may wary through time.
(Inherited from IMyCubeBlock.)
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 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 methodGetObjectBuilderCubeBlock
Returns block object builder which can be serialized or added to grid
(Inherited from IMyCubeBlock.)
Public methodGetOwnerFactionTag
(Inherited from IMyCubeBlock.)
Public methodGetPlayerRelationToOwner
(Inherited from IMyCubeBlock.)
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 methodGetUserRelationToOwner
(Inherited from IMyCubeBlock.)
Public methodGetViewMatrix (Inherited from IMyEntity.)
Public methodGetWorldMatrixNormalizedInv (Inherited from IMyEntity.)
Public methodInit
Reloads block model and interactive objects (doors, terminals, etc...)
(Inherited from IMyCubeBlock.)
Public methodInit(MyObjectBuilder_CubeBlock, IMyCubeGrid)
Initializes block state from object builder
(Inherited from IMyCubeBlock.)
Public methodIsVisible (Inherited from IMyEntity.)
Public methodOnAddedToScene (Inherited from IMyEntity.)
Public methodOnBuildSuccess
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.)
Public methodOnDestroy
Called when block is destroyed before being removed from grid
(Inherited from IMyCubeBlock.)
Public methodOnModelChange
Called when the model referred by the block is changed
(Inherited from IMyCubeBlock.)
Public methodOnRegisteredToGridSystems
Called at the end of registration from grid systems (after block has been registered).
(Inherited from IMyCubeBlock.)
Public methodOnRemovedByCubeBuilder
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.)
Public methodOnRemovedFromScene (Inherited from IMyEntity.)
Public methodOnUnregisteredFromGridSystems
Called at the end of unregistration from grid systems (after block has been unregistered).
(Inherited from IMyCubeBlock.)
Public methodRaycastDetectors
Gets the name of interactive object intersected by defined line
(Inherited from IMyCubeBlock.)
Public methodReloadDetectors
Reloads detectors (interactive objects) in model
(Inherited from IMyCubeBlock.)
Public methodRemoveFromGamePruningStructure (Inherited from IMyEntity.)
Public methodSetColorMaskForSubparts (Inherited from IMyEntity.)
Public methodSetDamageEffect
Start or stop dammage effect on cube block
(Inherited from IMyCubeBlock.)
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 methodUpdateIsWorking
Force refresh working state. Call if you change block state that could affect its working status.
(Inherited from IMyCubeBlock.)
Public methodUpdateVisual
Updates block visuals (ie. block emissivity)
(Inherited from IMyCubeBlock.)
Top
See Also