Class: SubView

shf3d.SubView

Class representing a sub-view displaying a 3D scene within a view.

new shf3d.SubView ()

Properties:
Name Type Description
ambience color

(default: rgb(0, 0, 0)) The ambient light color.

color color

(default: rgb(0, 0, 0)) The background color.

camera shf3d.Camera

(default: null) The active camera.

scene shf3d.Entity

(default: null) The scene to show.

Extends

Methods

renderScene ()

Renders the scene.