EmitBurst3D QML Type

선언적 이미터 버스트. 더 보기...

Import Statement: import QtQuick3D.Particles3D
Since: Qt 6.2
Inherits:

QtObject

Inherited By:

DynamicBurst3D

속성

상세 설명

이 요소는 ParticleEmitter3D 에서 파티클 버스트를 정의합니다. 이 버스트는 정적이므로 파티클 시스템이 시작될 때 평가됩니다. 따라서 DynamicBurst3D 보다 더 나은 성능을 제공하며 파티클 시스템 시간 외부에서 버스트가 발생합니다(예: 시스템 시간이 2000ms부터 시작되는 동안 1000ms에 버스트).

참고: EmitBurst3D는 파티클 시스템 시작 시 이미터 프로퍼티(위치, 회전 등)를 사용합니다. 동적 이미터의 경우 DynamicBurst3D 을 대신 사용합니다.

예를 들어 처음에 100개의 파티클을 방출하고 2초에 50개의 파티클을 방출하여 두 버스트 모두 200밀리초가 걸리도록 할 수 있습니다:

ParticleEmitter3D {
    ...
    emitBursts: [
        EmitBurst3D {
            time: 0
            amount: 100
            duration: 200
        },
        EmitBurst3D {
            time: 2000
            amount: 50
            duration: 200
        }
    ]
}

프로퍼티 문서

amount : int

이 속성은 버스트 중에 방출되는 파티클의 양을 정의합니다.

기본값은 0 입니다.


duration : int

이 속성은 버스트의 지속 시간을 정의합니다. 기본값은 0으로, 모든 파티클이 time 의 시작 부분에서 버스트됩니다. 지속 시간을 설정하면 방출되는 파티클은 timetime + duration 사이로 분산됩니다.

예를 들어, 1000~1200밀리초 사이에 400의 방출 속도를 갖도록 설정할 수 있습니다:

EmitBurst3D {
    time: 1000
    amount: 80
    duration: 1200
}

기본값은 0 입니다.


time : int

이 속성은 버스트 방출이 시작되는 시간을 밀리초 단위로 정의합니다.

기본값은 0 입니다.


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