Anodized aluminum material. 更多...
| import 语句: | import QtQuick3D.Materials 1.15 |
The anodized aluminum material has the following properties:
| 特性名称 | 特性类型 | 描述 |
|---|---|---|
| uEnvironmentMappingEnabled | bool |
Does the material use an environment map. Default is
true
.
|
| uShadowMappingEnabled | bool |
Does the material use a baked shadow map. Default is
false
.
|
| roughness | real |
Roughness of the material. Range is
[0, 1]
,采用
0
being totally reflective. Default is
0.3
.
|
| base_color | vector3d |
Base color of the material. Default is
Qt.vector3d(0.7, 0.7, 0.7)
.
|
| uEnvironmentTexture | TextureInput |
The environment texture map. Enabled when
uEnvironmentMappingEnabled
is
true
. Default is a
Texture
with source
"maps/spherical_checker.png"
.
|
| uBakedShadowTexture | TextureInput |
The baked shadow texture map. Enabled when
uShadowMappingEnabled
is
true
. Default is a
Texture
with source
"maps/shadow.png"
.
|