fblight.h File Reference

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


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

Go to the source code of this file.

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 (FBSDK_DLL, Light)
 __FB_FORWARD (FBLight)
 FB_DEFINE_ENUM (FBSDK_DLL, LightType)
 FB_DEFINE_ENUM (FBSDK_DLL, AttenuationType)
 __FB_FORWARD (FBGlobalLight)
 FB_DEFINE_ENUM (FBSDK_DLL, 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 ( FBSDK_DLL  ,
Light   
)
__FB_FORWARD ( FBLight  )
FB_DEFINE_ENUM ( FBSDK_DLL  ,
LightType   
)
FB_DEFINE_ENUM ( FBSDK_DLL  ,
AttenuationType   
)
FB_DEFINE_ENUM ( FBSDK_DLL  ,
FogMode   
)