This repository has been archived by the owner on Oct 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 125
Sandbox.ModAPI.Ingame.IMyCameraBlock.CanScan
Morten Aune Lyrstad edited this page Feb 3, 2022
·
19 revisions
← Index ← Namespace Index ← IMyCameraBlock
public bool CanScan(double distance)
Checks if the camera can scan the given distance.
true if camera can scan
- double distance
public bool CanScan(double distance, Vector3D direction)
Checks if the camera can scan to the given direction and distance (in camera local space).
true if camera can scan
public bool CanScan(Vector3D target)
Checks if the camera can scan to the given target
true if camera can scan
- Vector3D target
Do you have questions, comments, suggestions for improvements? Is there something I can do better? Did I make a mistake? Please add an issue here, and prefix your issue title with Wiki. Thank you, your help will be very appreciated!