Inventory Engine v4.2
Loading...
Searching...
No Matches
MoreMountains.Tools.MMCameraExtensions Class Reference

Camera extensions. More...

Static Public Member Functions

static float MMCameraWorldSpaceWidth (this Camera camera, float depth=0f)
 Returns the width of the camera in world space units, at the specified depths for perspective cameras, everywhere for orthographic ones.
static float MMCameraWorldSpaceHeight (this Camera camera, float depth=0f)
 Returns the height of the camera in world space units, at the specified depths for perspective cameras, everywhere for orthographic ones.

Detailed Description

Camera extensions.

Member Function Documentation

◆ MMCameraWorldSpaceHeight()

float MoreMountains.Tools.MMCameraExtensions.MMCameraWorldSpaceHeight ( this Camera camera,
float depth = 0f )
static

Returns the height of the camera in world space units, at the specified depths for perspective cameras, everywhere for orthographic ones.

Parameters
camera
depth
Returns

◆ MMCameraWorldSpaceWidth()

float MoreMountains.Tools.MMCameraExtensions.MMCameraWorldSpaceWidth ( this Camera camera,
float depth = 0f )
static

Returns the width of the camera in world space units, at the specified depths for perspective cameras, everywhere for orthographic ones.

Parameters
camera
depth
Returns

The documentation for this class was generated from the following file: