Class: View

shf3d.View

Class representing a view displaying a 3D scene.

new shf3d.View ()

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

invalidateScene ()

Invalidates the scene and causes it to render again.

renderScene ()

Renders the scene.