LensScaling

data class LensScaling(val x: Float, val y: Float)

Projection scaling — multiplies the projection along each axis. 2 on one axis zooms that axis in; unequal values give an anamorphic squeeze.

Not to be confused with Scale, which sizes an object in the scene; this reshapes the frustum.

Constructors

Link copied to clipboard
constructor(x: Float, y: Float)
constructor(v: Float)

Uniform on both axes.

constructor(v: Float2)

From a filament-utils Float2.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val x: Float
Link copied to clipboard
val y: Float

Functions

Link copied to clipboard