이 페이지에서

VectorDirection3D QML Type

목표 방향을 지정하기 위한 것입니다. 더 보기...

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

Direction3D

속성

상세 설명

이 요소는 방출되는 입자의 속도를 대상 방향 벡터 쪽으로 설정합니다. 방향 벡터의 길이는 속도의 크기로 사용됩니다.

예를 들어, x: 50..150, y: -20..20, z: 0 범위 내의 임의의 방향으로 입자를 방출하려면:

ParticleEmitter3D {
    ...
    velocity: VectorDirection3D {
        direction: Qt.vector3d(100, 0, 0)
        directionVariation: Qt.vector3d(50, 20, 0)
    }
}

속성 설명

direction : vector3d

이 속성은 파티클의 이동 방향을 정의합니다.

기본값은 (0, 100, 0) (y축을 따라 위쪽)입니다.

directionVariation항목도 참조하십시오 .

directionVariation : vector3d

이 속성은 입자 타깃의 방향 변동을 정의합니다.

기본값은 ‘ (0, 0, 0) ’(변화 없음)입니다.

direction항목도 참조하십시오 .

normalized : bool

이 속성은 변형을 적용한 후 방향을 정규화할지 여부를 정의합니다. 이 값이 false인 경우, 변형은 입자 속도의 크기에 영향을 미칩니다. true로 설정하면 변형은 방향에 영향을 미치지만, 크기는 원래 방향의 길이에 따라 결정됩니다.

기본값은 ` false`입니다.

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