Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AmbientInfo

场景的环境光照相关信息

Hierarchy

  • AmbientInfo

Index

Properties

Protected _groundAlbedo

_groundAlbedo: Color = new Color(51, 51, 51, 255)

Protected _resource

_resource: Ambient | null = null

Protected _skyColor

_skyColor: Color = new Color(51, 128, 204, 1.0)

Protected _skyIllum

_skyIllum: number = Ambient.SKY_ILLUM

Accessors

groundAlbedo

  • get groundAlbedo(): Color
  • set groundAlbedo(val: Color): void

skyColor

  • get skyColor(): Color
  • set skyColor(val: Color): void

skyIllum

  • get skyIllum(): number
  • set skyIllum(val: number): void

Methods

activate

  • activate(resource: Ambient): void

Generated using TypeDoc