AxisAccumulator QML Type

Qt3DInput::QAxisAccumulator C++ 클래스를 위한 QML 프론트엔드. 더 보기...

Import Statement: import Qt3D.Input 2.8
In C++: QAxisAccumulator
Status: Deprecated

속성

상세 설명

축은 입력 장치에서 축의 현재 위치를 보고합니다. 축이 중립 위치로 반환되면 해당 축의 값은 0으로 돌아갑니다. 종종 축의 값을 속도(시간에 대한 첫 번째 미분) 또는 가속도(시간에 대한 두 번째 미분)로 처리하는 등 축의 입력이 다른 방식으로 변수를 제어해야 할 때가 있습니다. 이는 사용자 코드 또는 FrameAction 을 사용하여 수행할 수 있지만 이러한 접근 방식은 메인 스레드에 더 많은 작업을 추가하고 본질적으로 필수적이기 때문에 이상적이지 않습니다. 축척기 클래스를 사용하면 Qt 3D 백엔드에서 이 일반적인 작업을 수행할 수 있으며 선언적 방식으로 지정할 수 있습니다.

속성 문서

sourceAxis : Axis

축 - 누산기가 축 값을 통합할 축입니다.


sourceAxisType : SourceAxisType

sourceAxisType 프로퍼티는 누적기가 소스 축의 값을 처리하는 방법을 지정합니다.


value : real [read-only]

누적할 때 축 값의 배율을 조정할 양입니다. 이는 축이 제어할 수 있는 최대 속도 또는 가속도라고 생각할 수 있습니다.


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