IMyCameraBlockCanScan Method (Double, Vector3D) |
v01.180.0 (Beta)[This is preliminary documentation and is subject to change.]
Checks if the camera can scan to the given direction and distance.
Namespace: Sandbox.ModAPI.IngameAssembly: Sandbox.Common (in Sandbox.Common.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax bool CanScan(
double distance,
Vector3D direction
)
Function CanScan (
distance As Double,
direction As Vector3D
) As Boolean
bool CanScan(
double distance,
Vector3D direction
)
abstract CanScan :
distance : float *
direction : Vector3D -> bool
Parameters
- distance
- Type: SystemDouble
- direction
- Type: Vector3D
Return Value
Type:
BooleanSee Also