Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SkyboxInfo

天空盒相关信息

Hierarchy

  • SkyboxInfo

Index

Properties

Protected _enabled

_enabled: boolean = false

Protected _envmap

_envmap: TextureCube | null = null

Protected _isRGBE

_isRGBE: boolean = false

Protected _resource

_resource: Skybox | null = null

Protected _useIBL

_useIBL: boolean = false

Accessors

enabled

  • get enabled(): boolean
  • set enabled(val: boolean): void
  • Returns boolean

  • 是否启用天空盒?

    Parameters

    • val: boolean

    Returns void

envmap

  • Returns null | TextureCube

  • 使用的立方体贴图

    Parameters

    Returns void

isRGBE

  • get isRGBE(): boolean
  • set isRGBE(val: boolean): void
  • Returns boolean

  • 是否需要开启 shader 内的 RGBE 数据支持?

    Parameters

    • val: boolean

    Returns void

renderScene

  • set renderScene(val: RenderScene): void
  • Parameters

    • val: RenderScene

    Returns void

useIBL

  • get useIBL(): boolean
  • set useIBL(val: boolean): void
  • Returns boolean

  • 是否启用环境光照?

    Parameters

    • val: boolean

    Returns void

Generated using TypeDoc