Class MyAutorotateMode
Inheritance
System.Object
MyAutorotateMode
Namespace: VRage.Game
Assembly: VRage.Game.dll
Syntax
public sealed class MyAutorotateMode : Enum
Fields
FirstDirection
When block has mountpoint on at least one side, it will autorotate so that this side is touching the surface. Otherwise, full range of rotations is allowed.
Declaration
public const MyAutorotateMode FirstDirection
Field Value
Type | Description |
---|---|
MyAutorotateMode |
OneDirection
When block has mount points only on one side, it will autorotate so that side is touching the surface. Otherwise, full range of rotations is allowed.
Declaration
public const MyAutorotateMode OneDirection
Field Value
Type | Description |
---|---|
MyAutorotateMode |
OppositeDirections
When block has mount points only on two sides and those sides are opposite each other (eg. Top and Bottom), it will autorotate so that one of these sides is touching the surface. Otherwise, full range of rotations is allowed.
Declaration
public const MyAutorotateMode OppositeDirections
Field Value
Type | Description |
---|---|
MyAutorotateMode |
value__
Declaration
public int value__
Field Value
Type | Description |
---|---|
System.Int32 |