Class: SimpleRenderer
components.SimpleRenderer
A basic renderer capable of rendering 3D and 2D objects (Objec3Ds and CSS2DObjects respectively).
Hierarchy
↳
SimpleRenderer
Implements
Properties
afterUpdate
• afterUpdate: Event
<SimpleRenderer
>
Implementation of
Defined in
temp/components/core/SimpleRenderer/index.ts:32
beforeUpdate
• beforeUpdate: Event
<SimpleRenderer
>
Implementation of
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
Defined in
temp/components/base-types/base-renderer.ts:33
enabled
• enabled: boolean
= true
Overrides
Defined in
temp/components/core/SimpleRenderer/index.ts:26
name
• name: string
= "SimpleRenderer"
Overrides
Defined in
temp/components/core/SimpleRenderer/index.ts:23
Methods
dispose
▸ dispose(): void
Returns
void
Implementation of
Disposable.dispose
Defined in
temp/components/core/SimpleRenderer/index.ts:67
get
▸ get(): WebGLRenderer
Returns
WebGLRenderer
Overrides
Defined in
temp/components/core/SimpleRenderer/index.ts:51
getSize
▸ getSize(): Vector2
Returns
Vector2
Implementation of
Resizeable.getSize
Overrides
Defined in
temp/components/core/SimpleRenderer/index.ts:76
resize
▸ resize(): void
Returns
void
Implementation of
Resizeable.resize
Overrides
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
Name | Type |
---|---|
active | boolean |
plane | Plane |
isLocal? | boolean |
Returns
void
Inherited from
Defined in
temp/components/base-types/base-renderer.ts:40
update
▸ update(_delta
): void
Parameters
Name | Type |
---|---|
_delta | number |
Returns
void
Implementation of
Defined in
temp/components/core/SimpleRenderer/index.ts:56