Click or drag to resize
IMyCubeGridAddBlock Method

[This is preliminary documentation and is subject to change.]

Add a cubeblock to the grid

Namespace: VRage.Game.ModAPI
Assembly: VRage.Game (in VRage.Game.dll) Version: 1.0.0.0
Syntax
C#
IMySlimBlock AddBlock(
	MyObjectBuilder_CubeBlock objectBuilder,
	bool testMerge
)

Parameters

objectBuilder
Type: MyObjectBuilder_CubeBlock
Object builder of cube to add
testMerge
Type: SystemBoolean
test for grid merging

Return Value

Type: IMySlimBlock

[Missing <returns> documentation for "M:VRage.Game.ModAPI.IMyCubeGrid.AddBlock(VRage.Game.MyObjectBuilder_CubeBlock,System.Boolean)"]

See Also