Classes | Defines

lslights.h File Reference

#include "maxtypes.h"
#include "genlight.h"
#include "custattrib.h"

Go to the source code of this file.

Classes

class   LightscapeLight
  Common Photoemtric light. More...
class   LightscapeLight::AreaLightCustAttrib
  Area Lights sampling custom attribute. More...

Defines

#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

Define Documentation

#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.

Definition at line 30 of file lslights.h.

#define LS_POINT_LIGHT_ID   Class_ID(0x32375fcc, 0xb025cf0)

The Class ID for Photometric Free Point lights.

Definition at line 33 of file lslights.h.

#define LS_LINEAR_LIGHT_ID   Class_ID(0x78207401, 0x357f1d58)

The Class ID for Photometric Free Linear lights.

Definition at line 35 of file lslights.h.

#define LS_AREA_LIGHT_ID   Class_ID(0x36507d92, 0x105a1a47)

The Class ID for Photometric Free Area lights.

Definition at line 37 of file lslights.h.

#define LS_DISC_LIGHT_ID   Class_ID(0x5bcc6d42, 0xc4f430e)

The Class ID for Photometric Free Disc lights.

Definition at line 39 of file lslights.h.

#define LS_SPHERE_LIGHT_ID   Class_ID(0x7ca93582, 0x1abb6b32)

The Class ID for Photometric Free Sphere lights.

Definition at line 41 of file lslights.h.

#define LS_CYLINDER_LIGHT_ID   Class_ID(0x46f634e3, 0xa327aaf)

The Class ID for Photometric Free Cylinder lights.

Definition at line 43 of file lslights.h.

#define LS_POINT_LIGHT_TARGET_ID   Class_ID(0x658d4f97, 0x72cd4259)

The Class ID for Photometric Target Point lights.

Definition at line 46 of file lslights.h.

#define LS_LINEAR_LIGHT_TARGET_ID   Class_ID(0x45076885, 0x40791449)

The Class ID for Photometric Target Linear lights.

Definition at line 48 of file lslights.h.

#define LS_AREA_LIGHT_TARGET_ID   Class_ID(0x71794f9d, 0x70ae52f2)

The Class ID for Photometric Target Area lights.

Definition at line 50 of file lslights.h.

#define LS_DISC_LIGHT_TARGET_ID   Class_ID(0x38732348, 0x201758b3)

The Class ID for Photometric Target Disc lights.

Definition at line 52 of file lslights.h.

#define LS_SPHERE_LIGHT_TARGET_ID   Class_ID(0x33fc7ae9, 0x54433dc5)

The Class ID for Photometric Target Sphere lights.

Definition at line 54 of file lslights.h.

#define LS_CYLINDER_LIGHT_TARGET_ID   Class_ID(0x7c8b5b10, 0x4bd33e86)

The Class ID for Photometric Target Cylinder lights.

Definition at line 56 of file lslights.h.

#define LS_AREALIGHTCUSTATTRIB_CLASS_ID   Class_ID(0x554c5e06, 0x325037bc)

The Class ID for the Area Sampling custom attribute.

Definition at line 59 of file lslights.h.

#define LS_AREALIGHTCUSTATTRIB_INTERFACE_ID   Interface_ID(0x46aa0b9f, 0x64866ff3)

The Interface ID for the Area Sampling custom attribute interface.

See also:
LightscapeLight::AreaLightCustAttrib

Definition at line 62 of file lslights.h.

#define LIGHTSCAPE_LIGHT_INTENSITY_MIN   0.0f

Definition at line 64 of file lslights.h.

#define LIGHTSCAPE_LIGHT_INTENSITY_MAX   1.0e7f

Definition at line 65 of file lslights.h.