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

Helper structure representing an ASE material. More...

Inherits Assimp::D3DS::Material.

Public Member Functions

 Material ()=delete
 Default constructor has been deleted. More...
 
 Material (const std::string &name)
 Constructor with explicit name. More...
 
 Material (const Material &other)=default
 
 Material (Material &&other) AI_NO_EXCEPT
 Move constructor. This is explicitly written because MSVC doesn't support defaulting it. More...
 
Materialoperator= (const Material &other)=default
 
Materialoperator= (Material &&other) AI_NO_EXCEPT
 
 ~Material ()
 
- Public Member Functions inherited from Assimp::D3DS::Material
 Material ()=delete
 Default constructor has been deleted. More...
 
 Material (const std::string &name)
 Constructor with explicit name. More...
 
 Material (const Material &other)=default
 
 Material (Material &&other) AI_NO_EXCEPT
 Move constructor. This is explicitly written because MSVC doesn't support defaulting it. More...
 
Materialoperator= (const Material &other)=default
 
Materialoperator= (Material &&other) AI_NO_EXCEPT
 

Public Attributes

std::vector< MaterialavSubMaterials
 Contains all sub materials of this material. More...
 
bool bNeed
 Can we remove this material? More...
 
aiMaterialpcInstance
 aiMaterial object More...
 
- Public Attributes inherited from Assimp::D3DS::Material
aiColor3D mAmbient
 Ambient color of the material. More...
 
ai_real mBumpHeight
 Scaling factor for the bump values. More...
 
aiColor3D mDiffuse
 Diffuse color of the material. More...
 
aiColor3D mEmissive
 Emissive color. More...
 
std::string mName
 Name of the material. More...
 
Discreet3DS::shadetype3ds mShading
 Shading type to be used. More...
 
ai_real mShininessStrength
 Shininess strength, in percent. More...
 
aiColor3D mSpecular
 Specular color of the material. More...
 
ai_real mSpecularExponent
 Specular exponent. More...
 
ai_real mTransparency
 Opacity of the material. More...
 
bool mTwoSided
 True if the material must be rendered from two sides. More...
 
Texture sTexAmbient
 Ambient texture channel (used by the ASE format) More...
 
Texture sTexBump
 Bump texture channel. More...
 
Texture sTexDiffuse
 Diffuse texture channel. More...
 
Texture sTexEmissive
 Emissive texture channel. More...
 
Texture sTexOpacity
 Opacity texture channel. More...
 
Texture sTexReflective
 Reflective texture channel. More...
 
Texture sTexShininess
 Shininess texture channel. More...
 
Texture sTexSpecular
 Specular texture channel. More...
 

Detailed Description

Helper structure representing an ASE material.

Constructor & Destructor Documentation

◆ Material() [1/4]

Assimp::ASE::Material::Material ( )
delete

Default constructor has been deleted.

◆ Material() [2/4]

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

Constructor with explicit name.

◆ Material() [3/4]

Assimp::ASE::Material::Material ( const Material other)
default

◆ Material() [4/4]

Assimp::ASE::Material::Material ( Material &&  other)
inline

Move constructor. This is explicitly written because MSVC doesn't support defaulting it.

◆ ~Material()

Assimp::ASE::Material::~Material ( )
inlinevirtual

Reimplemented from Assimp::D3DS::Material.

Member Function Documentation

◆ operator=() [1/2]

Material& Assimp::ASE::Material::operator= ( const Material other)
default

◆ operator=() [2/2]

Material& Assimp::ASE::Material::operator= ( Material &&  other)
inline

Member Data Documentation

◆ avSubMaterials

std::vector<Material> Assimp::ASE::Material::avSubMaterials

Contains all sub materials of this material.

◆ bNeed

bool Assimp::ASE::Material::bNeed

Can we remove this material?

◆ pcInstance

aiMaterial* Assimp::ASE::Material::pcInstance

aiMaterial object


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