API

Type Alias PbrLocalEnvironmentOptions

PbrLocalEnvironmentOptions: PbrLocalEnvironmentBaseOptions & (
    | { projectionSize: readonly [number, number, number]; shape?: "box" }
    | { projectionRadius: number; shape: "sphere" }
)

Type Declaration

  • { projectionSize: readonly [number, number, number]; shape?: "box" }
    • ReadonlyprojectionSize: readonly [number, number, number]

      Full extents of the parallax-projection box.

    • Optional Readonlyshape?: "box"

      Box projection is the backward-compatible default.

  • { projectionRadius: number; shape: "sphere" }
    • ReadonlyprojectionRadius: number

      Radius of the parallax-projection sphere.

    • Readonlyshape: "sphere"