Three.V8

3D rendering engine using JavaScript as user script.

View on GitHub

<–Home

class BackgroundScene

Use another scene as background.

class BackgroundScene extends Background

Inheritance Background –> BackgroundScene

Name Description
Constructors  
BackgroundScene() Creates a new BackgroundScene.
Properties  
scene Reference to the scene.
near near clipping distance for rendering the background
far far clipping distance for rendering the background

Constructors

BackgroundScene()

BackgroundScene(scene: Scene, near: Number, far: Number)

Creates a new BackgroundScene.

Parameters

scene: reference to the scene used as background.

near: near clipping distance for rendering the background. Default value 10.0.

far: far clipping distance for rendering the background. Default value 10000.0.

Properties

scene

.scene: Scene

Reference to the scene.

Readable & writable.

near

.near: Number

Near clipping distance for rendering the background

far

.far: Number

Far clipping distance for rendering the background