Assimp  v4.1. (December 2018)
Assimp::ASE::Light Struct Reference

Helper structure to represent an ASE light source. More...

Inherits Assimp::ASE::BaseNode.

Public Types

enum  LightType { OMNI, TARGET, FREE, DIRECTIONAL }
 
- Public Types inherited from Assimp::ASE::BaseNode
enum  Type { Light, Camera, Mesh, Dummy }
 

Public Member Functions

 Light ()=delete
 Default constructor has been deleted. More...
 
 Light (const std::string &name)
 Construction from an existing name. More...
 
- Public Member Functions inherited from Assimp::ASE::BaseNode
 BaseNode (Type _mType, const std::string &name)
 Construction from an existing name. More...
 

Public Attributes

ai_real mAngle
 
aiColor3D mColor
 
ai_real mFalloff
 
ai_real mIntensity
 
LightType mLightType
 
- Public Attributes inherited from Assimp::ASE::BaseNode
InheritanceInfo inherit
 Specifies which axes transformations a node inherits from its parent ... More...
 
Animation mAnim
 Animation channels for the node. More...
 
std::string mName
 Name of the mesh. More...
 
std::string mParent
 Name of the parent of the node "" if there is no parent ... More...
 
bool mProcessed
 
Animation mTargetAnim
 Needed for lights and cameras: target animation channel Should contain position keys only. More...
 
aiVector3D mTargetPosition
 Target position (target lights and cameras) More...
 
aiMatrix4x4 mTransform
 Transformation matrix of the node. More...
 
enum Assimp::ASE::BaseNode::Type mType
 

Detailed Description

Helper structure to represent an ASE light source.

Member Enumeration Documentation

◆ LightType

Enumerator
OMNI 
TARGET 
FREE 
DIRECTIONAL 

Constructor & Destructor Documentation

◆ Light() [1/2]

Assimp::ASE::Light::Light ( )
delete

Default constructor has been deleted.

◆ Light() [2/2]

Assimp::ASE::Light::Light ( const std::string &  name)
inlineexplicit

Construction from an existing name.

Member Data Documentation

◆ mAngle

ai_real Assimp::ASE::Light::mAngle

◆ mColor

aiColor3D Assimp::ASE::Light::mColor

◆ mFalloff

ai_real Assimp::ASE::Light::mFalloff

◆ mIntensity

ai_real Assimp::ASE::Light::mIntensity

◆ mLightType

LightType Assimp::ASE::Light::mLightType

The documentation for this struct was generated from the following file: