VRage.Game.ModAPI
IMyCubeBuilder
Assembly: VRage.Game.dll
public interface IMyCubeBuilder
Describes hand, than holding block (mods interface)
Properties
| Member | Description |
|---|---|
| BlockCreationIsActivated | Returns state of building mode |
| FreezeGizmo | Freezes the built object preview in current position |
| IsActivated | Gets whether there block creation is activated |
| ShowRemoveGizmo | Shows the delete area preview |
| UseSymmetry | Enables symmetry block placing |
| UseTransparency | Gets or sets whether projected block should be 25% transparent |
Methods
| Member | Description |
|---|---|
| Activate(MyDefinitionId?) | Activates the building mode |
| Deactivate() | Deactivates all modes |
| DeactivateBlockCreation() | Deactivates building mode |
| FindClosestGrid() | Finds grid to build on |
| StartNewGridPlacement(MyCubeSize, bool) | Calls Activate(MyDefinitionId?) with LargeBlockArmorBlock definition and forces local player stop using weapon or tool |
| AddConstruction(IMyEntity) | Obsolete: Not used. Always returns false |
Inheritors: