ZLensData

@Serializable
abstract class ZLensData : ZComponentData(source)

Inheritors

Constructors

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

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var far: Float
Link copied to clipboard
@Transient
var height: Float?
Link copied to clipboard
var near: Float
Link copied to clipboard
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
abstract override fun toString(): String