DynamicBurst3D QML Type
다이내믹 이미터 버스트. 더 보기...
Import Statement: | import QtQuick3D.Particles3D |
Since: | Qt 6.3 |
Inherits: |
속성
- TriggerMode : enumeration
- amountVariation : int
- enabled : bool
- triggerMode : ShapeType
상세 설명
이 요소는 ParticleEmitter3D 에서 파티클 버스트를 정의합니다. 이러한 버스트는 동적이기 때문에 파티클 시스템이 실행되는 동안 평가됩니다. 예를 들어 이미터가 움직일 때 정확한 위치에서 방출이 일어나도록 EmitBurst3D 대신 이 요소를 사용합니다.
예를 들어 1초마다 100개의 파티클을 방출하고 2초마다 200개의 파티클을 방출하는 것입니다:
ParticleEmitter3D { ... emitBursts: [ DynamicBurst3D { time: 1000 amount: 100 }, DynamicBurst3D { time: 2000 amount: 200 } ] }
속성 문서
TriggerMode : enumeration |
버스팅 모드를 정의합니다.
Constant | 설명 |
---|---|
DynamicBurst3D.TriggerTime | 버스트( time )가 만료될 때 파티클이 방출됩니다. |
DynamicBurst3D.TriggerStart | 다음 파티클이 방출될 때 파티클이 방출됩니다. |
참고: 이 프로퍼티는 트레일 이미터에서만 작동하도록 제한됩니다.
참고: 이 모드에서는 time
및 duration
속성이 적용되지 않습니다.
Constant | 설명 |
---|---|
DynamicBurst3D.TriggerEnd | 뒤따르는 파티클 lifeSpan 이 끝날 때 파티클이 방출됩니다. |
참고: 이 프로퍼티는 트레일 이미터에서만 작동하도록 제한됩니다.
참고: 이 모드에서는 time
및 duration
프로퍼티는 영향을 미치지 않습니다.
amountVariation : int |
이 프로퍼티는 파티클 방출량의 무작위 변화를 정의합니다.
예를 들어, 0에서 10 사이의 임의 범위를 갖기 위해
DynamicBurst3D { time: 1000 amount: 5 amountVariation: 5 }
기본값은 0
입니다.
enabled : bool |
활성화가 false
로 설정된 경우 이 버스트는 파티클을 방출하지 않습니다.
기본값은 true
입니다.
triggerMode : ShapeType |
이 속성은 방출 모드를 정의합니다.
기본값은 TriggerMode.TriggerTime
입니다.
© 2025 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.