Stay organized with collections
Save and categorize content based on your preferences.
Paddleboat_Motion_Data
#include <paddleboat.h>
A structure that contains motion data reported by a controller.
Summary
Public attributes
|
motionType
|
The type of motion event data.
|
motionX
|
float
Motion X axis data.
|
motionY
|
float
Motion Y axis data.
|
motionZ
|
float
Motion Z axis data.
|
timestamp
|
uint64_t
Timestamp of when the motion data event occurred, timestamp is nanoseconds elapsed since clock epoch.
|
Public attributes
motionX
float Paddleboat_Motion_Data::motionX
motionY
float Paddleboat_Motion_Data::motionY
motionZ
float Paddleboat_Motion_Data::motionZ
timestamp
uint64_t Paddleboat_Motion_Data::timestamp
Timestamp of when the motion data event occurred, timestamp is nanoseconds elapsed since clock epoch.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2023-03-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-03-10 UTC."],[],[],null,["# Paddleboat_Motion_Data Struct Reference\n\nPaddleboat_Motion_Data\n======================\n\n`#include \u003cpaddleboat.h\u003e`\n\nA structure that contains motion data reported by a controller.\n\nSummary\n-------\n\n| ### Public attributes ||\n|-------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [motionType](#struct_paddleboat___motion___data_1a79fd1ca7698bc85525f7b6a29d304c7d) | [Paddleboat_Motion_Type](/reference/games/game-controller/group/paddleboat#group__paddleboat_1gabd0cfc0f4ef78f419f69d9409c74960a) The type of motion event data. |\n| [motionX](#struct_paddleboat___motion___data_1a0cb00d25f7380e111db8d664ea5d888d) | `float` Motion X axis data. |\n| [motionY](#struct_paddleboat___motion___data_1a6704e92ede7e13de80569f21063d78e7) | `float` Motion Y axis data. |\n| [motionZ](#struct_paddleboat___motion___data_1a23206909ac26f1b7edc2db084d09d82b) | `float` Motion Z axis data. |\n| [timestamp](#struct_paddleboat___motion___data_1ae9ca2f193bea71d4a39955a68eab61eb) | `uint64_t` Timestamp of when the motion data event occurred, timestamp is nanoseconds elapsed since clock epoch. |\n\nPublic attributes\n-----------------\n\n### motionType\n\n```scdoc\nPaddleboat_Motion_Type Paddleboat_Motion_Data::motionType\n``` \nThe type of motion event data. \n\n### motionX\n\n```scdoc\nfloat Paddleboat_Motion_Data::motionX\n``` \nMotion X axis data. \n\n### motionY\n\n```scdoc\nfloat Paddleboat_Motion_Data::motionY\n``` \nMotion Y axis data. \n\n### motionZ\n\n```scdoc\nfloat Paddleboat_Motion_Data::motionZ\n``` \nMotion Z axis data. \n\n### timestamp\n\n```scdoc\nuint64_t Paddleboat_Motion_Data::timestamp\n``` \nTimestamp of when the motion data event occurred, timestamp is nanoseconds elapsed since clock epoch."]]