Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • CameraEnvironmentMap

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

environmentMap

environmentMap: CubeTexture = ...

The resulting map texture. Set this as your scene.environment or as a material's envMap.

Methods

dispose

  • dispose(): void

update

  • update(renderer: WebGLRenderer, zapparCamera: Camera): void
  • Update the contents of the environment map with the latest texture from the camera.

    Call this each frame after you call update on your Zappar camera, but before you render the scene.

    Parameters

    • renderer: WebGLRenderer

      Your renderer object

    • zapparCamera: Camera

      The Zappar camera you're using to render your scene

    Returns void

Legend

  • Constructor
  • Property
  • Method
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Property

Generated using TypeDoc