Interface IMyMotorStator
Describes base class for motor, advanced rotor and motor suspension block (mods interface)
Inherited Members
Namespace: Sandbox.ModAPI
Assembly: Sandbox.Common.dll
Syntax
public interface IMyMotorStator : IMyMotorStator, IMyMotorBase, IMyMotorBase, IMyMechanicalConnectionBlock, IMyMechanicalConnectionBlock, IMyFunctionalBlock, IMyFunctionalBlock, IMyTerminalBlock, IMyTerminalBlock, IMyCubeBlock, IMyCubeBlock, IMyEntity, IMyEntity
Events
AngleChanged
Raised when current angle is changed
Declaration
event Action<IMyMotorStator, float, float> AngleChanged
Event Type
Type | Description |
---|---|
System.Action<IMyMotorStator, System.Single, System.Single> |
LimitReached
Called when current angle reaching maximum or minimum Argument is true, when reaching maximum Argument is false, when reaching minimum
Declaration
event Action<bool> LimitReached
Event Type
Type | Description |
---|---|
System.Action<System.Boolean> |