nwn-lib-d ~master (2021-09-04T14:13:39Z)
Dub
Repo
GenericMesh.Material
nwn
trn
genericmesh
GenericMesh
Undocumented in source.
struct
GenericMesh
static
struct
Material {
float
[
3
]
ambientColor
;
string
ambientTexture
;
float
[
3
]
diffuseColor
;
string
diffuseTexture
;
float
[
3
]
specularColor
;
string
specularTexture
;
float
specularWeight
;
float
transparency
;
string
bumpTexture
;
string
dispTexture
;
string
decalTexture
;
enum
Illumniation
;
Illumniation
illumination
;
}
Members
Enums
Illumniation
enum
Illumniation
Undocumented in source.
Variables
ambientColor
float
[
3
]
ambientColor
;
Ka
ambientTexture
string
ambientTexture
;
map_Ka
bumpTexture
string
bumpTexture
;
bump
decalTexture
string
decalTexture
;
decal
diffuseColor
float
[
3
]
diffuseColor
;
Kd
diffuseTexture
string
diffuseTexture
;
map_Kd
dispTexture
string
dispTexture
;
disp
illumination
Illumniation
illumination
;
illum
specularColor
float
[
3
]
specularColor
;
Ks
specularTexture
string
specularTexture
;
map_Ks
specularWeight
float
specularWeight
;
Ns
transparency
float
transparency
;
Tr ; 0 = opaque
Meta
Source
See Implementation
nwn
trn
genericmesh
GenericMesh
functions
dup
polygonCut
removeUnusedVertices
shuffle
toObj
triangulatePolygon
validate
static functions
fromObj
structs
Material
Triangle
variables
lines
materials
triangles
vertices