Skip to main content

Class: BaseRenderer

components.BaseRenderer

A base component for other components whose main mission is to render a scene.

Hierarchy

Implements

Properties

clippingPlanes

clippingPlanes: Plane[] = []

The list of clipping planes used by this instance of the renderer.

Defined in

temp/components/base-types/base-renderer.ts:33


enabled

Abstract enabled: boolean

enabled

Overrides

Component.enabled

Defined in

temp/components/base-types/base-renderer.ts:18


name

Abstract name: string

name

Overrides

Component.name

Defined in

temp/components/base-types/base-renderer.ts:15

Methods

get

Abstract get(): WebGLRenderer

get

Returns

WebGLRenderer

Overrides

Component.get

Defined in

temp/components/base-types/base-renderer.ts:21


getSize

Abstract getSize(): Vector2

getSize.

Returns

Vector2

Implementation of

Resizeable.getSize

Defined in

temp/components/base-types/base-renderer.ts:24


resize

Abstract resize(): void

resize.

Returns

void

Implementation of

Resizeable.resize

Defined in

temp/components/base-types/base-renderer.ts:27


togglePlane

togglePlane(active, plane, isLocal?): void

Adds or removes a clipping plane to the renderer.

Parameters

NameType
activeboolean
planePlane
isLocal?boolean

Returns

void

Defined in

temp/components/base-types/base-renderer.ts:40