cocos2d-x  3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
CCLight.h File Reference
#include "2d/CCNode.h"

Classes

class  BaseLight
 
class  DirectionLight
 
class  PointLight
 
class  SpotLight
 
class  AmbientLight
 

Namespaces

 cocos2d
 

Enumerations

enum  LightType { DIRECTIONAL = 0, POINT = 1, SPOT = 2, AMBIENT = 3 }
 
enum  LightFlag {
  LIGHT0 = 1, LIGHT1 = 1 << 1, LIGHT2 = 1 << 2, LIGHT3 = 1 << 3,
  LIGHT4 = 1 << 4, LIGHT5 = 1 << 5, LIGHT6 = 1 << 6, LIGHT7 = 1 << 7,
  LIGHT8 = 1 << 8, LIGHT9 = 1 << 9, LIGHT10 = 1 << 10, LIGHT11 = 1 << 11,
  LIGHT12 = 1 << 12, LIGHT13 = 1 << 13, LIGHT14 = 1 << 14, LIGHT15 = 1 << 15
}