Qt 3D Extras QML 类型

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

import Qt3D.Extras 2.12
					
ConeGeometry 允许创建 3D 空间锥体
ConeMesh 锥形网格
CuboidGeometry Allows creation of a cuboid in 3D space
CuboidMesh 长方体网格
CylinderGeometry Allows creation of a cylinder in 3D space
CylinderMesh 圆柱体网格
DiffuseSpecularMaterial Default implementation of the phong lighting effect
ExtrudedTextGeometry Allows creation of a 3D text in 3D space
ExtrudedTextMesh A 3D extruded Text mesh
FirstPersonCameraController Allows controlling the scene camera from the first person perspective
ForwardRenderer Default FrameGraph implementation of a forward renderer
GoochMaterial Material that implements the Gooch shading model, popular in CAD and CAM applications
MetalRoughMaterial This material uses an effect with a single render pass approach and performs per fragment lighting. Techniques are provided for OpenGL 3 and OpenGL ES 3
OrbitCameraController Allows controlling the scene camera along orbital path
PerVertexColorMaterial Default implementation for rendering the color properties set for each vertex
PlaneGeometry Allows creation of a plane in 3D space
PlaneMesh A square planar mesh
SkyboxEntity Convenience Entity subclass that can be used to insert a skybox in a 3D scene
SphereGeometry Allows creation of a sphere in 3D space
SphereMesh A spherical mesh
Text2DEntity Allows creation of a 2D text in 3D space
TorusGeometry Allows creation of a torus in 3D space
TorusMesh 环形网格