API ReferenceGlobalsPixotronUtil

# Class: PixotronUtil

# Hierarchy

  • PixotronUtil

# Index

# Constructors

# Methods

# Constructors

# constructor

+ new PixotronUtil(pixotron: Pixotron): PixotronUtil

Defined in packages/common-core/src/webgl/pixotron-util.ts:26

Parameters:

Name Type
pixotron Pixotron

Returns: PixotronUtil

# Methods

# enablePixotronAutoQuality

enablePixotronAutoQuality(): void

Defined in packages/common-core/src/webgl/pixotron-util.ts:189

Returns: void


# getAutoAdapter

getAutoAdapter(): any

Defined in packages/common-core/src/webgl/pixotron-util.ts:177

Returns: any


# getHighPixelRatioQualitySetting

getHighPixelRatioQualitySetting(): any

Defined in packages/common-core/src/webgl/pixotron-util.ts:139

Returns: any


# getLowestQualitySetting

getLowestQualitySetting(): any

Defined in packages/common-core/src/webgl/pixotron-util.ts:143

Returns: any


# getPixotronInstance

getPixotronInstance(params?: any): Pixotron

Defined in packages/common-core/src/webgl/pixotron-util.ts:34

Parameters:

Name Type
params? any

Returns: Pixotron


# lockAdapter

lockAdapter(): void

Defined in packages/common-core/src/webgl/pixotron-util.ts:181

Returns: void


# movingCameraStarts

movingCameraStarts(): void

Defined in packages/common-core/src/webgl/pixotron-util.ts:198

Returns: void


# movingCameraStops

movingCameraStops(): void

Defined in packages/common-core/src/webgl/pixotron-util.ts:212

Returns: void


# onAutoQualityChange

onAutoQualityChange(qualityChangeCallback: any): void

Defined in packages/common-core/src/webgl/pixotron-util.ts:169

Parameters:

Name Type
qualityChangeCallback any

Returns: void


# onManualQualityChange

onManualQualityChange(qualityChangeCallback: any): void

Defined in packages/common-core/src/webgl/pixotron-util.ts:173

Parameters:

Name Type
qualityChangeCallback any

Returns: void


# showGUI

showGUI(): void

Defined in packages/common-core/src/webgl/pixotron-util.ts:60

Returns: void


# unLockAdapter

unLockAdapter(): void

Defined in packages/common-core/src/webgl/pixotron-util.ts:185

Returns: void


# updateBounds

updateBounds(bounds: Sphere): void

Defined in packages/common-core/src/webgl/pixotron-util.ts:91

Parameters:

Name Type
bounds Sphere

Returns: void


# updatePixelRatio

updatePixelRatio(renderer: WebGLRenderer): void

Defined in packages/common-core/src/webgl/pixotron-util.ts:133

Parameters:

Name Type
renderer WebGLRenderer

Returns: void