GlassMaterial QML Type
Glass material. More...
| Import Statement: | import QtQuick3D.Materials 1.15 | 
Detailed Description

The glass material has the following properties:
| Property Name | Property Type | Description | 
|---|---|---|
| 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. | 
| uFresnelPower | real | Fresnel power of the material. Default is 1.0. | 
| uMinOpacity | real | Minimum opacity of the material. Useful range is [0, 1]. Default is0.5. | 
| reflectivity_amount | real | Reflectivity of the material. Range is [0, 1], with1being totally reflective. Default is1. | 
| glass_ior | real | Index of refraction for the material. Sensible range for different types of glass is [1.4, 2.1]. Default is1.5. | 
| glass_color | vector3d | Base color of the material. Default is Qt.vector3d(0.6, 0.6, 0.6). | 
| uEnvironmentTexture | TextureInput | The environment texture map. Enabled when uEnvironmentMappingEnabledistrue. Default is a Texture with source"maps/spherical_checker.png". | 
| uBakedShadowTexture | TextureInput | The baked shadow texture map. Enabled when uShadowMappingEnabledistrue. Default is a Texture with source"maps/shadow.png". |