beta
cables is under heavy development.
There might be one or another bug, please let us know about it!

AspectRatio Op

Ops.Gl.AspectRatio


AspectRatio
Namespace: Ops.Gl

Op author: pandur

set fixed viewport aspect ratop and letterboxing




Inputs

render (Trigger)
Aspect Ratio index (integer /Number)
Custom (Number)

Size

use viewport size (boolean /Number)
texture width (integer /Number)
texture height (integer /Number)

Outputs

trigger (Trigger)
Width (Number)
Height (Number)
Caught a mistake or want to contribute to the documentation?

Edit Documentation 

aspect ratio example

Open Example In Editor

Patches using AspectRatio

Changelog


new op: replacing viewport and letterbox ops
2019-01-23 - pandur