Qt 3D Extras QML 类型

要导入和使用模块的 QML 类型,使用下列语句:

import Qt3D.Extras 2.0
					
FirstPersonCameraController Allows controlling the scene camera from the first person perspective
OrbitCameraController Allows controlling the scene camera along orbital path
DiffuseMapMaterial Default implementation of the phong lighting effect where the diffuse light component is read from a texture map
DiffuseSpecularMapMaterial Default implementation of the phong lighting effect where the diffuse and specular light components are read from texture maps
GoochMaterial Material that implements the Gooch shading model, popular in CAD and CAM applications
NormalDiffuseMapAlphaMaterial Specialization of NormalDiffuseMapMaterial with alpha coverage and a depth test performed in the rendering pass
NormalDiffuseMapMaterial Default implementation of the phong lighting and bump effect where the diffuse light component is read from a texture map and the normals of the mesh being rendered from a normal texture map
NormalDiffuseSpecularMapMaterial Default implementation of the phong lighting and bump effect where the diffuse and specular light components are read from texture maps and the normals of the mesh being rendered from a normal texture map
PerVertexColorMaterial Default implementation for rendering the color properties set for each vertex
PhongAlphaMaterial Default implementation of the phong lighting effect with alpha
PhongMaterial Default implementation of the phong lighting effect
ExtrudedTextGeometry Allows creation of a 3D text in 3D space
ExtrudedTextMesh A 3D extruded Text mesh
ForwardRenderer Default FrameGraph implementation of a forward renderer
ConeGeometry 允许创建 3D 空间锥体
ConeMesh 锥形网格
CuboidGeometry Allows creation of a cuboid in 3D space
CuboidMesh 长方体网格
CylinderGeometry Allows creation of a cylinder in 3D space
CylinderMesh 圆柱体网格
PlaneGeometry Allows creation of a plane in 3D space
PlaneMesh A square planar mesh
SphereGeometry Allows creation of a sphere in 3D space
SphereMesh A spherical mesh
TorusGeometry Allows creation of a torus in 3D space
TorusMesh 环形网格