SlamFlexWrapper implements interface to native implementation and public interface for use inside C# and JS code
More...
|
| delegate void | SendStringDelegate (string s) |
| | Definition of delegate used from plugin to send string to Unity3D More...
|
| |
| delegate void | SendPoseDelegate (float r1, float r2, float r3, double t1, double t2, double t3) |
| | Definition of delegate used from plugin to send pose to Unity3D More...
|
| |
| delegate void | SendLogDelegate (string text) |
| | Definition of delegate used from plugin to send log to Unity3D More...
|
| |
| delegate void | SendArrayPointsDelegate (IntPtr pointer, int size) |
| | Definition of delegate used from plugin to send array of points to Unity3D More...
|
| |
SlamFlexWrapper implements interface to native implementation and public interface for use inside C# and JS code
Definition at line 8 of file SlamFlexWrapper.cs.
Enum for state of SLAM detection process
| Enumerator |
|---|
| Started |
|
| InProgres |
|
| Stopped |
|
| Finished |
|
Definition at line 12 of file SlamFlexWrapper.cs.
| delegate void SlamFlexWrapper.SendArrayPointsDelegate |
( |
IntPtr |
pointer, |
|
|
int |
size |
|
) |
| |
Definition of delegate used from plugin to send array of points to Unity3D
- Parameters
-
| pointer | Address of array |
| size | number of elements |
| delegate void SlamFlexWrapper.SendLogDelegate |
( |
string |
text | ) |
|
Definition of delegate used from plugin to send log to Unity3D
- Parameters
-
| text | string message to log |
| delegate void SlamFlexWrapper.SendPoseDelegate |
( |
float |
r1, |
|
|
float |
r2, |
|
|
float |
r3, |
|
|
double |
t1, |
|
|
double |
t2, |
|
|
double |
t3 |
|
) |
| |
Definition of delegate used from plugin to send pose to Unity3D
- Parameters
-
| r1 | rotation euler angle for unity game object transform X |
| r2 | rotation euler angle for unity game object transform Y |
| r3 | rotation euler angle for unity game object transform Z |
| t1 | translation for unity game object transform X |
| t2 | translation for unity game object transform Y |
| t3 | translation for unity game object transform Z |
| delegate void SlamFlexWrapper.SendStringDelegate |
( |
string |
s | ) |
|
Definition of delegate used from plugin to send string to Unity3D
- Parameters
-
| static DetectionState SlamFlexWrapper.SetNewFrame |
( |
IntPtr |
pointer, |
|
|
int |
width, |
|
|
int |
height |
|
) |
| |
|
inlinestatic |
Send image data to plugin for SLAM detection
- Parameters
-
| pointer | image addess, pointer to first byte |
| width | image width |
| height | image height |
- Returns
- current state of detection
Definition at line 115 of file SlamFlexWrapper.cs.
| static void SlamFlexWrapper.StartPlaneDetection |
( |
| ) |
|
|
inlinestatic |
Starts SLAM detection
- Parameters
-
| ssd | address of SendStringDelegate implemented in Unity3D |
| spd | address of SendPoseDelegate implemented in Unity3D |
| sLogd | address of SendLogDelegate implemented in Unity3D |
| arrayPoints | address of SendArrayPointsDelegate implemented in Unity3D |
Definition at line 86 of file SlamFlexWrapper.cs.
| static void SlamFlexWrapper.StopSlam |
( |
| ) |
|
|
inlinestatic |
| static bool SlamFlexWrapper.ViablePlatform |
( |
| ) |
|
|
inlinestaticprivate |
Check if is viable platform for running plugin
- Returns
Definition at line 178 of file SlamFlexWrapper.cs.
The documentation for this class was generated from the following file: