Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ModelLightmapSettings

模型光照图设置

Hierarchy

  • ModelLightmapSettings

Index

Properties

Protected _bakeable

_bakeable: boolean = false

Protected _castShadow

_castShadow: boolean = false

Protected _lightmapSize

_lightmapSize: number = 64

Protected _recieveShadow

_recieveShadow: boolean = false

texture

texture: Texture2D | null = null

uvParam

uvParam: Vec4 = new Vec4()

Accessors

bakeable

  • get bakeable(): boolean
  • set bakeable(val: boolean): void

castShadow

  • get castShadow(): boolean
  • set castShadow(val: boolean): void

lightmapSize

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

recieveShadow

  • get recieveShadow(): boolean
  • set recieveShadow(val: boolean): void

Generated using TypeDoc