IMyCubeGridFixTargetCube Method |
[This is preliminary documentation and is subject to change.]
Clamps fractional grid position to nearest cell (prefers neighboring occupied cell before empty)
Namespace: VRage.Game.ModAPIAssembly: VRage.Game (in VRage.Game.dll) Version: 1.0.0.0
Syntax void FixTargetCube(
out Vector3I cube,
Vector3 fractionalGridPosition
)
Parameters
- cube
- Type: Vector3I
Return value - fractionalGridPosition
- Type: VRageMathVector3
Fractional position in grid space
See Also