Constructors

Link copied to clipboard
constructor(near: Float, far: Float, fov: Float)
constructor(near: Float, far: Float, fov: Float, aspectRatio: Float)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
var fov: Float

Represents the field of view angle for the lens in a ZPerspectiveLens.

Link copied to clipboard
Link copied to clipboard
override val isInitialized: Boolean

Represents a boolean value indicating whether a component has been initialized.

Link copied to clipboard
open override val isRenderizable: Boolean = false

Represents a boolean value indicating whether a component is renderizable.

Link copied to clipboard

The projection matrix for the lens

Link copied to clipboard
override val refId: Int

Represents the unique reference identifier for a component.

Functions

Link copied to clipboard
override fun initialize(ctx: ZRenderingContext)

Initializes the ZComponent using the provided ZRenderingContext.

Link copied to clipboard
open override fun onViewportResize(width: Int, height: Int)

Notifies the listener when the viewport dimensions change.