All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ch.viseon.threejs.declarations.cameras.CubeCamera.kt Maven / Gradle / Ivy

Go to download

Kotlin wrapper for ThreeJs, javascript library for 3d rendering

There is a newer version: 126.0.0
Show newest version
@file:JsModule("three")
package ch.viseon.threejs.declarations.cameras

	/**
	* Creates 6 cameras that render to a [page:WebGLCubeRenderTarget].
	*/
open external class CubeCamera(near: Double = definedExternally, far: Double = definedExternally, cubeResolution: Double = definedExternally, options: dynamic = definedExternally): ch.viseon.threejs.declarations.core.Object3D{

	/**
	* The cube texture that gets generated.
	*/
	open var renderTarget: ch.viseon.threejs.declarations.renderers.WebGLCubeRenderTarget  = definedExternally


	/**
	* renderer -- The current WebGL renderer scene -- The current scene
Call this to update the [page:CubeCamera.renderTarget renderTarget].
	*/
	open fun update(renderer: ch.viseon.threejs.declarations.renderers.WebGLRenderer = definedExternally, scene: ch.viseon.threejs.declarations.scenes.Scene = definedExternally) : dynamic


	/**
	* Call this to clear the [page:CubeCamera.renderTarget renderTarget] color, depth, and/or stencil buffers. The color buffer is set to the renderer's current clear color. Arguments default to **true**.
	*/
	open fun clear(renderer: ch.viseon.threejs.declarations.renderers.WebGLRenderer = definedExternally, color: Boolean = definedExternally, depth: Boolean = definedExternally, stencil: Boolean = definedExternally) : dynamic
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy