Class: BaseRenderer
components.BaseRenderer
A base component for other components whose main mission is to render a scene.
Hierarchy
Component
<THREE.WebGLRenderer
>↳
BaseRenderer
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
Overrides
Defined in
temp/components/base-types/base-renderer.ts:18
name
• Abstract
name: string
Overrides
Defined in
temp/components/base-types/base-renderer.ts:15
Methods
get
▸ Abstract
get(): WebGLRenderer
Returns
WebGLRenderer
Overrides
Defined in
temp/components/base-types/base-renderer.ts:21
getSize
▸ Abstract
getSize(): Vector2
Returns
Vector2
Implementation of
Resizeable.getSize
Defined in
temp/components/base-types/base-renderer.ts:24
resize
▸ Abstract
resize(): void
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
Name | Type |
---|---|
active | boolean |
plane | Plane |
isLocal? | boolean |
Returns
void
Defined in
temp/components/base-types/base-renderer.ts:40