Skip to main content

Interface: CacheDepthConfiguration

component.CacheDepthConfiguration

Interface for configuration of cache depth.

interface

example

var viewer = new Viewer({    ...    component: {        cache: {            depth: {                spherical: 2,                sequence: 3,            }        },    },    ...});

Properties#

sequence#

• sequence: number

Cache depth in the sequence directions.

description Max value is 4. Value will be clamped to the interval [0, 4].

default 2

Defined in#

component/interfaces/CacheConfiguration.ts:31


spherical#

• spherical: number

Cache depth in the spherical direction.

description Max value is 2. Value will be clamped to the interval [0, 2].

default 1

Defined in#

component/interfaces/CacheConfiguration.ts:40


step#

• step: number

Cache depth in the step directions.

description Max value is 3. Value will be clamped to the interval [0, 3].

default 1

Defined in#

component/interfaces/CacheConfiguration.ts:49


turn#

• turn: number

Cache depth in the turn directions.

description Max value is 1. Value will be clamped to the interval [0, 1].

default 0

Defined in#

component/interfaces/CacheConfiguration.ts:58