Inventory Engine  v4.0
Static Public Member Functions | List of all members
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 More...
 
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 More...
 

Detailed Description

Camera extensions

Member Function Documentation

◆ MMCameraWorldSpaceHeight()

static 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()

static 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: