Space Engineers
|
Class that handles cube builder state. More...
Public Member Functions | |
void | UpdateCubeBlockDefinition (MyDefinitionId?id, MatrixD localMatrixAdd) |
void | UpdateBlockDefinitionStages (MyDefinitionId?id) |
void | ChooseComplementBlock () |
Chooses same cube but for different grid size More... | |
bool | HasComplementBlock () |
Checks if there is complementary block available More... | |
void | SetCubeSize (MyCubeSize newCubeSize) |
Sets cube size mode. More... | |
Public Attributes | |
Dictionary< MyDefinitionId, Quaternion > | RotationsByDefinitionHash = new Dictionary<MyDefinitionId, Quaternion>(MyDefinitionId.Comparer) |
Store last rotation for each block definition. More... | |
Dictionary< MyDefinitionId, int > | StageIndexByDefinitionHash = new Dictionary<MyDefinitionId, int>(MyDefinitionId.Comparer) |
No idea what this one is. More... | |
List< MyCubeBlockDefinition > | CurrentBlockDefinitionStages = new List<MyCubeBlockDefinition>() |
Block definition stages. More... | |
Properties | |
MyCubeBlockDefinition | CurrentBlockDefinition [get, set] |
MyCubeBlockDefinition | StartBlockDefinition [get] |
Block definition set on activation of cube builder. More... | |
MyCubeSize | CubeSizeMode [get] |
Current cube size mode. More... | |
Class that handles cube builder state.
Definition at line 19 of file MyCubeBuilderState.cs.
|
inline |
Chooses same cube but for different grid size
Definition at line 167 of file MyCubeBuilderState.cs.
|
inline |
Checks if there is complementary block available
Definition at line 194 of file MyCubeBuilderState.cs.
|
inline |
Sets cube size mode.
newCubeSize | New cube size mode. |
Definition at line 217 of file MyCubeBuilderState.cs.
|
inline |
Definition at line 144 of file MyCubeBuilderState.cs.
|
inline |
Definition at line 107 of file MyCubeBuilderState.cs.
List<MyCubeBlockDefinition> Sandbox.Game.Entities.Cube.CubeBuilder.MyCubeBuilderState.CurrentBlockDefinitionStages = new List<MyCubeBlockDefinition>() |
Block definition stages.
Definition at line 36 of file MyCubeBuilderState.cs.
Dictionary<MyDefinitionId, Quaternion> Sandbox.Game.Entities.Cube.CubeBuilder.MyCubeBuilderState.RotationsByDefinitionHash = new Dictionary<MyDefinitionId, Quaternion>(MyDefinitionId.Comparer) |
Store last rotation for each block definition.
Definition at line 26 of file MyCubeBuilderState.cs.
Dictionary<MyDefinitionId, int> Sandbox.Game.Entities.Cube.CubeBuilder.MyCubeBuilderState.StageIndexByDefinitionHash = new Dictionary<MyDefinitionId, int>(MyDefinitionId.Comparer) |
No idea what this one is.
Definition at line 31 of file MyCubeBuilderState.cs.
|
get |
Current cube size mode.
Definition at line 101 of file MyCubeBuilderState.cs.
|
getset |
Definition at line 52 of file MyCubeBuilderState.cs.
|
get |
Block definition set on activation of cube builder.
Definition at line 96 of file MyCubeBuilderState.cs.