View

actual class View

A View encompasses all the state needed for rendering a Scene.

Renderer.render() operates on View objects. These View objects specify important parameters such as the Scene, Camera, Viewport, and various rendering parameters.

View instances are heavy objects that internally cache a lot of data needed for rendering. It is not advised for an application to use many View objects. For example, in a game, a View could be used for the main scene and another one for the game's user interface. More View instances could be used for creating special effects (a View is akin to a rendering pass).

See also

, Camera, RenderTarget

expect class View

A View encompasses all the state needed for rendering a Scene.

Renderer.render() operates on View objects. These View objects specify important parameters such as the Scene, Camera, Viewport, and various rendering parameters.

View instances are heavy objects that internally cache a lot of data needed for rendering. It is not advised for an application to use many View objects. For example, in a game, a View could be used for the main scene and another one for the game's user interface. More View instances could be used for creating special effects (a View is akin to a rendering pass).

See also

, Camera, RenderTarget

actual class View(jsView: View)

A View encompasses all the state needed for rendering a Scene.

Renderer.render() operates on View objects. These View objects specify important parameters such as the Scene, Camera, Viewport, and various rendering parameters.

View instances are heavy objects that internally cache a lot of data needed for rendering. It is not advised for an application to use many View objects. For example, in a game, a View could be used for the main scene and another one for the game's user interface. More View instances could be used for creating special effects (a View is akin to a rendering pass).

See also

, Camera, RenderTarget

actual class View

A View encompasses all the state needed for rendering a Scene.

Renderer.render() operates on View objects. These View objects specify important parameters such as the Scene, Camera, Viewport, and various rendering parameters.

View instances are heavy objects that internally cache a lot of data needed for rendering. It is not advised for an application to use many View objects. For example, in a game, a View could be used for the main scene and another one for the game's user interface. More View instances could be used for creating special effects (a View is akin to a rendering pass).

See also

, Camera, RenderTarget

actual class View

A View encompasses all the state needed for rendering a Scene.

Renderer.render() operates on View objects. These View objects specify important parameters such as the Scene, Camera, Viewport, and various rendering parameters.

View instances are heavy objects that internally cache a lot of data needed for rendering. It is not advised for an application to use many View objects. For example, in a game, a View could be used for the main scene and another one for the game's user interface. More View instances could be used for creating special effects (a View is akin to a rendering pass).

See also

, Camera, RenderTarget

Constructors

Link copied to clipboard
constructor(jsView: View)

Types

Link copied to clipboard

Options for screen space Ambient Occlusion (SSAO) and Screen Space Cone Tracing (SSCT).

Options for screen space Ambient Occlusion (SSAO) and Screen Space Cone Tracing (SSCT).

Options for screen space Ambient Occlusion (SSAO) and Screen Space Cone Tracing (SSCT).

Options for screen space Ambient Occlusion (SSAO) and Screen Space Cone Tracing (SSCT).

Options for screen space Ambient Occlusion (SSAO) and Screen Space Cone Tracing (SSCT).

Link copied to clipboard

Anti-aliasing technique.

Anti-aliasing technique.

Anti-aliasing technique.

Anti-aliasing technique.

Anti-aliasing technique.

Link copied to clipboard
actual enum BlendMode : Enum<View.BlendMode>

Blending mode for the view.

expect enum BlendMode : Enum<View.BlendMode>

Blending mode for the view.

actual enum BlendMode : Enum<View.BlendMode>

Blending mode for the view.

actual enum BlendMode : Enum<View.BlendMode>

Blending mode for the view.

actual enum BlendMode : Enum<View.BlendMode>

Blending mode for the view.

Link copied to clipboard
actual class BloomOptions

Options to control the bloom post-processing effect.

expect class BloomOptions

Options to control the bloom post-processing effect.

actual class BloomOptions

Options to control the bloom post-processing effect.

actual class BloomOptions

Options to control the bloom post-processing effect.

actual class BloomOptions

Options to control the bloom post-processing effect.

Link copied to clipboard
actual class DepthOfFieldOptions

Options to control Depth of Field (DoF) effect in the scene.

expect class DepthOfFieldOptions

Options to control Depth of Field (DoF) effect in the scene.

actual class DepthOfFieldOptions

Options to control Depth of Field (DoF) effect in the scene.

actual class DepthOfFieldOptions

Options to control Depth of Field (DoF) effect in the scene.

actual class DepthOfFieldOptions

Options to control Depth of Field (DoF) effect in the scene.

Link copied to clipboard
actual enum Dithering : Enum<View.Dithering>

Dithering mode for temporal coherence in rendering.

expect enum Dithering : Enum<View.Dithering>

Dithering mode for temporal coherence in rendering.

actual enum Dithering : Enum<View.Dithering>

Dithering mode for temporal coherence in rendering.

actual enum Dithering : Enum<View.Dithering>

Dithering mode for temporal coherence in rendering.

actual enum Dithering : Enum<View.Dithering>

Dithering mode for temporal coherence in rendering.

Link copied to clipboard

Dynamic resolution options control rendering resolution scaling to meet target frame rates.

Dynamic resolution options control rendering resolution scaling to meet target frame rates.

Dynamic resolution options control rendering resolution scaling to meet target frame rates.

Dynamic resolution options control rendering resolution scaling to meet target frame rates.

Dynamic resolution options control rendering resolution scaling to meet target frame rates.

Link copied to clipboard
actual class FogOptions

Options to control large-scale fog in the scene.

expect class FogOptions

Options to control large-scale fog in the scene.

actual class FogOptions

Options to control large-scale fog in the scene.

actual class FogOptions

Options to control large-scale fog in the scene.

actual class FogOptions

Options to control large-scale fog in the scene.

Link copied to clipboard
actual class GuardBandOptions

Options for the screen-space guard band.

expect class GuardBandOptions

Options for the screen-space guard band.

actual class GuardBandOptions

Options for the screen-space guard band.

actual class GuardBandOptions

Options for the screen-space guard band.

actual class GuardBandOptions

Options for the screen-space guard band.

Link copied to clipboard

Options for Multi-Sample Anti-aliasing (MSAA).

Options for Multi-Sample Anti-aliasing (MSAA).

Options for Multi-Sample Anti-aliasing (MSAA).

Options for Multi-Sample Anti-aliasing (MSAA).

Options for Multi-Sample Anti-aliasing (MSAA).

Link copied to clipboard
actual class PickingQueryResult(val renderable: Int, val depth: Float, val fragCoords: FloatArray)

Result of a picking (color-picking) query.

expect class PickingQueryResult(renderable: Int, depth: Float, fragCoords: FloatArray)

Result of a picking (color-picking) query.

actual class PickingQueryResult(val renderable: Int, val depth: Float, val fragCoords: FloatArray)

Result of a picking (color-picking) query.

actual class PickingQueryResult(val renderable: Int, val depth: Float, val fragCoords: FloatArray)

Result of a picking (color-picking) query.

actual class PickingQueryResult(val renderable: Int, val depth: Float, val fragCoords: FloatArray)

Result of a picking (color-picking) query.

Link copied to clipboard
actual enum Quality : Enum<View.Quality>

Generic quality level for various rendering options.

expect enum Quality : Enum<View.Quality>

Generic quality level for various rendering options.

actual enum Quality : Enum<View.Quality>

Generic quality level for various rendering options.

actual enum Quality : Enum<View.Quality>

Generic quality level for various rendering options.

actual enum Quality : Enum<View.Quality>

Generic quality level for various rendering options.

Link copied to clipboard
actual class RenderQuality

Options to control color buffer precision and quality settings.

expect class RenderQuality

Options to control color buffer precision and quality settings.

actual class RenderQuality

Options to control color buffer precision and quality settings.

actual class RenderQuality

Options to control color buffer precision and quality settings.

actual class RenderQuality

Options to control color buffer precision and quality settings.

Link copied to clipboard

Options for Screen-space Reflections (SSR).

Options for Screen-space Reflections (SSR).

Options for Screen-space Reflections (SSR).

Options for Screen-space Reflections (SSR).

Options for Screen-space Reflections (SSR).

Link copied to clipboard

Shadow rendering technique.

Shadow rendering technique.

Shadow rendering technique.

Shadow rendering technique.

Shadow rendering technique.

Link copied to clipboard
actual class SoftShadowOptions

View-level options for DPCF and PCSS (soft) shadowing.

expect class SoftShadowOptions

View-level options for DPCF and PCSS (soft) shadowing.

actual class SoftShadowOptions

View-level options for DPCF and PCSS (soft) shadowing.

actual class SoftShadowOptions

View-level options for DPCF and PCSS (soft) shadowing.

actual class SoftShadowOptions

View-level options for DPCF and PCSS (soft) shadowing.

Link copied to clipboard
actual class StereoscopicOptions

Options for stereoscopic (multi-eye) rendering.

expect class StereoscopicOptions

Options for stereoscopic (multi-eye) rendering.

actual class StereoscopicOptions

Options for stereoscopic (multi-eye) rendering.

actual class StereoscopicOptions

Options for stereoscopic (multi-eye) rendering.

actual class StereoscopicOptions

Options for stereoscopic (multi-eye) rendering.

Link copied to clipboard

Options for Temporal Anti-aliasing (TAA).

Options for Temporal Anti-aliasing (TAA).

Options for Temporal Anti-aliasing (TAA).

Options for Temporal Anti-aliasing (TAA).

Options for Temporal Anti-aliasing (TAA).

Link copied to clipboard
actual class VignetteOptions

Options to control the vignetting effect (darkening at screen edges).

expect class VignetteOptions

Options to control the vignetting effect (darkening at screen edges).

actual class VignetteOptions

Options to control the vignetting effect (darkening at screen edges).

actual class VignetteOptions

Options to control the vignetting effect (darkening at screen edges).

actual class VignetteOptions

Options to control the vignetting effect (darkening at screen edges).

Link copied to clipboard
actual class VsmShadowOptions

View-level options for VSM (Variance Shadow Maps) shadowing.

expect class VsmShadowOptions

View-level options for VSM (Variance Shadow Maps) shadowing.

actual class VsmShadowOptions

View-level options for VSM (Variance Shadow Maps) shadowing.

actual class VsmShadowOptions

View-level options for VSM (Variance Shadow Maps) shadowing.

actual class VsmShadowOptions

View-level options for VSM (Variance Shadow Maps) shadowing.

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
actual var camera: Camera?
expect var camera: Camera?
actual var camera: Camera?
actual var camera: Camera?
actual var camera: Camera?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
actual val fogEntity: Int
expect val fogEntity: Int
actual val fogEntity: Int
actual val fogEntity: Int
actual val fogEntity: Int
Link copied to clipboard
Link copied to clipboard
actual val hasCamera: Boolean
expect val hasCamera: Boolean
actual val hasCamera: Boolean
actual val hasCamera: Boolean
actual val hasCamera: Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
actual var name: String?
expect var name: String?
actual var name: String?
actual var name: String?
actual var name: String?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
actual var scene: Scene?

The Scene associated with this View. A Scene can be associated to several Views.

expect var scene: Scene?

The Scene associated with this View. A Scene can be associated to several Views.

actual var scene: Scene?

The Scene associated with this View. A Scene can be associated to several Views.

actual var scene: Scene?

The Scene associated with this View. A Scene can be associated to several Views.

actual var scene: Scene?

The Scene associated with this View. A Scene can be associated to several Views.

Link copied to clipboard
Link copied to clipboard
actual var viewport: Viewport
expect var viewport: Viewport
actual var viewport: Viewport
actual var viewport: Viewport
actual var viewport: Viewport

Functions

Link copied to clipboard
actual fun clearFrameHistory(engine: Engine)
expect fun clearFrameHistory(engine: Engine)
actual fun clearFrameHistory(engine: Engine)
actual fun clearFrameHistory(engine: Engine)
actual fun clearFrameHistory(engine: Engine)
Link copied to clipboard
actual fun getMaterialGlobal(index: Int): FloatArray
expect fun getMaterialGlobal(index: Int): FloatArray
actual fun getMaterialGlobal(index: Int): FloatArray
actual fun getMaterialGlobal(index: Int): FloatArray
actual fun getMaterialGlobal(index: Int): FloatArray
Link copied to clipboard
actual fun getVisibleLayers(): Int
expect fun getVisibleLayers(): Int
actual fun getVisibleLayers(): Int
actual fun getVisibleLayers(): Int
actual fun getVisibleLayers(): Int
Link copied to clipboard
actual fun pick(x: Int, y: Int, callback: (View.PickingQueryResult) -> Unit)
expect fun pick(x: Int, y: Int, callback: (View.PickingQueryResult) -> Unit)
actual fun pick(x: Int, y: Int, callback: (View.PickingQueryResult) -> Unit)
actual fun pick(x: Int, y: Int, callback: (View.PickingQueryResult) -> Unit)
actual fun pick(x: Int, y: Int, callback: (View.PickingQueryResult) -> Unit)
Link copied to clipboard
actual fun setDynamicLightingOptions(zNear: Float, zFar: Float)
expect fun setDynamicLightingOptions(zNear: Float, zFar: Float)
actual fun setDynamicLightingOptions(zNear: Float, zFar: Float)
actual fun setDynamicLightingOptions(zNear: Float, zFar: Float)
actual fun setDynamicLightingOptions(zNear: Float, zFar: Float)
Link copied to clipboard
actual fun setLayerEnabled(layer: Int, enabled: Boolean)
expect fun setLayerEnabled(layer: Int, enabled: Boolean)
actual fun setLayerEnabled(layer: Int, enabled: Boolean)
actual fun setLayerEnabled(layer: Int, enabled: Boolean)
actual fun setLayerEnabled(layer: Int, enabled: Boolean)
Link copied to clipboard
actual fun setMaterialGlobal(index: Int, value: FloatArray)
expect fun setMaterialGlobal(index: Int, value: FloatArray)
actual fun setMaterialGlobal(index: Int, value: FloatArray)
actual fun setMaterialGlobal(index: Int, value: FloatArray)
actual fun setMaterialGlobal(index: Int, value: FloatArray)
Link copied to clipboard
actual fun setVisibleLayers(select: Int, values: Int)
expect fun setVisibleLayers(select: Int, values: Int)
actual fun setVisibleLayers(select: Int, values: Int)
actual fun setVisibleLayers(select: Int, values: Int)
actual fun setVisibleLayers(select: Int, values: Int)