ParticleCustomShape3D QML Type

이미터와 이펙터에 대한 커스텀 파티클 모양을 로드합니다. 더 보기...

Import Statement: import QtQuick3D.Particles3D
Since: Qt 6.3

프로퍼티

상세 설명

ParticleCustomShape3D 요소는 커스텀 파티클 모양을 로드하는 데 사용할 수 있습니다.

예를 들어, heart.cbor에 정의된 위치에서 파티클을 방출하는 데 사용할 수 있습니다:

ParticleEmitter3D {
    shape: ParticleCustomShape3D {
        source: "heart.cbor"
    }
    ...
}

CBOR 셰이프 파일의 형식은 다음과 같습니다:

[
  "QQ3D_SHAPE", // string
  version, // integer
  [
    posX, // float
    posY, // float
    posZ, // float
    posX, // float
    ...
  ]
]

이러한 셰이프 파일을 생성하는 데 도움을 받으려면 셰이프젠 툴을 사용할 수 있습니다.

속성 문서

randomizeData : bool

이 속성은 파티클이 소스에 지정된 순서가 아닌 임의의 순서로 사용되는지 여부를 나타냅니다.

기본값은 false 입니다.


source : url

이 속성은 셰이프 파일의 위치를 저장합니다.


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