ParticleModelShape3D QML Type
이미터 및 어펙터에 대해 모델에서 파편 형상을 제공합니다. 더 보기...
| Import Statement: | import QtQuick3D.Particles3D |
| Since: | Qt 6.2 |
| Inherits: |
속성
상세 설명
ParticleModelShape3D 요소를 사용하면 3D 모델에서 파티클 모양을 가져올 수 있습니다.
예를 들어, 모델 도형의 윤곽선에서 파티클을 방출하려면:
Component {
id: suzanneComponent
Model {
source: "meshes/suzanne.mesh"
scale: Qt.vector3d(100, 100, 100)
}
}
ParticleEmitter3D {
shape: ParticleModelShape3D {
model: suzanneComponent
fill: false
}
...
}속성 설명
delegate : Component
이 델리게이트는 ‘ ParticleModelShape3D ’의 모델을 정의하는 템플릿을 제공합니다. 예를 들어, 기본 재질이 적용된 기본 구체 모델을 사용하는 경우
Component {
id: modelComponent
Model {
source: "#Sphere"
scale: Qt.vector3d(0.5, 0.5, 0.5)
materials: DefaultMaterial { diffuseColor: "red" }
}
}
ParticleModelShape3D {
delegate: modelComponent
}fill : bool
이 속성은 도형을 채울지, 아니면 도형의 윤곽선만 사용할지를 정의합니다.
기본값은 ' true'입니다.
© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.