Skip to content

Interface: View3DCamera ​

Experimental

The camera of a 2.5D view (world = the viewport's world, CSS px).

Properties ​

PropertyModifierTypeDescription
distancereadonlynumberExperimental Distance from the eye to C.
eyereadonlyVector3Experimental Camera position, and the point it looks at (C).
farreadonlynumberExperimental
fitreadonlynumberExperimental How much the window was widened so the tilted plane fits the rect (≥ 1).
inversereadonlyMatrix4Experimental
nearreadonlynumberExperimental
orthographicreadonlybooleanExperimental
projectionreadonlyMatrix4Experimental
targetreadonlyVector3Experimental
viewreadonlyMatrix4Experimental World → view.
viewProjectionreadonlyMatrix4Experimental World → clip, and its inverse.
windowreadonlyreadonly [number, number, number, number]Experimental Projection window (near plane for perspective): left, right, top, bottom.

Released under the MIT License.