Skip to main content

ZPerspectiveLens

actualpackageZPerspectiveLens
9 items
constructorZPerspectiveLens
constructor(near: Float, far: Float, fov: Float)constructor(near: Float, far: Float, fov: Float, aspectRatio: Float)
varfov
var fov: Float
Represents the field of view angle for the lens in a ZPerspectiveLens.
override val isInitialized: Boolean
Represents a boolean value indicating whether a component has been initialized.
open override val isRenderizable: Boolean = false
Represents a boolean value indicating whether a component is renderizable.
val projectionMatrix: ZMatrix4
The projection matrix for the lens
override val refId: String
Represents the unique identifier for a reference-based component. The refId is used as a distinctive key for retrieving or linking this component within reference-dependent systems.
objectCompanion
object Companion
open override fun initialize(ctx: ZRenderingContext)
Initializes the ZComponent using the provided ZRenderingContext.
open override fun onViewportResize(width: Int, height: Int)
Notifies the listener when the viewport dimensions change.