|
AsImpL 1.0
Asynchronous Importer and run-time Loader for Unity
|
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 |
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.
| Color AsImpL.MaterialData.ambientColor |
| Texture2D AsImpL.MaterialData.bumpTex |
| string AsImpL.MaterialData.bumpTexPath |
| Color AsImpL.MaterialData.diffuseColor |
| Texture2D AsImpL.MaterialData.diffuseTex |
| string AsImpL.MaterialData.diffuseTexPath |
| Color AsImpL.MaterialData.emissiveColor |
| bool AsImpL.MaterialData.hasReflectionTex = false |
| int AsImpL.MaterialData.illumType = 0 |
| string AsImpL.MaterialData.materialName |
| Texture2D AsImpL.MaterialData.opacityTex |
| string AsImpL.MaterialData.opacityTexPath |
| float AsImpL.MaterialData.overallAlpha = 1.0f |
| float AsImpL.MaterialData.shininess = 0.0f |
| Color AsImpL.MaterialData.specularColor |
| Texture2D AsImpL.MaterialData.specularTex |
| string AsImpL.MaterialData.specularTexPath |