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.IngameAssembly: Sandbox.Common (in Sandbox.Common.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax MyDetectedEntityInfo Raycast(
double distance,
Vector3D targetDirection
)
Function Raycast (
distance As Double,
targetDirection As Vector3D
) As MyDetectedEntityInfo
MyDetectedEntityInfo Raycast(
double distance,
Vector3D targetDirection
)
abstract Raycast :
distance : float *
targetDirection : Vector3D -> MyDetectedEntityInfo
Parameters
- distance
- Type: SystemDouble
- targetDirection
- Type: Vector3D
Return Value
Type:
MyDetectedEntityInfoSee Also