VectorDirection3D QML Type
목표 방향에 대한 방향을 지정합니다. 더 보기...
Import Statement: | import QtQuick3D.Particles3D |
Since: | Qt 6.2 |
Inherits: |
속성
- direction : vector3d
- directionVariation : vector3d
- normalized : bool
상세 설명
이 요소는 목표 방향 벡터를 향한 방출된 파티클 속도를 설정합니다. 방향 벡터의 길이가 속도 크기로 사용됩니다.
예를 들어, 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 |
directionVariation : vector3d |
normalized : bool |
이 프로퍼티는 베리에이션을 적용한 후 방향을 정규화할지 여부를 정의합니다. false로 설정하면 변동이 파티클 속도의 크기에 영향을 줍니다. true로 설정하면 변동이 방향에 영향을 주지만 크기는 원래 방향 길이에 따라 결정됩니다.
기본값은 false
입니다.
© 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.