This reference page is linked to from the following overview topics: MotionBuilder 2014, Your First Python Program, Scene Elements, FBModel - Transformation Data and the Scene Graph, FBLight - Lights, Updated Objects.
#include <fblight.h>
Public Types | |
enum | EAreaLightShapes { eRectangle, eSphere } |
Area light shapes. More... | |
typedef FBPropertyBaseEnum < EAreaLightShapes > | PropertyAreaLightShapes |
Public Member Functions | |
FBLight (const char *pName, HIObject pObject=NULL) | |
Constructor. | |
Public Attributes | |
FBPropertyLightType | LightType |
Read Write Property: Type of light. | |
PropertyAreaLightShapes | AreaLightShape |
Read Write Property: Area light shape. | |
FBPropertyAttenuationType | AttenuationType |
Read Write Property: Type of attenuation for the light. | |
FBPropertyAnimatableDouble | Intensity |
Read Write Property: Light intensity. | |
FBPropertyAnimatableDouble | InnerAngle |
Read Write Property: Inner Cone angle for light. | |
FBPropertyAnimatableDouble | OuterAngle |
Read Write Property: Outer Cone angle for light. | |
FBPropertyAnimatableDouble | ConeAngle |
DEPRECATED Equivalent to OuterAngle. | |
FBPropertyAnimatableDouble | FogIntensity |
Read Write Property: Intensity of the fog (spot light). | |
FBPropertyAnimatableColor | DiffuseColor |
Read Write Property: Color: Diffuse color. | |
FBPropertyBool | CastLightOnObject |
Read Write Property: Cast light on object? | |
FBPropertyBool | CastShadows |
Read Write Property: Cast shadows on object? | |
FBPropertyBool | DrawGroundProjection |
Read Write Property: Draw ground projection of gobo? | |
FBPropertyBool | DrawVolumetricLight |
Read Write Property: Draw volumetric light with gobo? | |
FBPropertyBool | DrawFrontFacingVolumetric |
Read Write Property: Draw front facing volumetric light? | |
FBPropertyVideo | GoboMedia |
Read Write Property: Media to use as a Gobo with the light. | |
FBPropertyBool | EnableBarnDoor |
Read Write Property: Whether or not enable barn door. | |
FBPropertyDouble | LeftBarnDoor |
Read Write Property: Angle of left barn door. | |
FBPropertyDouble | RightBarnDoor |
Read Write Property: Angle of right barn door. | |
FBPropertyDouble | TopBarnDoor |
Read Write Property: Angle of top barn door. | |
FBPropertyDouble | BottomBarnDoor |
Read Write Property: Angle of bottom barn door. |
enum EAreaLightShapes |
FBLight | ( | const char * | pName, |
HIObject | pObject = NULL |
||
) |
Constructor.
pName | Name of light. |
pObject | For internal use only(default=NULL). |
FBPropertyLightType LightType |
Read Write Property: Type of light.
MoBu default renderer don't support Area Light, it's useful for pipeline interop with other DCC tools, and custom renderer (or shader) plugin development.
Read Write Property: Area light shape.
FBPropertyAttenuationType AttenuationType |
Read Write Property: Type of attenuation for the light.
Read Write Property: Light intensity.
Read Write Property: Inner Cone angle for light.
Read Write Property: Outer Cone angle for light.
DEPRECATED Equivalent to OuterAngle.
Read Write Property: Intensity of the fog (spot light).
Read Write Property: Color: Diffuse color.
Read Write Property: Cast light on object?
Read Write Property: Cast shadows on object?
Read Write Property: Draw ground projection of gobo?
Read Write Property: Draw volumetric light with gobo?
Read Write Property: Draw front facing volumetric light?
FBPropertyVideo GoboMedia |
Read Write Property: Media to use as a Gobo with the light.
Read Write Property: Whether or not enable barn door.
Read Write Property: Angle of left barn door.
Read Write Property: Angle of right barn door.
Read Write Property: Angle of top barn door.
Read Write Property: Angle of bottom barn door.