FBLight Class Reference


Detailed Description

Light class.

Inheritance diagram for FBLight:

List of all members.

Public Member Functions

 __init__ (str pName, object pObject=None)
 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.
FBPropertyBaseAnimatable Intensity
 Read Write Property: Light intensity.
FBPropertyBaseAnimatable InnerAngle
 Read Write Property: Inner Cone angle for light.
FBPropertyBaseAnimatable OuterAngle
 Read Write Property: Outer Cone angle for light.
FBPropertyBaseAnimatable ConeAngle
  DEPRECATED Equivalent to OuterAngle.
FBPropertyBaseAnimatable FogIntensity
 Read Write Property: Intensity of the fog (spot light).
FBPropertyBaseAnimatable DiffuseColor
 Read Write Property: Color: Diffuse color.
FBPropertyBase CastLightOnObject
 Read Write Property: Cast light on object?.
FBPropertyBase CastShadows
 Read Write Property: Cast shadows on object?.
FBPropertyBase DrawGroundProjection
 Read Write Property: Draw ground projection of gobo?.
FBPropertyBase DrawVolumetricLight
 Read Write Property: Draw volumetric light with gobo?.
FBPropertyBase DrawFrontFacingVolumetric
 Read Write Property: Draw front facing volumetric light?.
FBPropertyVideo GoboMedia
 Read Write Property: Media to use as a Gobo with the light.
FBPropertyBase EnableBarnDoor
 Read Write Property: Whether or not enable barn door.
FBPropertyBase LeftBarnDoor
 Read Write Property: Angle of left barn door.
FBPropertyBase RightBarnDoor
 Read Write Property: Angle of right barn door.
FBPropertyBase TopBarnDoor
 Read Write Property: Angle of top barn door.
FBPropertyBase BottomBarnDoor
 Read Write Property: Angle of bottom barn door.

Member Function Documentation

__init__ ( str  pName,
object  pObject = None 
)

Constructor.

Parameters:
pNameName of light.
pObjectFor internal use only(default=NULL).

Reimplemented from FBModel.


Member Data Documentation

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.

Note:
To use Area Light, please set FBRenderer.AdvancedLightingMode property, or modify config "AdvancedLightingUISetting" at [Rendering] section.
PropertyAreaLightShapes AreaLightShape

Read Write Property: Area light shape.

FBPropertyAttenuationType AttenuationType

Read Write Property: Type of attenuation for the light.

FBPropertyBaseAnimatable Intensity

Read Write Property: Light intensity.

FBPropertyBaseAnimatable InnerAngle

Read Write Property: Inner Cone angle for light.

FBPropertyBaseAnimatable OuterAngle

Read Write Property: Outer Cone angle for light.

FBPropertyBaseAnimatable ConeAngle

DEPRECATED Equivalent to OuterAngle.

FBPropertyBaseAnimatable FogIntensity

Read Write Property: Intensity of the fog (spot light).

FBPropertyBaseAnimatable DiffuseColor

Read Write Property: Color: Diffuse color.

FBPropertyBase CastLightOnObject

Read Write Property: Cast light on object?.

FBPropertyBase CastShadows

Read Write Property: Cast shadows on object?.

FBPropertyBase DrawGroundProjection

Read Write Property: Draw ground projection of gobo?.

FBPropertyBase DrawVolumetricLight

Read Write Property: Draw volumetric light with gobo?.

FBPropertyBase DrawFrontFacingVolumetric

Read Write Property: Draw front facing volumetric light?.

FBPropertyVideo GoboMedia

Read Write Property: Media to use as a Gobo with the light.

FBPropertyBase EnableBarnDoor

Read Write Property: Whether or not enable barn door.

FBPropertyBase LeftBarnDoor

Read Write Property: Angle of left barn door.

FBPropertyBase RightBarnDoor

Read Write Property: Angle of right barn door.

FBPropertyBase TopBarnDoor

Read Write Property: Angle of top barn door.

FBPropertyBase BottomBarnDoor

Read Write Property: Angle of bottom barn door.


FBLight FBLight FBLight FBLight FBLight FBLight FBLight FBLight FBLight FBLight
FBLight FBLight FBLight FBLight FBLight FBLight FBLight FBLight FBLight FBLight