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

Helper structure representing a 3ds material. More...

Inherited by Assimp::ASE::Material.

Public Member Functions

 Material ()=delete
 Default constructor has been deleted. More...
 
 Material (const Material &other)=default
 
 Material (const std::string &name)
 Constructor with explicit name. More...
 
 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
 
virtual ~Material ()
 

Public Attributes

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 a 3ds material.

Constructor & Destructor Documentation

◆ Material() [1/4]

Assimp::D3DS::Material::Material ( )
delete

Default constructor has been deleted.

◆ Material() [2/4]

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

Constructor with explicit name.

◆ Material() [3/4]

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

◆ Material() [4/4]

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

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

◆ ~Material()

virtual Assimp::D3DS::Material::~Material ( )
inlinevirtual

Reimplemented in Assimp::ASE::Material.

Member Function Documentation

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

Member Data Documentation

◆ mAmbient

aiColor3D Assimp::D3DS::Material::mAmbient

Ambient color of the material.

◆ mBumpHeight

ai_real Assimp::D3DS::Material::mBumpHeight

Scaling factor for the bump values.

◆ mDiffuse

aiColor3D Assimp::D3DS::Material::mDiffuse

Diffuse color of the material.

◆ mEmissive

aiColor3D Assimp::D3DS::Material::mEmissive

Emissive color.

◆ mName

std::string Assimp::D3DS::Material::mName

Name of the material.

◆ mShading

Discreet3DS::shadetype3ds Assimp::D3DS::Material::mShading

Shading type to be used.

◆ mShininessStrength

ai_real Assimp::D3DS::Material::mShininessStrength

Shininess strength, in percent.

◆ mSpecular

aiColor3D Assimp::D3DS::Material::mSpecular

Specular color of the material.

◆ mSpecularExponent

ai_real Assimp::D3DS::Material::mSpecularExponent

Specular exponent.

◆ mTransparency

ai_real Assimp::D3DS::Material::mTransparency

Opacity of the material.

◆ mTwoSided

bool Assimp::D3DS::Material::mTwoSided

True if the material must be rendered from two sides.

◆ sTexAmbient

Texture Assimp::D3DS::Material::sTexAmbient

Ambient texture channel (used by the ASE format)

◆ sTexBump

Texture Assimp::D3DS::Material::sTexBump

Bump texture channel.

◆ sTexDiffuse

Texture Assimp::D3DS::Material::sTexDiffuse

Diffuse texture channel.

◆ sTexEmissive

Texture Assimp::D3DS::Material::sTexEmissive

Emissive texture channel.

◆ sTexOpacity

Texture Assimp::D3DS::Material::sTexOpacity

Opacity texture channel.

◆ sTexReflective

Texture Assimp::D3DS::Material::sTexReflective

Reflective texture channel.

◆ sTexShininess

Texture Assimp::D3DS::Material::sTexShininess

Shininess texture channel.

◆ sTexSpecular

Texture Assimp::D3DS::Material::sTexSpecular

Specular texture channel.


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