Click or drag to resize
IMyCameraBlockRaycast Method (Double, Vector3D)
v01.180.0 (Beta)

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

Does a raycast in the given direction. Will return an empty struct if distance or angle are out of bounds.

Namespace: Sandbox.ModAPI.Ingame
Assembly: Sandbox.Common (in Sandbox.Common.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
MyDetectedEntityInfo Raycast(
	double distance,
	Vector3D targetDirection
)

Parameters

distance
Type: SystemDouble
targetDirection
Type: Vector3D

Return Value

Type: MyDetectedEntityInfo
See Also