beta
cables is under heavy development.
There might be one or another bug, please let us know about it!
CanvasInfo
Ops.Gl.CanvasInfo
Collections: dataInfo  
Namespace: Ops.Gl
the size of the canvas in pixels, aspect ratio and pixel density

summary (oneliner)

doc

issues

youtube id

collections

related ops

Inputs

Outputs

width (Number)

height (Number)

Pixel Ratio (Number)

Aspect Ratio (Number)

Landscape (boolean Number)

Caught a mistake or want to contribute to the documentation?

Edit Documentationcancel save
canvasinfo example:


Credits


Changelog


new output: landscape - true if canvas width > height
2019-02-20 - pandur

Ops.Gl.CanvasSize renamed to Ops.Gl.CanvasInfo
2019-11-05 - pandur

Examples using CanvasInfo

Public Patches using CanvasInfo