IMyCubeBlockInit Method (MyObjectBuilder_CubeBlock, IMyCubeGrid) |
[This is preliminary documentation and is subject to change.]
Initializes block state from object builder
Namespace: VRage.Game.ModAPIAssembly: VRage.Game (in VRage.Game.dll) Version: 1.0.0.0
Syntax 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