NearFarScalar

external class NearFarScalar(var near: Double = definedExternally, var nearValue: Double = definedExternally, var far: Double = definedExternally, var farValue: Double = definedExternally)(source)

Represents a scalar value's lower and upper bound at a near distance and far distance in eye space.

See also

Constructors

Link copied to clipboard
constructor(near: Double = definedExternally, nearValue: Double = definedExternally, far: Double = definedExternally, farValue: Double = definedExternally)

Types

Link copied to clipboard

Properties

Link copied to clipboard
var far: Double

The upper bound of the camera range. Default value - 1.0

Link copied to clipboard

The value at the upper bound of the camera range. Default value - 0.0

Link copied to clipboard

The lower bound of the camera range. Default value - 0.0

Link copied to clipboard

The value at the lower bound of the camera range. Default value - 0.0

Functions

Link copied to clipboard
fun clone(result: NearFarScalar? = definedExternally): NearFarScalar

Duplicates this instance.