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

CameraInfo Op

Ops.Gl.Matrix.CameraInfo


CameraInfo

get camera attributes from current camera/orbit controls


summary (oneliner)

Utility op to get camera attributes.

It is important that you set the camera type that you are using.

Usually it is a perspective camera, but if you're explicitly using a orthographic/orthogonal camera, switch the mode to "Orthographic".



doc

issues

example patch id

youtube id

caniuse query

collections

related ops

Inputs

render (Trigger)

Trigger input


Camera Type index (integer /Number)

Outputs

trigger (Trigger)

Trigger outpu


X (Number)

x position of camera


Y (Number)

y position of camera


Z (Number)

z position of camera


Right X (Number)

x right of camera


Right Y (Number)

y right of camera


Right Z (Number)

z right of camera


Up X (Number)

x up of camera


Up Y (Number)

y up of camera


Up Z (Number)

z up of camera


Forward X (Number)

x forward of camera


Forward Y (Number)

y forward of camera


Forward Z (Number)

z forward of camera


Near Frustum (Number)

frustum near


Far Frustum (Number)

frustum far


Bottom Frustum (Number)

frustum bottom


Top Frustum (Number)

frustum top


Left Frustum (Number)

frustum left


Right Frustum (Number)

frustum right


FOV (Number)

field of view


Aspect Ratio (Number)

aspect ratio


Caught a mistake or want to contribute to the documentation?

Edit Documentationcancel save

CameraInfo - example

Open Example In Editor


Patches using CameraInfo

Changelog


created op
2019-11-08 - simod

Ops.User.simod.CameraDecompose renamed to Ops.Gl.Matrix.CameraDecompose
2019-11-08 - simod

Ops.Gl.Matrix.CameraDecompose renamed to Ops.Gl.Matrix.CameraInfo
2019-11-08 - simod