canvas-toy
Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Scene

Index

Properties

ambientLight

ambientLight: Vec3Array = vec3.fromValues(0, 0, 0)

clearColor

clearColor: number[] = [0, 0, 0, 0]

enableShadowMap

enableShadowMap: boolean = false

lights

lights: Light[] = []

objects

objects: Object3d[] = []

openLight

openLight: boolean = false

programSetUp

programSetUp: boolean = false

Methods

addLight

  • addLight(light: Light): this

addObject

removeObject

update

  • update(dt: number): void
  • Parameters

    • dt: number

    Returns void

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc