Office paper material. 更多...
import 语句: | import QtQuick3D.Materials 1.15 |
The office paper material has the following properties:
特性名称 | 特性类型 | 描述 |
---|---|---|
uShadowMappingEnabled | bool |
Does the material use a baked shadow map. Default is
false
.
|
bump_amount | real |
Strength of the bumpiness. Default is
0.5
.
|
uTranslucentFalloff | real |
Falloff of the translucency of the material. Default is
0
.
|
uDiffuseLightWrap | real |
Diffuse light bend of the material. Range is
[0, 1]
。默认为
0
.
|
uOpacity | real |
Opacity of the material. Range is
[0, 100]
。默认为
100
.
|
transmission_weight | real |
Value determining transmission. Default is
0.2
.
|
reflection_weight | real |
Value determining reflection. Default is
0.8
.
|
texture_tiling | vector2d |
Tiling repeat of the texture maps. Default is
Qt.vector2d(1, 1)
.
|
paper_color | vector3d |
Base color of the material. Default is
Qt.vector3d(0.531, 0.531, 0.531)
.
|
uBakedShadowTexture | TextureInput |
The baked shadow texture map. Enabled when
uShadowMappingEnabled
is
true
. Default is a
Texture
with source
"maps/shadow.png"
.
|
diffuse_texture | TextureInput |
The diffuse texture map. Default is a
Texture
with source
"maps/paper_diffuse.png"
.
|
bump_texture | TextureInput |
The bump texture map. Default is a
Texture
with source
"maps/paper_diffuse.png"
.
|
transmission_texture | TextureInput |
The transmission texture map. Default is a
Texture
with source
"maps/paper_trans.png"
.
|