TrailEmitter QML Type
다른 논리 입자에서 논리 입자를 방출합니다. 더 보기...
| Import Statement: | import QtQuick.Particles |
| Inherits: |
속성
- emitHeight : real
- emitRatePerParticle : real
- emitShape : Shape
- emitWidth : real
- follow : string
- velocityFromMovement : real
신호
- emitFollowParticles(Array particles, Particle followed)
상세 설명
이 요소는 다른 논리 입자의 시작 위치를 기준으로 하여 논리 입자를 ParticleSystem 로 방출합니다.
속성 설명
emitHeight : real
emitShape 가 확대/축소되어 표시되는 높이(픽셀 단위). 이 값을 TrailEmitter.ParticleSize로 설정하면, 높이는 현재 추적 중인 파티클의 크기와 동일해집니다.
기본값은 0입니다.
emitRatePerParticle : real
emitShape : Shape
TrailEmitter 의 면적은 추적하는 입자의 면적과 동일하므로, 이 입자가 방출되는 별도의 도형을 지정할 수 있습니다. 이 도형의 너비와 높이는 emitWidth 및 emitHeight 로 지정되며, 추적하는 입자의 위치에 맞춰 중앙에 배치됩니다.
기본 도형은 채움이 적용된 사각형입니다.
emitWidth : real
emitShape 가 확대/축소되는 너비(픽셀 단위). 이 값을 TrailEmitter.ParticleSize로 설정하면, 너비는 추적 중인 입자의 현재 크기가 됩니다.
기본값은 0입니다.
follow : string
이것이 방출하고 있는 논리적 입자의 유형.
velocityFromMovement : real
이 값이 0이 아닌 경우, 이미터의 모든 움직임은 해당 움직임을 기반으로 입자에 추가적인 초기 속도를 부여합니다. 추가되는 벡터는 이미터의 움직임과 동일한 각도를 가지며, 그 크기는 이미터의 움직임 크기에 ‘velocityFromMovement’를 곱한 값이 됩니다.
기본값은 0입니다.
신호 설명서
emitFollowParticles(Array particles, Particle followed)
이 신호는 ‘ followed ’ 파티클에서 파티클이 방출될 때 발생합니다. ‘ particles ’에는 직접 조작할 수 있는 파티클 객체 배열이 포함되어 있습니다.
이 신호 핸들러를 사용하면 emitParticles 신호가 발산되지 않습니다.
참고: 이에 대응하는핸들러는 onEmitFollowParticles 입니다.
© 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.