Click or drag to resize
IMyCubeGridRayCastCells Method

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

Returns list of cells with blocks intersected by line

Namespace: VRage.Game.ModAPI
Assembly: VRage.Game (in VRage.Game.dll) Version: 1.0.0.0
Syntax
C#
void RayCastCells(
	Vector3D worldStart,
	Vector3D worldEnd,
	List<Vector3I> outHitPositions,
	Nullable<Vector3I> gridSizeInflate = null,
	bool havokWorld = false
)

Parameters

worldStart
Type: Vector3D

[Missing <param name="worldStart"/> documentation for "M:VRage.Game.ModAPI.IMyCubeGrid.RayCastCells(VRageMath.Vector3D,VRageMath.Vector3D,System.Collections.Generic.List{VRageMath.Vector3I},System.Nullable{VRageMath.Vector3I},System.Boolean)"]

worldEnd
Type: Vector3D

[Missing <param name="worldEnd"/> documentation for "M:VRage.Game.ModAPI.IMyCubeGrid.RayCastCells(VRageMath.Vector3D,VRageMath.Vector3D,System.Collections.Generic.List{VRageMath.Vector3I},System.Nullable{VRageMath.Vector3I},System.Boolean)"]

outHitPositions
Type: System.Collections.GenericListVector3I

[Missing <param name="outHitPositions"/> documentation for "M:VRage.Game.ModAPI.IMyCubeGrid.RayCastCells(VRageMath.Vector3D,VRageMath.Vector3D,System.Collections.Generic.List{VRageMath.Vector3I},System.Nullable{VRageMath.Vector3I},System.Boolean)"]

gridSizeInflate (Optional)
Type: SystemNullableVector3I

[Missing <param name="gridSizeInflate"/> documentation for "M:VRage.Game.ModAPI.IMyCubeGrid.RayCastCells(VRageMath.Vector3D,VRageMath.Vector3D,System.Collections.Generic.List{VRageMath.Vector3I},System.Nullable{VRageMath.Vector3I},System.Boolean)"]

havokWorld (Optional)
Type: SystemBoolean
use physics intersection
See Also