Camera extensions.
More...
|
| 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.
|
◆ 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
-
- 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
-
- Returns
The documentation for this class was generated from the following file:
- H:/Code/MoreMountains/InventoryEngineStore/Assets/InventoryEngine/MMTools/Core/MMExtensions/MMCameraExtensions.cs