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

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

Does a raycast to the given point. 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(
	Vector3D targetPos
)

Parameters

targetPos
Type: Vector3D

Return Value

Type: MyDetectedEntityInfo
See Also