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.IngameAssembly: Sandbox.Common (in Sandbox.Common.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax MyDetectedEntityInfo Raycast(
Vector3D targetPos
)
Function Raycast (
targetPos As Vector3D
) As MyDetectedEntityInfo
MyDetectedEntityInfo Raycast(
Vector3D targetPos
)
abstract Raycast :
targetPos : Vector3D -> MyDetectedEntityInfo
Parameters
- targetPos
- Type: Vector3D
Return Value
Type:
MyDetectedEntityInfoSee Also