IMyMotorRotor Methods |
[This is preliminary documentation and is subject to change.]
The IMyMotorRotor type exposes the following members.
Name | Description | |
---|---|---|
AddToGamePruningStructure | (Inherited from IMyEntity.) | |
AddUpgradeValue |
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.) | |
BeforeSave | (Inherited from IMyEntity.) | |
CalcLocalMatrix | (Inherited from IMyCubeBlock.) | |
CalculateCurrentModel |
Calculates model currently used by block depending on its build progress and other factors
(Inherited from IMyCubeBlock.) | |
Close | (Inherited from IMyEntity.) | |
DebugDraw |
Debug only method. Effects may wary through time.
(Inherited from IMyCubeBlock.) | |
DebugDrawInvalidTriangles | (Inherited from IMyEntity.) | |
Delete | (Inherited from IMyEntity.) | |
DoOverlapSphereTest | (Inherited from IMyEntity.) | |
EnableColorMaskForSubparts | (Inherited from IMyEntity.) | |
GetChildren | (Inherited from IMyEntity.) | |
GetDiffuseColor | (Inherited from IMyEntity.) | |
GetDistanceBetweenCameraAndBoundingSphere | (Inherited from IMyEntity.) | |
GetDistanceBetweenCameraAndPosition | (Inherited from IMyEntity.) | |
GetFriendlyName | (Inherited from IMyEntity.) | |
GetIntersectionWithLineAndBoundingSphere | (Inherited from IMyEntity.) | |
GetIntersectionWithSphere | (Inherited from IMyEntity.) | |
GetLargestDistanceBetweenCameraAndBoundingSphere | (Inherited from IMyEntity.) | |
GetObjectBuilder | (Inherited from IMyEntity.) | |
GetObjectBuilderCubeBlock |
Returns block object builder which can be serialized or added to grid
(Inherited from IMyCubeBlock.) | |
GetOwnerFactionTag | (Inherited from IMyCubeBlock.) | |
GetPlayerRelationToOwner | (Inherited from IMyCubeBlock.) | |
GetPosition | (Inherited from IMyEntity.) | |
GetSmallestDistanceBetweenCameraAndBoundingSphere | (Inherited from IMyEntity.) | |
GetSubpart | (Inherited from IMyEntity.) | |
GetTopMostParent | (Inherited from IMyEntity.) | |
GetTrianglesIntersectingSphere | (Inherited from IMyEntity.) | |
GetUserRelationToOwner | (Inherited from IMyCubeBlock.) | |
GetViewMatrix | (Inherited from IMyEntity.) | |
GetWorldMatrixNormalizedInv | (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.) | |
IsVisible | (Inherited from IMyEntity.) | |
OnAddedToScene | (Inherited from IMyEntity.) | |
OnBuildSuccess |
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.) | |
OnDestroy |
Called when block is destroyed before being removed from grid
(Inherited from IMyCubeBlock.) | |
OnModelChange |
Called when the model referred by the block is changed
(Inherited from IMyCubeBlock.) | |
OnRegisteredToGridSystems |
Called at the end of registration from grid systems (after block has been registered).
(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 IMyCubeBlock.) | |
OnRemovedFromScene | (Inherited from IMyEntity.) | |
OnUnregisteredFromGridSystems |
Called at the end of unregistration from grid systems (after block has been unregistered).
(Inherited from IMyCubeBlock.) | |
RaycastDetectors |
Gets the name of interactive object intersected by defined line
(Inherited from IMyCubeBlock.) | |
ReloadDetectors |
Reloads detectors (interactive objects) in model
(Inherited from IMyCubeBlock.) | |
RemoveFromGamePruningStructure | (Inherited from IMyEntity.) | |
SetColorMaskForSubparts | (Inherited from IMyEntity.) | |
SetDamageEffect |
Start or stop dammage effect on cube block
(Inherited from IMyCubeBlock.) | |
SetEmissiveParts |
Sets the emissive value of a specific emissive material on entity.
(Inherited from IMyEntity.) | |
SetEmissivePartsForSubparts |
Sets the emissive value of a specific emissive material on all entity subparts.
(Inherited from IMyEntity.) | |
SetLocalMatrix | (Inherited from IMyEntity.) | |
SetPosition | (Inherited from IMyEntity.) | |
SetWorldMatrix | (Inherited from IMyEntity.) | |
TryGetSubpart | (Inherited from IMyEntity.) | |
UpdateGamePruningStructure | (Inherited from IMyEntity.) | |
UpdateIsWorking |
Force refresh working state. Call if you change block state that could affect its working status.
(Inherited from IMyCubeBlock.) | |
UpdateVisual |
Updates block visuals (ie. block emissivity)
(Inherited from IMyCubeBlock.) |