TargetDirection3D QML Type
목표 위치를 향한 방향을 지정합니다. 더 보기...
Import Statement: | import QtQuick3D.Particles3D |
Since: | Qt 6.2 |
Inherits: |
속성
- magnitude : real
- magnitudeVariation : real
- normalized : bool
- position : vector3d
- positionVariation : vector3d
상세 설명
이 요소는 목표 위치를 향해 방출되는 파티클 속도를 설정합니다.
예를 들어, 10..20 사이의 임의의 크기로 (100, 0, 0) 위치로 파티클을 방출합니다:
ParticleEmitter3D { ... velocity: TargetDirection3D { position: Qt.vector3d(100, 0, 0) normalized: true magnitude: 15.0 magnitudeVariation: 5.0 } }
프로퍼티 문서
magnitude : real |
이 프로퍼티는 초당 위치 변화의 크기를 정의합니다. 크기가 음수이면 position 과 반대 방향으로 가속됩니다. normalized 이 거짓이면 여기에 목표 위치까지의 거리를 곱합니다.
기본값은 1.0
입니다.
magnitudeVariation도 참조하세요 .
magnitudeVariation : real |
이 속성은 초당 위치 변화의 크기 변화를 정의합니다. normalized 이 거짓이면 이 값에 목표 위치까지의 거리가 곱해집니다.
기본값은 0.0
입니다.
magnitude도 참조하세요 .
normalized : bool |
이 속성은 position 까지의 거리를 정규화된 거리로 간주할지 여부를 정의합니다. false로 설정하면 position 까지의 거리가 파티클 속도의 크기에 영향을 줍니다. true로 설정하면 거리가 정규화되고 속도 양은 magnitude 및 magnitudeVariation 에서만 가져옵니다.
기본값은 false
입니다.
magnitude 및 magnitudeVariation 을참조하십시오 .
position : vector3d |
positionVariation : vector3d |
© 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.