Enumeration class for defining which lighting types affect the specific material lighting component (diffuse and specular). This can be useful if, for example, you want to use light probes for diffuse global lighting, but want specular reflections from traditional light sources without those affecting the diffuse light.

See also:

  • away3d.materials.ColorMaterial.diffuseLightSources

  • away3d.materials.ColorMaterial.specularLightSources

  • away3d.materials.TextureMaterial.diffuseLightSources

  • away3d.materials.TextureMaterial.specularLightSources

Static variables

@:value(0x03)staticinlineread onlyALL:Int = 0x03

Defines that both normal and global lighting probes are to be used as the source for the lighting component. This is equivalent to LIGHTS | PROBES.

@:value(0x01)staticinlineread onlyLIGHTS:Int = 0x01

Defines normal lights are to be used as the source for the lighting component.

@:value(0x02)staticinlineread onlyPROBES:Int = 0x02

Defines that global lighting probes are to be used as the source for the lighting component.