Assimp  v3.1.1 (June 2014)
Assimp::FBX::Light Class Reference

DOM base class for FBX lights attached to a node. More...

Inherits Assimp::FBX::NodeAttribute.

Public Types

enum  Decay {
  Decay_None, Decay_Linear, Decay_Quadratic, Decay_Cubic,
  Decay_MAX
}
 
enum  Type {
  Type_Point, Type_Directional, Type_Spot, Type_Area,
  Type_Volume, Type_MAX
}
 

Public Member Functions

true false fbx_simple_enum_property (DecayType, Decay, 0) fbx_simple_property(DecayStart
 
 fbx_simple_property (Color, aiVector3D, aiVector3D(1, 1, 1)) fbx_simple_enum_property(LightType
 
 fbx_simple_property (CastLightOnObject, bool, false) fbx_simple_property(DrawVolumetricLight
 
true fbx_simple_property (DrawGroundProjection, bool, true) fbx_simple_property(DrawFrontFacingVolumetricLight
 
true false fbx_simple_property (Intensity, float, 1.0f) fbx_simple_property(InnerAngle
 
true false fbx_simple_property (OuterAngle, float, 45.0f) fbx_simple_property(Fog
 
true false fbx_simple_property (FileName, std::string, "") fbx_simple_property(EnableNearAttenuation
 
true false false fbx_simple_property (NearAttenuationStart, float, 0.0f) fbx_simple_property(NearAttenuationEnd
 
true false false fbx_simple_property (EnableFarAttenuation, bool, false) fbx_simple_property(FarAttenuationStart
 
true false false fbx_simple_property (FarAttenuationEnd, float, 0.0f) fbx_simple_property(CastShadows
 
true false false true fbx_simple_property (ShadowColor, aiVector3D, aiVector3D(0, 0, 0)) fbx_simple_property(AreaLightShape
 
true false false true fbx_simple_property (LeftBarnDoor, float, 20.0f) fbx_simple_property(RightBarnDoor
 
true false false true fbx_simple_property (TopBarnDoor, float, 20.0f) fbx_simple_property(BottomBarnDoor
 
 Light (uint64_t id, const Element &element, const Document &doc, const std::string &name)
 
virtual ~Light ()
 
- Public Member Functions inherited from Assimp::FBX::NodeAttribute
 NodeAttribute (uint64_t id, const Element &element, const Document &doc, const std::string &name)
 
const PropertyTable & Props () const
 
virtual ~NodeAttribute ()
 
- Public Member Functions inherited from Assimp::FBX::Object
uint64_t ID () const
 
const std::string & Name () const
 
 Object (uint64_t id, const Element &element, const std::string &name)
 
const ElementSourceElement () const
 
virtual ~Object ()
 

Public Attributes

 bool
 
true bool
 
true false bool
 
true false false bool
 
true false float
 
true false false float
 
true false false true float
 
true false int
 
true false false true int
 

Additional Inherited Members

- Protected Attributes inherited from Assimp::FBX::Object
const Elementelement
 
const uint64_t id
 
const std::string name
 

Detailed Description

DOM base class for FBX lights attached to a node.

Member Enumeration Documentation

◆ Decay

Enumerator
Decay_None 
Decay_Linear 
Decay_Quadratic 
Decay_Cubic 
Decay_MAX 

◆ Type

Enumerator
Type_Point 
Type_Directional 
Type_Spot 
Type_Area 
Type_Volume 
Type_MAX 

Constructor & Destructor Documentation

◆ Light()

Assimp::FBX::Light::Light ( uint64_t  id,
const Element element,
const Document doc,
const std::string &  name 
)

◆ ~Light()

Assimp::FBX::Light::~Light ( )
virtual

Member Function Documentation

◆ fbx_simple_enum_property()

true false Assimp::FBX::Light::fbx_simple_enum_property ( DecayType  ,
Decay  ,
 
)

◆ fbx_simple_property() [1/12]

Assimp::FBX::Light::fbx_simple_property ( Color  ,
aiVector3D  ,
aiVector3D(1, 1, 1)   
)

◆ fbx_simple_property() [2/12]

Assimp::FBX::Light::fbx_simple_property ( CastLightOnObject  ,
bool  ,
false   
)

◆ fbx_simple_property() [3/12]

true Assimp::FBX::Light::fbx_simple_property ( DrawGroundProjection  ,
bool  ,
true   
)

◆ fbx_simple_property() [4/12]

true false Assimp::FBX::Light::fbx_simple_property ( Intensity  ,
float  ,
1.  0f 
)

◆ fbx_simple_property() [5/12]

true false Assimp::FBX::Light::fbx_simple_property ( OuterAngle  ,
float  ,
45.  0f 
)

◆ fbx_simple_property() [6/12]

true false Assimp::FBX::Light::fbx_simple_property ( FileName  ,
std::string  ,
""   
)

◆ fbx_simple_property() [7/12]

true false false Assimp::FBX::Light::fbx_simple_property ( NearAttenuationStart  ,
float  ,
0.  0f 
)

◆ fbx_simple_property() [8/12]

true false false Assimp::FBX::Light::fbx_simple_property ( EnableFarAttenuation  ,
bool  ,
false   
)

◆ fbx_simple_property() [9/12]

true false false Assimp::FBX::Light::fbx_simple_property ( FarAttenuationEnd  ,
float  ,
0.  0f 
)

◆ fbx_simple_property() [10/12]

true false false true Assimp::FBX::Light::fbx_simple_property ( ShadowColor  ,
aiVector3D  ,
aiVector3D(0, 0, 0)   
)

◆ fbx_simple_property() [11/12]

true false false true Assimp::FBX::Light::fbx_simple_property ( LeftBarnDoor  ,
float  ,
20.  0f 
)

◆ fbx_simple_property() [12/12]

true false false true Assimp::FBX::Light::fbx_simple_property ( TopBarnDoor  ,
float  ,
20.  0f 
)

Member Data Documentation

◆ bool [1/4]

Assimp::FBX::Light::bool

◆ bool [2/4]

true Assimp::FBX::Light::bool

◆ bool [3/4]

true false Assimp::FBX::Light::bool

◆ bool [4/4]

true false false Assimp::FBX::Light::bool

◆ float [1/3]

true false false true Assimp::FBX::Light::float

◆ float [2/3]

true false false Assimp::FBX::Light::float

◆ float [3/3]

true false false true Assimp::FBX::Light::float

◆ int [1/2]

true false Assimp::FBX::Light::int

◆ int [2/2]

true false false true Assimp::FBX::Light::int

The documentation for this class was generated from the following files: