Model QML Type
Lets you load a 3D model data. More...
Import Statement: | import QtQuick3D 1.0 |
Inherits: |
Properties
- castsShadows : bool
- edgeInner : real
- edgeTess : real
- isWireframeMode : bool
- materials : List<QtQuick3D::Material>
- receivesShadows : bool
- skeletonRoot : int
- source : url
- tesselationMode : 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. *
edgeInner : real |
* * * This property defines the inner multiplier to the tesselation generator. *
edgeTess : real |
* * * This property defines the edge multiplier to the tesselation generator. *
isWireframeMode : bool |
* * * When this property is /c true, and the Model::tesselationMode is not * Model::NoTess, then a wireframe is displayed to highlight the additional * geometry created by the tesselation 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. *
skeletonRoot : int |
* * * This property defines the root bone ID for this Models skeleton. * *
Note: Skeletal animations are not yet available, so this property does * nothing
source : url |
* * * This property defines the location of the mesh file containing the geometry * of this Model *
tesselationMode : 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::NoTess
Model::TessLinear
Model::TessPhong
Model::TessNPatch