fbsdk/fblight.h File Reference
 
 
 
fbsdk/fblight.h File Reference

This reference page is linked to from the following overview topics: FBLight - Lights, MotionBuilder 2014.


#include <kaydaradef.h>
#include <fbsdk/fbmodel.h>

Classes

class   FBLight
  Light class. More...
class   FBPropertyListLight
  PropertyList: Light More...
class   FBGlobalLight
  Global light class. More...

Defines

#define  FBSDK_DLL   K_DLLIMPORT
  Be sure that FBSDK_DLL is defined only once...

Enumerations

enum   FBLightType { kFBLightTypePoint = 0, kFBLightTypeInfinite, kFBLightTypeSpot, kFBLightTypeArea }
  Light types. More...
enum   FBAttenuationType { kFBAttenuationNone = 0, kFBAttenuationLinear, kFBAttenuationQuadratic, kFBAttenuationCubic }
  Light attenuation types. More...
enum   FBFogMode { kFBFogModeLinear, kFBFogModeExponential, kFBFogModeSquareExponential }
  Fog falloff modes. More...

Functions

  FB_DEFINE_COMPONENT (K_DLLIMPORT, Light)
  __FB_FORWARD (FBLight)
  FB_DEFINE_ENUM (K_DLLIMPORT, LightType)
  FB_DEFINE_ENUM (K_DLLIMPORT, AttenuationType)
  __FB_FORWARD (FBGlobalLight)
  FB_DEFINE_ENUM (K_DLLIMPORT, FogMode)

Define Documentation

#define FBSDK_DLL   K_DLLIMPORT

Be sure that FBSDK_DLL is defined only once...

Definition at line 48 of file fblight.h.


Enumeration Type Documentation

Light types.

Enumerator:
kFBLightTypePoint 

Point light.

kFBLightTypeInfinite 

Infinite light (plane).

kFBLightTypeSpot 

Spot light.

kFBLightTypeArea 

Area light.

Definition at line 65 of file fblight.h.

Light attenuation types.

Enumerator:
kFBAttenuationNone 

No attenuation.

kFBAttenuationLinear 

Linear attenuation.

kFBAttenuationQuadratic 

Quadratic attenuation.

kFBAttenuationCubic 

Cubic attenuation.

Definition at line 75 of file fblight.h.

enum FBFogMode

Fog falloff modes.

Enumerator:
kFBFogModeLinear 

Linear falloff.

kFBFogModeExponential 

Exponential falloff.

kFBFogModeSquareExponential 

Squared exponential falloff.

Definition at line 157 of file fblight.h.


Function Documentation

FB_DEFINE_COMPONENT ( K_DLLIMPORT  ,
Light   
)
__FB_FORWARD ( FBLight  )
FB_DEFINE_ENUM ( K_DLLIMPORT  ,
LightType   
)
FB_DEFINE_ENUM ( K_DLLIMPORT  ,
AttenuationType   
)
FB_DEFINE_ENUM ( K_DLLIMPORT  ,
FogMode   
)

Go to the source code of this file.