Skip to content
This repository was archived by the owner on Dec 13, 2025. It is now read-only.

Sandbox.ModAPI.Ingame.IMyCameraBlock.CanScan

Morten Aune Lyrstad edited this page Jul 30, 2021 · 20 revisions

IndexNamespace IndexIMyCameraBlock

Summary

public bool CanScan(double distance)

Checks if the camera can scan the given distance.

Returns

bool

Parameters

Summary

public bool CanScan(double distance, Vector3D direction)

Checks if the camera can scan to the given direction and distance (in camera local space).

Returns

bool

Parameters

Summary

public bool CanScan(Vector3D target)

Checks if the camera can scan to the given target

Returns

bool

Parameters

Clone this wiki locally