AsImpL 1.0
Asynchronous Importer and run-time Loader for Unity
AsImpL.MaterialData Class Reference

Material data More...

Public Attributes

string materialName
 
Color ambientColor
 
Color diffuseColor
 
Color specularColor
 
Color emissiveColor
 
float shininess = 0.0f
 
float overallAlpha = 1.0f
 
int illumType = 0
 
bool hasReflectionTex = false
 
string diffuseTexPath
 
Texture2D diffuseTex
 
string bumpTexPath
 
Texture2D bumpTex
 
string specularTexPath
 
Texture2D specularTex
 
string opacityTexPath
 
Texture2D opacityTex
 

Detailed Description

Material data

This should be completed and extended to support more formats.

TODO: fields to store more information should be defined. TODO: texture mapping data should be defined a separare structure and stored here in a list.

Member Data Documentation

◆ ambientColor

Color AsImpL.MaterialData.ambientColor

◆ bumpTex

Texture2D AsImpL.MaterialData.bumpTex

◆ bumpTexPath

string AsImpL.MaterialData.bumpTexPath

◆ diffuseColor

Color AsImpL.MaterialData.diffuseColor

◆ diffuseTex

Texture2D AsImpL.MaterialData.diffuseTex

◆ diffuseTexPath

string AsImpL.MaterialData.diffuseTexPath

◆ emissiveColor

Color AsImpL.MaterialData.emissiveColor

◆ hasReflectionTex

bool AsImpL.MaterialData.hasReflectionTex = false

◆ illumType

int AsImpL.MaterialData.illumType = 0

◆ materialName

string AsImpL.MaterialData.materialName

◆ opacityTex

Texture2D AsImpL.MaterialData.opacityTex

◆ opacityTexPath

string AsImpL.MaterialData.opacityTexPath

◆ overallAlpha

float AsImpL.MaterialData.overallAlpha = 1.0f

◆ shininess

float AsImpL.MaterialData.shininess = 0.0f

◆ specularColor

Color AsImpL.MaterialData.specularColor

◆ specularTex

Texture2D AsImpL.MaterialData.specularTex

◆ specularTexPath

string AsImpL.MaterialData.specularTexPath

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