API Reference › Globals › MockPixotron
# Class: MockPixotron
# Hierarchy
- MockPixotron
# Implements
# Index
# Properties
# Methods
- blit
- dispose
- fixMaterial
- getHighLightPass
- getSAOPass
- getSSRPass
- getShadowPass
- getShadowPlanePass
- highlightObjects
- isSuperSamplingConverged
- render
- renderFrame
- setQualityAdapter
- setSize
- updateShadowPlane
# Properties
# autoSAOClear
• autoSAOClear: boolean
Defined in packages/common-core/mock/mock-pixotron.ts:5
# autoShadowsClear
• autoShadowsClear: boolean
Defined in packages/common-core/mock/mock-pixotron.ts:6
# enableAA
• enableAA: boolean
Defined in packages/common-core/mock/mock-pixotron.ts:7
# needsUpdate
• needsUpdate: boolean
Defined in packages/common-core/mock/mock-pixotron.ts:8
# Methods
# blit
▸ blit(): void
Defined in packages/common-core/mock/mock-pixotron.ts:10
Returns: void
# dispose
▸ dispose(): void
Defined in packages/common-core/mock/mock-pixotron.ts:14
Returns: void
# fixMaterial
▸ fixMaterial(object
: Object3D): void
Defined in packages/common-core/mock/mock-pixotron.ts:69
Parameters:
Name | Type |
---|---|
object | Object3D |
Returns: void
# getHighLightPass
▸ getHighLightPass(): any
Defined in packages/common-core/mock/mock-pixotron.ts:18
Returns: any
# getSAOPass
▸ getSAOPass(): any
Defined in packages/common-core/mock/mock-pixotron.ts:22
Returns: any
# getSSRPass
▸ getSSRPass(): object
Defined in packages/common-core/mock/mock-pixotron.ts:66
Returns: object
# getShadowPass
▸ getShadowPass(): any
Defined in packages/common-core/mock/mock-pixotron.ts:26
Returns: any
# getShadowPlanePass
▸ getShadowPlanePass(): any
Defined in packages/common-core/mock/mock-pixotron.ts:30
Returns: any
# highlightObjects
▸ highlightObjects(objects
: Object3D[]): void
Defined in packages/common-core/mock/mock-pixotron.ts:38
Parameters:
Name | Type |
---|---|
objects | Object3D[] |
Returns: void
# isSuperSamplingConverged
▸ isSuperSamplingConverged(): boolean
Defined in packages/common-core/mock/mock-pixotron.ts:58
Returns: boolean
# render
▸ render(renderer
: WebGLRenderer, scene
: Scene, camera
: Camera, renderTarget?
: WebGLRenderTarget): void
Defined in packages/common-core/mock/mock-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/common-core/mock/mock-pixotron.ts:46
Parameters:
Name | Type |
---|---|
renderer | WebGLRenderer |
scene | Scene |
camera | Camera |
renderTarget? | WebGLRenderTarget |
Returns: void
# setQualityAdapter
▸ setQualityAdapter(adapter
: any): void
Defined in packages/common-core/mock/mock-pixotron.ts:62
Parameters:
Name | Type |
---|---|
adapter | any |
Returns: void
# setSize
▸ setSize(width
: number, height
: number): void
Defined in packages/common-core/mock/mock-pixotron.ts:50
Parameters:
Name | Type |
---|---|
width | number |
height | number |
Returns: void
# updateShadowPlane
▸ updateShadowPlane(object
: Object3D): void
Defined in packages/common-core/mock/mock-pixotron.ts:54
Parameters:
Name | Type |
---|---|
object | Object3D |
Returns: void