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 binding for ThreeJs, javascript library for 3d rendering

There is a newer version: 104.0.0
Show newest version
//Generated date 23.11.2018
@file:JsModule("three")
package ch.viseon.threejs.declarations.cameras

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

	/**
	* The cube texture that gets generated.
	*/
	open var renderTarget: ch.viseon.threejs.declarations.renderers.WebGLRenderTargetCube  = 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/*null*/


	/**
	* 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/*null*/
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy