API Reference › Globals › Pixotron
# Class: Pixotron
# Hierarchy
- Pixotron
# Implemented by
# Index
# Constructors
# Properties
# Methods
- blit
- dispose
- fixMaterial
- getHighLightPass
- getSAOPass
- getSSRPass
- getShadowPass
- getShadowPlanePass
- highlightObjects
- isSuperSamplingConverged
- render
- renderFrame
- setQualityAdapter
- setSize
# Constructors
# constructor
+ new Pixotron(params?
: any): Pixotron
Defined in packages/typings/pixotron.ts:38
Parameters:
Name | Type |
---|---|
params? | any |
Returns: Pixotron
# Properties
# autoSAOClear
• autoSAOClear: boolean
Defined in packages/typings/pixotron.ts:38
# autoShadowsClear
• autoShadowsClear: boolean
Defined in packages/typings/pixotron.ts:37
# enableAA
• enableAA: boolean
Defined in packages/typings/pixotron.ts:35
# needsUpdate
• needsUpdate: boolean
Defined in packages/typings/pixotron.ts:36
# Methods
# blit
▸ blit(): void
Defined in packages/typings/pixotron.ts:62
Returns: void
# dispose
▸ dispose(): void
Defined in packages/typings/pixotron.ts:64
Returns: void
# fixMaterial
▸ fixMaterial(object
: Object3D): void
Defined in packages/typings/pixotron.ts:58
Parameters:
Name | Type |
---|---|
object | Object3D |
Returns: void
# getHighLightPass
▸ getHighLightPass(): any
Defined in packages/typings/pixotron.ts:52
Returns: any
# getSAOPass
▸ getSAOPass(): SAOPass
Defined in packages/typings/pixotron.ts:48
Returns: SAOPass
# getSSRPass
▸ getSSRPass(): any
Defined in packages/typings/pixotron.ts:56
Returns: any
# getShadowPass
▸ getShadowPass(): ShadowPass
Defined in packages/typings/pixotron.ts:50
Returns: ShadowPass
# getShadowPlanePass
▸ getShadowPlanePass(): ShadowPlanePass
Defined in packages/typings/pixotron.ts:54
Returns: ShadowPlanePass
# highlightObjects
▸ highlightObjects(objects
: Object3D[]): void
Defined in packages/typings/pixotron.ts:60
Parameters:
Name | Type |
---|---|
objects | Object3D[] |
Returns: void
# isSuperSamplingConverged
▸ isSuperSamplingConverged(): boolean
Defined in packages/typings/pixotron.ts:66
Returns: boolean
# render
▸ render(renderer
: WebGLRenderer, scene
: Scene, camera
: Camera, renderTarget?
: WebGLRenderTarget): void
Defined in packages/typings/pixotron.ts:42
Parameters:
Name | Type |
---|---|
renderer | WebGLRenderer |
scene | Scene |
camera | Camera |
renderTarget? | WebGLRenderTarget |
Returns: void
# renderFrame
▸ renderFrame(renderer
: WebGLRenderer, scene
: Scene, camera
: Camera, renderTarget?
: WebGLRenderTarget): void
Defined in packages/typings/pixotron.ts:44
Parameters:
Name | Type |
---|---|
renderer | WebGLRenderer |
scene | Scene |
camera | Camera |
renderTarget? | WebGLRenderTarget |
Returns: void
# setQualityAdapter
▸ setQualityAdapter(qualityAdapter
: any): void
Defined in packages/typings/pixotron.ts:68
Parameters:
Name | Type |
---|---|
qualityAdapter | any |
Returns: void
# setSize
▸ setSize(width
: number, height
: number): void
Defined in packages/typings/pixotron.ts:46
Parameters:
Name | Type |
---|---|
width | number |
height | number |
Returns: void