Model QML Type
Lets you load a 3D model data. More...
Import Statement: | import QtQuick3D 1.0 |
Inherits: |
Properties
- castsShadows : bool
- edgeTessellation : real
- innerTessellation : real
- isWireframeMode : bool
- materials : List<QtQuick3D::Material>
- receivesShadows : bool
- source : url
- tessellationMode : enumeration
Detailed Description
Property Documentation
castsShadows : bool |
* * * When this property is enabled, the geometry of this model is used in the * when rendering to shadow maps. *
edgeTessellation : real |
* * * This property defines the edge multiplier to the tessellation generator. *
innerTessellation : real |
* * * This property defines the inner multiplier to the tessellation generator. *
isWireframeMode : bool |
* * * When this property is /c true, and the Model::tessellationMode is not * Model::NoTessellation, then a wireframe is displayed to highlight the additional * geometry created by the tessellation generator. *
materials : List<QtQuick3D::Material> |
* * * This property contains a list of materials used to render the provided * geometry. To render anything, there must be at least one material. Normally * there should be one material for each sub-mesh included in the source * geometry. *
receivesShadows : bool |
* * * When this property is enabled, shadows can be cast onto this item. So the * shadow map is applied to this model by the renderer. *
source : url |
* * * This property defines the location of the mesh file containing the geometry * of this Model *
tessellationMode : enumeration |
This property defines what method to use to dynamically generate additional geometry for the model. Tessellation is useful if you are using a displacement map with your geometry, or if you wish to generate a smoother silhouette when zooming in.
Model::NoTessellation
Model::Linear
Model::Phong
Model::NPatch