Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

Sandbox.ModAPI.Ingame.IMyCameraBlock.CanScan

Morten Aune Lyrstad edited this page Feb 3, 2022 · 19 revisions

IndexNamespace IndexIMyCameraBlock

Summary

public bool CanScan(double distance)

Checks if the camera can scan the given distance.

Returns

bool

true if camera can scan

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

true if camera can scan

Parameters

Summary

public bool CanScan(Vector3D target)

Checks if the camera can scan to the given target

Returns

bool

true if camera can scan

Parameters

Clone this wiki locally