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

Sandbox.ModAPI.Ingame.IMyCameraBlock.CanScan

Malware edited this page Dec 13, 2025 · 20 revisions

DEPRECATION NOTICE

This API documentation is out of date and no longer maintained.

Please visit the new documentation at: https://malforge.github.io/spaceengineers/pbapi

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