CameraExtensions.GetHorizontalFieldOfViewRadians(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 radians
public:
[System::Runtime::CompilerServices::Extension]
static float GetHorizontalFieldOfViewRadians(UnityEngine::Camera ^ camera);
public static float GetHorizontalFieldOfViewRadians (this UnityEngine.Camera camera);
static member GetHorizontalFieldOfViewRadians : UnityEngine.Camera -> single
<Extension()>
Public Function GetHorizontalFieldOfViewRadians (camera As Camera) As Single
Parameters
- camera
- UnityEngine.Camera