CameraExtensions.GetHorizontalFieldOfViewDegrees(Camera) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get the horizontal FOV from the stereo camera in degrees
public:
[System::Runtime::CompilerServices::Extension]
static float GetHorizontalFieldOfViewDegrees(UnityEngine::Camera ^ camera);
public static float GetHorizontalFieldOfViewDegrees (this UnityEngine.Camera camera);
static member GetHorizontalFieldOfViewDegrees : UnityEngine.Camera -> single
<Extension()>
Public Function GetHorizontalFieldOfViewDegrees (camera As Camera) As Single
Parameters
- camera
- UnityEngine.Camera