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

Sandbox.ModAPI.Ingame.IMyCameraBlock.Raycast

Malware edited this page Dec 25, 2018 · 22 revisions

IndexIMyCameraBlock

Summary

private public abstract virtual private public sealed MyDetectedEntityInfo Raycast

Does a raycast in the direction the camera is facing. Pitch and Yaw are in degrees. Will return an empty struct if distance or angle are out of bounds.

Returns

Example

Remarks

Summary

private public abstract virtual private public sealed MyDetectedEntityInfo Raycast

Does a raycast to the given point. Will return an empty struct if distance or angle are out of bounds.

Returns

Example

Remarks

Summary

private public abstract virtual private public sealed MyDetectedEntityInfo Raycast

Does a raycast in the given direction. Will return an empty struct if distance or angle are out of bounds.

Returns

Example

Remarks

Clone this wiki locally