question

aa12234aa-2916 avatar image
0 Votes"
aa12234aa-2916 asked XiaopoYang-MSFT commented

I would like to use the Windows Sensor API to acquire gyro sensor data so that the viewpoint of the camera can be moved.

I would like to use the Windows Sensor API to acquire gyro sensor data so that the viewpoint of the camera can be moved.

I'm trying to do the above with Unity, is it possible?
If possible, please tell me how to do it.
Also, if there is another method, please let me know.

windows-10-generalwindows-api
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

XiaopoYang-MSFT avatar image
0 Votes"
XiaopoYang-MSFT answered XiaopoYang-MSFT commented

The Sensor API enables C++ developers to create sensor-based programs by using a set of COM interfaces. The API defines interfaces to perform common sensor programming tasks that include managing sensors by category, type, or ID, managing sensor events, working with individual sensors and sensor collections, and working with sensor data. The Windows SDK includes header files, documentation, samples and tools to help guide software developers on how to use sensors in Windows programs.



· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

According to The Question, DirectShow and IAMCameraControl are able to manipulate camera directly.


0 Votes 0 ·