Material QML Type
Lets you define material for the 3D item. More...
Import Statement: | import QtQuick3D 1.0 |
Inherits: | |
Inherited By: |
Properties
- cullMode : enumeration
- lightProbe : Texture
- lightmapIndirect : Texture
- lightmapRadiosity : Texture
- lightmapShadow : Texture
Detailed Description
Property Documentation
cullMode : enumeration |
This property defines whether culling is enabled and which mode is actually enabled.
FrontFace means polygons' winding is clockwise in window coordinates and BackFace means otherwise.
Constant | Description |
---|---|
Material.BackFaceCulling | Default; Backface will not be rendered. |
Material.FrontFaceCulling | Frontface will not be rendered. |
Material.NoCulling | Both faces will be rendered. |
lightProbe : Texture |
This property defines a Texture for overriding or setting an image based lighting Texture for use with this material.
See also SceneEnvironment::lightProbe.
lightmapIndirect : Texture |
This property defines a baked lightmap Texture containing indirect lighting information for this material.
Note: This feature is still in development so there is currently no way to bake lights. The texture currently still uses the UV1 coordinates which is going to change later to UV2.
lightmapRadiosity : Texture |
This property defines a baked lightmap Texture containing direct lighting information for this material.
Note: This feature is still in development so there is currently no way to bake lights. The texture currently still uses the UV1 coordinates which is going to change later to UV2.
lightmapShadow : Texture |
This property defines a baked lightmap Texture containing shadowing information for this material.
Note: This feature is still in development so there is currently no way to bake lights. The texture currently still uses the UV1 coordinates which is going to change later to UV2.