ZPerspectiveLensData

@Serializable
class ZPerspectiveLensData : ZLensData(source)

Constructors

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

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var far: Float
Link copied to clipboard
var fov: Float
Link copied to clipboard
@Transient
var height: Float?
Link copied to clipboard
var near: Float
Link copied to clipboard
open override val projectionMatrix: ZMatrix4
Link copied to clipboard
@Transient
open 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.

Link copied to clipboard
Link copied to clipboard
@Transient
var width: Float?

Functions

Link copied to clipboard
fun setDimensions(width: Int, height: Int)
Link copied to clipboard
open override fun toString(): String