3ds Max C++ API Reference
Loading...
Searching...
No Matches
lslights.h File Reference
#include "maxtypes.h"
#include "genlight.h"
#include "custattrib.h"

Classes

class  LightscapeLight
 Common Photometric light. More...
 
class  LightscapeLight2
 Extension to Photometric light This interface extends class LightscapeLight with new functionality in 3ds Max 2016. More...
 
class  LightscapeLight::AreaLightCustAttrib
 Area Lights sampling custom attribute. More...
 

Macros

#define LIGHTSCAPE_LIGHT_CLASS   Class_ID(0x30331006, 0x2454bd3)
 Photometric Lights class ID.
 
#define LS_POINT_LIGHT_ID   Class_ID(0x32375fcc, 0xb025cf0)
 The Class ID for Photometric Free Point lights.
 
#define LS_LINEAR_LIGHT_ID   Class_ID(0x78207401, 0x357f1d58)
 The Class ID for Photometric Free Linear lights.
 
#define LS_AREA_LIGHT_ID   Class_ID(0x36507d92, 0x105a1a47)
 The Class ID for Photometric Free Area lights.
 
#define LS_DISC_LIGHT_ID   Class_ID(0x5bcc6d42, 0xc4f430e)
 The Class ID for Photometric Free Disc lights.
 
#define LS_SPHERE_LIGHT_ID   Class_ID(0x7ca93582, 0x1abb6b32)
 The Class ID for Photometric Free Sphere lights.
 
#define LS_CYLINDER_LIGHT_ID   Class_ID(0x46f634e3, 0xa327aaf)
 The Class ID for Photometric Free Cylinder lights.
 
#define LS_POINT_LIGHT_TARGET_ID   Class_ID(0x658d4f97, 0x72cd4259)
 The Class ID for Photometric Target Point lights.
 
#define LS_LINEAR_LIGHT_TARGET_ID   Class_ID(0x45076885, 0x40791449)
 The Class ID for Photometric Target Linear lights.
 
#define LS_AREA_LIGHT_TARGET_ID   Class_ID(0x71794f9d, 0x70ae52f2)
 The Class ID for Photometric Target Area lights.
 
#define LS_DISC_LIGHT_TARGET_ID   Class_ID(0x38732348, 0x201758b3)
 The Class ID for Photometric Target Disc lights.
 
#define LS_SPHERE_LIGHT_TARGET_ID   Class_ID(0x33fc7ae9, 0x54433dc5)
 The Class ID for Photometric Target Sphere lights.
 
#define LS_CYLINDER_LIGHT_TARGET_ID   Class_ID(0x7c8b5b10, 0x4bd33e86)
 The Class ID for Photometric Target Cylinder lights.
 
#define LS_AREALIGHTCUSTATTRIB_CLASS_ID   Class_ID(0x554c5e06, 0x325037bc)
 The Class ID for the Area Sampling custom attribute.
 
#define LS_AREALIGHTCUSTATTRIB_INTERFACE_ID   Interface_ID(0x46aa0b9f, 0x64866ff3)
 The Interface ID for the Area Sampling custom attribute interface.
 
#define LIGHTSCAPE_LIGHT_INTENSITY_MIN   0.0f
 
#define LIGHTSCAPE_LIGHT_INTENSITY_MAX   1.0e7f
 

Macro Definition Documentation

◆ LIGHTSCAPE_LIGHT_CLASS

#define LIGHTSCAPE_LIGHT_CLASS   Class_ID(0x30331006, 0x2454bd3)

Photometric Lights class ID.

All Photometric lights will return true to IsSubClassOf(LIGHTSCAPE_LIGHT_CLASS). This is how a programmer can determine whether casting a LightObject to LightscapeLight is valid.

◆ LS_POINT_LIGHT_ID

#define LS_POINT_LIGHT_ID   Class_ID(0x32375fcc, 0xb025cf0)

The Class ID for Photometric Free Point lights.

◆ LS_LINEAR_LIGHT_ID

#define LS_LINEAR_LIGHT_ID   Class_ID(0x78207401, 0x357f1d58)

The Class ID for Photometric Free Linear lights.

◆ LS_AREA_LIGHT_ID

#define LS_AREA_LIGHT_ID   Class_ID(0x36507d92, 0x105a1a47)

The Class ID for Photometric Free Area lights.

◆ LS_DISC_LIGHT_ID

#define LS_DISC_LIGHT_ID   Class_ID(0x5bcc6d42, 0xc4f430e)

The Class ID for Photometric Free Disc lights.

◆ LS_SPHERE_LIGHT_ID

#define LS_SPHERE_LIGHT_ID   Class_ID(0x7ca93582, 0x1abb6b32)

The Class ID for Photometric Free Sphere lights.

◆ LS_CYLINDER_LIGHT_ID

#define LS_CYLINDER_LIGHT_ID   Class_ID(0x46f634e3, 0xa327aaf)

The Class ID for Photometric Free Cylinder lights.

◆ LS_POINT_LIGHT_TARGET_ID

#define LS_POINT_LIGHT_TARGET_ID   Class_ID(0x658d4f97, 0x72cd4259)

The Class ID for Photometric Target Point lights.

◆ LS_LINEAR_LIGHT_TARGET_ID

#define LS_LINEAR_LIGHT_TARGET_ID   Class_ID(0x45076885, 0x40791449)

The Class ID for Photometric Target Linear lights.

◆ LS_AREA_LIGHT_TARGET_ID

#define LS_AREA_LIGHT_TARGET_ID   Class_ID(0x71794f9d, 0x70ae52f2)

The Class ID for Photometric Target Area lights.

◆ LS_DISC_LIGHT_TARGET_ID

#define LS_DISC_LIGHT_TARGET_ID   Class_ID(0x38732348, 0x201758b3)

The Class ID for Photometric Target Disc lights.

◆ LS_SPHERE_LIGHT_TARGET_ID

#define LS_SPHERE_LIGHT_TARGET_ID   Class_ID(0x33fc7ae9, 0x54433dc5)

The Class ID for Photometric Target Sphere lights.

◆ LS_CYLINDER_LIGHT_TARGET_ID

#define LS_CYLINDER_LIGHT_TARGET_ID   Class_ID(0x7c8b5b10, 0x4bd33e86)

The Class ID for Photometric Target Cylinder lights.

◆ LS_AREALIGHTCUSTATTRIB_CLASS_ID

#define LS_AREALIGHTCUSTATTRIB_CLASS_ID   Class_ID(0x554c5e06, 0x325037bc)

The Class ID for the Area Sampling custom attribute.

◆ LS_AREALIGHTCUSTATTRIB_INTERFACE_ID

#define LS_AREALIGHTCUSTATTRIB_INTERFACE_ID   Interface_ID(0x46aa0b9f, 0x64866ff3)

The Interface ID for the Area Sampling custom attribute interface.

See also
LightscapeLight::AreaLightCustAttrib

◆ LIGHTSCAPE_LIGHT_INTENSITY_MIN

#define LIGHTSCAPE_LIGHT_INTENSITY_MIN   0.0f

◆ LIGHTSCAPE_LIGHT_INTENSITY_MAX

#define LIGHTSCAPE_LIGHT_INTENSITY_MAX   1.0e7f