Class ForceAspectRatio
Forces the camera to be a certain aspect ratio
Namespace: WeaverCore.Assets.Components
Assembly: WeaverCore.dll
Syntax
[RequireComponent(typeof(Camera))]
[ExecuteAlways]
public class ForceAspectRatio : MonoBehaviour
Methods
| Edit this page View SourceSetOverscanViewport(float)
Declaration
public void SetOverscanViewport(float adjustment)
Parameters
Type | Name | Description |
---|---|---|
float | adjustment |