Click or drag to resize
IMyCubeGridGetCubeBlock Method

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

Get cube block at given position

Namespace: VRage.Game.ModAPI.Ingame
Assembly: VRage.Game (in VRage.Game.dll) Version: 1.0.0.0
Syntax
C#
IMySlimBlock GetCubeBlock(
	Vector3I pos
)

Parameters

pos
Type: Vector3I
Block position

Return Value

Type: IMySlimBlock
Block or null if none is present at given position
See Also