Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface WebGLCubeRenderTarget

Used by the CubeCamera as its WebGLRenderTarget. See CubeCamera for examples.

Hierarchy

Index

Constructors

constructor

Properties

depth

depth: number

depthBuffer

depthBuffer: boolean

Renders to the depth buffer. Default is true.

depthTexture

depthTexture: I3JS.DepthTexture

If set, the scene depth will be rendered to this texture. Default is null.

height

height: number

The height of the render target.

Readonly isWebGLRenderTarget

isWebGLRenderTarget: true

scissor

scissor: I3JS.Vector4

A rectangular area inside the render target's viewport. Fragments that are outside the area will be discarded.

scissorTest

scissorTest: boolean

Indicates whether the scissor test is active or not.

stencilBuffer

stencilBuffer: boolean

Renders to the stencil buffer. Default is false.

texture

texture: I3JS.CubeTexture

uuid

uuid: string

viewport

viewport: I3JS.Vector4

The viewport of this render target.

width

width: number

The width of the render target.

Methods

addEventListener

clear

  • clear(renderer: I3JS.WebGLRenderer, color: boolean, depth: boolean, stencil: boolean): void

clone

copy

dispatchEvent

  • dispatchEvent(event: Event): void

dispose

  • dispose(): void

fromEquirectangularTexture

hasEventListener

removeEventListener

setSize

  • setSize(width: number, height: number, depth?: number): void

setTexture

Generated using TypeDoc