KeyframeAnimation QML Type

트랜스폼에 간단한 키프레임 애니메이션을 구현하는 유형입니다. 더 보기...

Import Statement: import Qt3D.Animation 2.8
In C++: QKeyframeAnimation
Inherits:

AbstractAnimation

Status: Deprecated

속성

상세 설명

키프레임애니메이션 유형은 Transform 애니메이션에 사용할 수 있는 간단한 키프레임 애니메이션을 구현합니다. 키프레임은 여러 시간의 Qt3D.Core::Transform초로 구성되며, 이 시간들은 보간되어 대상 트랜스폼에 적용됩니다. 키프레임 사이에 EasingCurve를 사용하여 보간기를 제어합니다. 반복 모드는 키프레임 애니메이션에 설정된 위치가 키프레임 위치에 정의된 값보다 작거나 클 때 설정할 수 있습니다.

프로퍼티 문서

easing : EasingCurve

키프레임 사이의 보간기의 완화 곡선을 유지합니다.


endMode : enumeration

마지막 프레임 위치보다 큰 위치 값에 대한 반복 모드를 유지합니다.

  • None
  • Constant
  • 반복

framePositions : list<real>

키프레임의 위치를 유지합니다. 목록의 각 위치는 해당 키프레임의 위치를 지정합니다. 값은 오름차순이어야 합니다. 값은 양수 또는 음수일 수 있으며 미리 정의된 단위가 없습니다.


keyframes : list<Transform>

키프레임 애니메이션의 키프레임 목록을 유지합니다.


startMode : enumeration

첫 번째 프레임 위치보다 작은 위치 값에 대한 반복 모드를 유지합니다.

  • None
  • Constant
  • 반복

target : Transform

애니메이션이 적용되는 대상 트랜스폼을 유지합니다.


targetName : string

대상 트랜스폼의 이름을 유지합니다. 이는 대상 트랜스폼을 키프레임 애니메이션에 쉽게 일치시킬 수 있는 편의 속성입니다. 이름은 일반적으로 대상 트랜스폼의 상위 엔티티 이름과 동일하지만, 반드시 동일할 필요는 없습니다.


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