Light.Type Enum

Module: cc Parent Module: cc

The light source type

Index

  • DIRECTIONAL
  • POINT
  • SPOT
  • AMBIENT

Details

DIRECTIONAL

The direction of light

meta description
Type Number
Defined in cocos2d/core/3d/CCLightComponent.js:55
POINT

The point of light

meta description
Type Number
Defined in cocos2d/core/3d/CCLightComponent.js:63
SPOT

The spot of light

meta description
Type Number
Defined in cocos2d/core/3d/CCLightComponent.js:71
AMBIENT

The ambient light

meta description
Type Number
Defined in cocos2d/core/3d/CCLightComponent.js:80

results matching ""

    No results matching ""