Skip to main content

Class: DepthMeshOptions

Defined in: src/depth/DepthOptions.ts:4

Constructors

Constructor

new DepthMeshOptions(): DepthMeshOptions

Returns

DepthMeshOptions

Properties

colliderUpdateFps

colliderUpdateFps: number = 5

Defined in: src/depth/DepthOptions.ts:20


depthFullResolution

depthFullResolution: number = 160

Defined in: src/depth/DepthOptions.ts:23


depthMeshUpdateFps

depthMeshUpdateFps: number = 0

Defined in: src/depth/DepthOptions.ts:22

FPS cap for depth mesh geometry updates. 0 = update every frame.


enabled

enabled: boolean = false

Defined in: src/depth/DepthOptions.ts:5


ignoreEdgePixels

ignoreEdgePixels: number = 3

Defined in: src/depth/DepthOptions.ts:24


opacity

opacity: number = 1.0

Defined in: src/depth/DepthOptions.ts:14


patchHoles

patchHoles: boolean = false

Defined in: src/depth/DepthOptions.ts:11


patchHolesUpper

patchHolesUpper: boolean = false

Defined in: src/depth/DepthOptions.ts:12


renderShadow

renderShadow: boolean = false

Defined in: src/depth/DepthOptions.ts:9


shadowOpacity

shadowOpacity: number = 0.25

Defined in: src/depth/DepthOptions.ts:10


showDebugTexture

showDebugTexture: boolean = false

Defined in: src/depth/DepthOptions.ts:7


updateFullResolutionGeometry

updateFullResolutionGeometry: boolean = false

Defined in: src/depth/DepthOptions.ts:19


updateVertexNormals

updateVertexNormals: boolean = false

Defined in: src/depth/DepthOptions.ts:6


useDepthTexture

useDepthTexture: boolean = false

Defined in: src/depth/DepthOptions.ts:8


useDownsampledGeometry

useDownsampledGeometry: boolean = true

Defined in: src/depth/DepthOptions.ts:17


useDualCollider

useDualCollider: boolean = false

Defined in: src/depth/DepthOptions.ts:15