AxisAccumulator QML Type
Qt3DInput::QAxisAccumulator C++ 클래스를 위한 QML 프론트엔드. 더 보기...
| Import Statement: | import Qt3D.Input 2.12 |
| In C++: | QAxisAccumulator |
| Status: | Deprecated |
이 유형은 더 이상 사용되지 않습니다. 새로운 코드에서는 이 유형을 사용하지 않는 것이 좋습니다.
속성
- sourceAxis : Axis
- sourceAxisType : SourceAxisType
- value : real
상세 설명
Axis는 입력 장치의 축 현재 위치를 보고합니다. 축이 중립 위치로 돌아오면 해당 축의 값은 0으로 돌아갑니다. 종종 축의 입력값을 다른 방식으로 변수를 제어하는 데 사용해야 할 필요가 있는데, 예를 들어 축의 값을 속도(시간에 대한 1차 미분)나 가속도(시간에 대한 2차 미분)로 처리하는 경우입니다. 이는 사용자 코드나 FrameAction 를 사용하여 수행할 수 있지만, 이러한 접근 방식은 메인 스레드에 추가적인 부하를 주고 본질적으로 명령형(imperative)이기 때문에 이상적이지 않습니다. AxisAccumulator 클래스를 사용하면 이 일반적인 작업을 Qt 3D 백엔드에서 수행하고 선언적인 방식으로 지정할 수 있습니다.
속성 문서
sourceAxis : Axis
어큐뮬레이터가 축 값을 적분해야 하는 축입니다.
sourceAxisType : SourceAxisType
sourceAxisType 속성은 누적기가 소스 축의 값을 어떻게 처리할지 지정합니다.
value : real [read-only]
누적 시 축 값을 조정할 배율입니다. 이는 해당 축이 제어할 수 있는 최대 속도 또는 가속도로 볼 수 있습니다.
© 2026 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.