Click or drag to resize
IMyCubeBlockInit Method (MyObjectBuilder_CubeBlock, IMyCubeGrid)

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

Initializes block state from object builder

Namespace: VRage.Game.ModAPI
Assembly: VRage.Game (in VRage.Game.dll) Version: 1.0.0.0
Syntax
C#
void Init(
	MyObjectBuilder_CubeBlock builder,
	IMyCubeGrid cubeGrid
)

Parameters

builder
Type: MyObjectBuilder_CubeBlock
Object builder of block (should correspond with block type)
cubeGrid
Type: VRage.Game.ModAPIIMyCubeGrid
Owning grid
See Also