Assembly: Sandbox.Game.dll

public class MyCubeBuilder: MyBlockBuilderBase, IMyUserInputComponent, IMyFocusHolder, IMyCubeBuilder

Fields

Member Description
static AllPlayersColors
static Static
m_toolType
MaxGridDistanceFrom
ComponentType Inherited from MySessionComponentBase
DebugName Inherited from MySessionComponentBase
Priority Inherited from MySessionComponentBase

Events

Member Description
OnActivated
OnBlockAdded
OnBlockSizeChanged
OnBlockVariantChanged
OnDeactivated
OnSymmetrySetupModeChanged
OnToolTypeChanged

Properties

Member Description
static BuildComponent
static BuildingMode
static CameraControllerSpectator Inherited from MyBlockBuilderBase
static CubeBuilderDefinition Inherited from MyBlockBuilderBase
static IntersectionDirection Inherited from MyBlockBuilderBase
static IntersectionDistance Inherited from MyBlockBuilderBase
static IntersectionStart Inherited from MyBlockBuilderBase
static PlacementProvider Inherited from MyBlockBuilderBase
static SpectatorIsBuilding Inherited from MyBlockBuilderBase
AlignToDefault
BlockCreationIsActivated
CubeBuilderState
CubePlacementMode
CurrentBlockDefinition
Dependencies
DynamicMode
FreezeGizmo
IsActivated
IsBuildMode
IsCubeSizeModesAvailable
PlacingSmallGridOnLargeStatic
RotationAxis
ShowRemoveGizmo
ToolbarBlockDefinition Current block definition for toolbar.
ToolType
UseSymmetry
UseTransparency
BlockCreationIsActivated Returns state of building mode

Inherited from IMyCubeBuilder
CurrentBlockDefinition Inherited from MyBlockBuilderBase
Definition Inherited from MySessionComponentBase
Dependencies Inherited from MySessionComponentBase
FreePlacementTarget Inherited from MyBlockBuilderBase
FreezeGizmo Freezes the built object preview in current position

Inherited from IMyCubeBuilder
HitInfo Inherited from MyBlockBuilderBase
Initialized Inherited from MySessionComponentBase
IsActivated Gets whether there block creation is activated

Inherited from IMyCubeBuilder
IsActivated Inherited from MyBlockBuilderBase
IsRequiredByGame Indicates whether a session component should be used in current configuration. Example: MyDestructionData component returns true only when game uses Havok Destruction

Inherited from MySessionComponentBase
IsServerOnly Is server only is used for client request of the world. if the component is server only, it's not sent to the client on world request.

Inherited from MySessionComponentBase
Loaded Inherited from MySessionComponentBase
ModContext Inherited from MySessionComponentBase
ObjectBuilderType Inherited from MySessionComponentBase
Session Inherited from MySessionComponentBase
ShowRemoveGizmo Shows the delete area preview

Inherited from IMyCubeBuilder
UpdateOnPause Inherited from MySessionComponentBase
UpdateOrder Inherited from MySessionComponentBase
UseSymmetry Enables symmetry block placing

Inherited from IMyCubeBuilder
UseTransparency Gets or sets whether projected block should be 25% transparent

Inherited from IMyCubeBuilder

Constructors

Member Description
MyCubeBuilder()
MySessionComponentBase() Inherited from MySessionComponentBase

Methods

Member Description
static AutogenerateMountpoints(MyModel, float)
static AutogenerateMountpoints(HkShape[], float)
static CalculateBlockRotation(int, int, ref MatrixD, out MatrixD, double, MyBlockDirection, MyBlockRotation)
static CheckValidBlockRotation(Matrix, MyBlockDirection, MyBlockRotation)
static CheckValidBlocksRotation(Matrix, MyCubeGrid)
static ConvertDynamicGridBlockToStatic(ref MatrixD, MyObjectBuilder_CubeBlock)
static ConvertGridBuilderToStatic(MyObjectBuilder_CubeGrid, MatrixD)
static DrawMountPoints(float, MyCubeBlockDefinition, ref MatrixD)
static DrawMountPoints(float, MyCubeBlockDefinition, MatrixD, MountPoint[])
static DrawSemiTransparentBox(MyCubeGrid, MySlimBlock, Color, bool, MyStringId?, Vector4?)
static DrawSemiTransparentBox(Vector3I, Vector3I, MyCubeGrid, Color, bool, MyStringId?, Vector4?)
static GetAllBlocksPositions(HashSet<Tuple`2>, HashSet)
static GetCurrentRayIntersection()
static PrepareCharacterCollisionPoints(List)
static RemovePlayerColors(PlayerId)
static RemovePlayerColors_Internal(PlayerId)
static SelectBlockToToolbar(MySlimBlock, bool)
static SpawnDynamicGrid(MyCubeBlockDefinition, MyEntity, MatrixD, Vector3, MyStringHash, long, SpawnFlags, long, Action)
static SpawnStaticGrid(MyCubeBlockDefinition, MyEntity, MatrixD, Vector3, MyStringHash, SpawnFlags, long, Action)
static SpawnStaticGrid_nonParalel(MyCubeBlockDefinition, MyEntity, MatrixD, Vector3, MyStringHash, SpawnFlags, long)
static TransformLargeGridHitCoordToSmallGrid(Vector3D, MatrixD, float) Converts large grid hit coordinates for small cubes. Allows placement of small grids to large grids. Returns coordinates of small grid (in large grid coordinates) which touches large grid in the hit position.
static ComputeSteps(Vector3I, Vector3I, Vector3I, out Vector3I, out Vector3I, out int) Inherited from MyBlockBuilderBase
Activate(MyDefinitionId?, bool)
ActivateColorTool()
ActivateFromRadialMenu(MyDefinitionId?)
Add()
AddBlocksToBuildQueueOrSpawn(MyCubeBlockDefinition, ref MatrixD, Vector3I, Vector3I, Vector3I, Quaternion)
AddConstruction(MyEntity)
AddFastBuildModels(MatrixD, ref Matrix, List, List, MyCubeBlockDefinition, Vector3I?, Vector3I?)
AlignToGravity(bool)
CanStartConstruction(MyEntity)
CheckGizmoRotation()
ColorPickerCancel()
ColorPickerOk()
ContinueBuilding(bool)
CycleCubePlacementMode()
Deactivate()
DeactivateBlockCreation()
Draw()
GetAddAndRemovePositions(float, bool, out Vector3I, out Vector3?, out Vector3I, out Vector3I, out MySlimBlock, out ushort?, HashSet<Tuple`2>)
GetAddPosition(out Vector3D)
GetBuildBoundingBox(float)
GetNextBlockVariantDefinition()
HandleGameInput()
InitFromDefinition(MySessionComponentDefinition)
InputLost()
IsBuildToolActive()
IsOnlyColorToolActive()
IsSymmetrySetupMode()
LoadData()
NotifyPlacementUnable()
OnClosedMessageBox(ResultEnum)
OnLostFocus()
SetToolType(MyCubeBuilderToolType)
StartBuilding()
StartStaticGridPlacement(MyCubeSize, bool)
StopBuilding()
ToggleSymmetry()
ToggleSymmetrySetup()
UpdateAfterSimulation()
UpdateBeforeSimulation()
UpdateNotificationBlockNotAvailable(bool)
Activate(MyDefinitionId?) Activates the building mode

Inherited from IMyCubeBuilder
Activate(MyDefinitionId?, bool) Inherited from MyBlockBuilderBase
AfterLoadData() Inherited from MySessionComponentBase
BeforeStart() Inherited from MySessionComponentBase
Deactivate() Deactivates all modes

Inherited from IMyCubeBuilder
Deactivate() Inherited from MyBlockBuilderBase
DeactivateBlockCreation() Deactivates building mode

Inherited from IMyCubeBuilder
Draw() Inherited from MySessionComponentBase
FindClosestGrid() Finds grid to build on

Inherited from IMyCubeBuilder
FindClosestGrid() Inherited from MyBlockBuilderBase
FindClosestPlacementObject(out MyCubeGrid, out MyVoxelBase) Finds closest object (grid or voxel map) for placement of blocks .

Inherited from MyBlockBuilderBase
GetObjectBuilder() Inherited from MySessionComponentBase
HandleInput() Inherited from IMyUserInputComponent
HandleInput() Inherited from MySessionComponentBase
Init(MyObjectBuilder_SessionComponent) Inherited from MySessionComponentBase
InitFromDefinition(MySessionComponentDefinition) Inherited from MyBlockBuilderBase
InitFromDefinition(MySessionComponentDefinition) Inherited from MySessionComponentBase
LoadData() Inherited from MySessionComponentBase
SaveData() Inherited from MySessionComponentBase
SetUpdateOrder(MyUpdateOrder) Inherited from MySessionComponentBase
Simulate() Inherited from MySessionComponentBase
StartNewGridPlacement(MyCubeSize, bool) Calls Activate(MyDefinitionId?) with LargeBlockArmorBlock definition and forces local player stop using weapon or tool

Inherited from IMyCubeBuilder
ToString() Inherited from MySessionComponentBase
UnloadDataConditional() Inherited from MySessionComponentBase
UpdateAfterSimulation() Inherited from MySessionComponentBase
UpdateBeforeSimulation() Inherited from MySessionComponentBase
UpdatedBeforeInit() Inherited from MySessionComponentBase
UpdatingStopped() Inherited from MySessionComponentBase
AddConstruction(IMyEntity) Obsolete: Not used. Always returns false

Inherited from IMyCubeBuilder

Inheritance: MySessionComponentBase ˃ MyBlockBuilderBase

Implements: