TriLib
1.9.0
TriLib Unity Package
|
Represents a series of UnityEngine.Camera extension methods. More...
Static Public Member Functions | |
static void | FitToBounds (this Camera camera, Transform transform, float distance) |
Frames the UnityEngine.Camera to encapsulate the UnityEngine.Transform child bounds. More... | |
Represents a series of UnityEngine.Camera extension methods.
|
static |
Frames the UnityEngine.Camera to encapsulate the UnityEngine.Transform child bounds.
camera | UnityEngine.Camera that will frame the transform. |
transform | UnityEngine.Transform that will be framed. |
distance | Distance from the transform to place the camera. |