TrailEmitter QML Type

다른 논리 파티클에서 논리 파티클을 방출합니다. 더 보기...

Import Statement: import QtQuick.Particles

속성

신호

상세 설명

이 엘리먼트는 다른 논리 파티클의 시작 위치를 기준으로 하여 ParticleSystem 로 논리 파티클을 방출합니다.

프로퍼티 문서

emitHeight : real

emitShape 의 크기를 조정할 픽셀 단위의 높이입니다. TrailEmitter .ParticleSize로 설정하면 높이는 따라가는 파티클의 현재 크기가 됩니다.

기본값은 0입니다.


emitRatePerParticle : real


emitShape : Shape

TrailEmitter 의 면적은 따라가는 영역이므로 별도의 모양을 제공하여 방출되는 모양으로 지정할 수 있습니다. 이 도형은 emitWidthemitHeight 로 지정된 너비와 높이를 가지며, 팔로우하는 파티클의 위치를 중심으로 합니다.

기본 모양은 채워진 직사각형입니다.


emitWidth : real

emitShape 의 너비는 픽셀 단위로 스케일링됩니다. TrailEmitter .ParticleSize로 설정하면 너비는 팔로우 중인 파티클의 현재 크기가 됩니다.

기본값은 0입니다.


follow : string

이 파티클이 방출되는 논리 파티클의 유형입니다.


velocityFromMovement : real

이 값이 0이 아닌 경우 이미터의 모든 움직임은 움직임에 따라 파티클에 추가 시작 속도를 제공합니다. 추가 벡터는 이미터의 움직임과 같은 각도로, 이미터 움직임의 크기에 velocityFromMovement를 곱한 값이 됩니다.

기본값은 0입니다.


신호 문서

emitFollowParticles(Array particles, Particle followed)

이 신호는 followed 파티클에서 파티클이 방출될 때 방출됩니다. particles 에는 직접 조작할 수 있는 파티클 오브젝트 배열이 포함되어 있습니다.

이 신호 핸들러를 사용하면 emitParticles가 방출되지 않습니다.

참고: 해당 핸들러는 onEmitFollowParticles 입니다.


© 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.