Component: Orientation ( Data)

From Flowcode Help
Revision as of 08:58, 27 April 2026 by Wiki bot (talk | contribs) (Created page with "{| style="width:50%" |- | width="20%" style="color:gray;" | Author | MatrixTSL |- | width="20%" style="color:gray;" | Version | 1.0 |- | width="20%" style="color:gray;...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
Author MatrixTSL
Version 1.0
Category Data


Orientation component

Component that provides orientation data for the mobile device using its internal magnetometer

Version information

Library Version, Component Version, Date, Author, Info
1, 1.0, 24-04-26, ST, Created


Detailed description

No detailed description exists yet for this component

Examples

No additional examples


Macro reference

GetAlpha

Fc9-comp-macro.png GetAlpha
Returns rotation around the z-axis, i.e. twisted anticlockwise around the centre of the screen (in degrees between 0 and 360) 
Fc9-f32-icon.png - FLOAT Return


GetBeta

Fc9-comp-macro.png GetBeta
Returns rotation around the x-axis, i.e. tilted forwards/backwards (in degrees between -180 and 180) 
Fc9-f32-icon.png - FLOAT Return


GetGamma

Fc9-comp-macro.png GetGamma
Returns rotation around the y-axis, i.e. tilted left/right (in degrees between -90 and 90) 
Fc9-f32-icon.png - FLOAT Return


Initialise

Fc9-comp-macro.png Initialise
Begins monitoring of the device's orientation information. Returns true if the device can provide orientation information. 
Fc9-bool-icon.png - BOOL Return


IsAbsolute

Fc9-comp-macro.png IsAbsolute
Returns true if the device is providing absolute orientation information. Absolute data will be in reference to the Earth's coordinate frame. 
Fc9-bool-icon.png - BOOL Return


Property reference

Fc9-prop-icon.png Properties
Fc9-type-7-icon.png Use Callback
Set true to use a callback that retrieves regular updates of the device orientation 

Component Source Code

Please click here to download the component source project: FC_Comp_Source_WEBEXP_Orientation.fcsx

Please click here to view the component source code (Beta): FC_Comp_Source_WEBEXP_Orientation.fcsx