Skip to main content

Class: SimpleRenderer

components.SimpleRenderer

A basic renderer capable of rendering 3D and 2D objects (Objec3Ds and CSS2DObjects respectively).

Hierarchy

Implements

Properties

afterUpdate

afterUpdate: Event<SimpleRenderer>

afterUpdate

Implementation of

Updateable.afterUpdate

Defined in

temp/components/core/SimpleRenderer/index.ts:32


beforeUpdate

beforeUpdate: Event<SimpleRenderer>

beforeUpdate

Implementation of

Updateable.beforeUpdate

Defined in

temp/components/core/SimpleRenderer/index.ts:29


clippingPlanes

clippingPlanes: Plane[] = []

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

Inherited from

BaseRenderer.clippingPlanes

Defined in

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


enabled

enabled: boolean = true

enabled

Overrides

BaseRenderer.enabled

Defined in

temp/components/core/SimpleRenderer/index.ts:26


name

name: string = "SimpleRenderer"

name

Overrides

BaseRenderer.name

Defined in

temp/components/core/SimpleRenderer/index.ts:23

Methods

dispose

dispose(): void

dispose

Returns

void

Implementation of

Disposable.dispose

Defined in

temp/components/core/SimpleRenderer/index.ts:67


get

get(): WebGLRenderer

get

Returns

WebGLRenderer

Overrides

BaseRenderer.get

Defined in

temp/components/core/SimpleRenderer/index.ts:51


getSize

getSize(): Vector2

getSize.

Returns

Vector2

Implementation of

Resizeable.getSize

Overrides

BaseRenderer.getSize

Defined in

temp/components/core/SimpleRenderer/index.ts:76


resize

resize(): void

resize.

Returns

void

Implementation of

Resizeable.resize

Overrides

BaseRenderer.resize

Defined in

temp/components/core/SimpleRenderer/index.ts:84


togglePlane

togglePlane(active, plane, isLocal?): void

Adds or removes a clipping plane to the renderer.

Parameters

NameType
activeboolean
planePlane
isLocal?boolean

Returns

void

Inherited from

BaseRenderer.togglePlane

Defined in

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


update

update(_delta): void

update

Parameters

NameType
_deltanumber

Returns

void

Implementation of

Updateable.update

Defined in

temp/components/core/SimpleRenderer/index.ts:56