Tilt Five Unity API
1.3.0
|
Public Member Functions | |
static int | SetApplicationInfo (T5_StringUTF8 appName, T5_StringUTF8 appId, T5_StringUTF8 appVersion) |
static ServiceCompatibility | GetServiceCompatibility () |
static int | RefreshGlassesAvailable () |
static void | SetMaxDesiredGlasses (byte maxCount) |
static int | GetGlassesHandles (ref byte handleCount, [MarshalAs(UnmanagedType.LPArray, SizeParamIndex=0)] UInt64[] glassesHandle) |
static int | GetGlassesFriendlyName (UInt64 glassesHandle, ref T5_StringUTF8 glassesFriendlyName) |
static int | GetGlassesPose (UInt64 glassesHandle, ref T5_GlassesPose glassesPose) |
static int | ConfigureCameraStream (UInt64 glassesHandle, T5_CameraStreamConfig cameraConfig) |
static int | GetFilledCamImageBuffer (UInt64 glassesHandle, ref T5_CamImage camImageBuffer) |
static int | SubmitEmptyCamImageBuffer (UInt64 glassesHandle, IntPtr camImageBuffer, UInt32 bufferSize) |
static int | CancelCamImageBuffer (UInt64 glassesHandle, IntPtr buffer) |
static int | GetGameboardDimensions ([MarshalAs(UnmanagedType.I4)] GameboardType gameboardType, ref T5_GameboardSize playableSpaceInMeters) |
static int | GetWandAvailability (UInt64 glassesHandle, ref T5_Bool wandAvailable, [MarshalAs(UnmanagedType.I4)] ControllerIndex wandTarget) |
static int | ScanForWands () |
static int | GetControllerState (UInt64 glassesHandle, [MarshalAs(UnmanagedType.I4)] ControllerIndex controllerIndex, ref T5_ControllerState controllerState) |
static int | SetRumbleMotor (uint motor, float intensity) |
static int | QueueStereoImages (UInt64 glassesHandle, T5_FrameInfo frameInfo) |
static IntPtr | GetSendFrameCallback () |
static int | GetMaxDisplayDimensions ([MarshalAs(UnmanagedType.LPArray, SizeConst=2)] int[] displayDimensions) |
static int | GetGlassesIPD (UInt64 glassesHandle, ref float glassesIPD) |
static void | UnloadWorkaround () |
Static Public Attributes | |
const string | PLUGIN_LIBRARY = @"TiltFiveUnity" |
Definition at line 22 of file NativePlugin.cs.
static int TiltFive.NativePlugin.CancelCamImageBuffer | ( | UInt64 | glassesHandle, |
IntPtr | buffer | ||
) |
static int TiltFive.NativePlugin.ConfigureCameraStream | ( | UInt64 | glassesHandle, |
T5_CameraStreamConfig | cameraConfig | ||
) |
static int TiltFive.NativePlugin.GetControllerState | ( | UInt64 | glassesHandle, |
[MarshalAs(UnmanagedType.I4)] ControllerIndex | controllerIndex, | ||
ref T5_ControllerState | controllerState | ||
) |
Referenced by TiltFive.Wand.WandCore.GetLatestInputs().
static int TiltFive.NativePlugin.GetFilledCamImageBuffer | ( | UInt64 | glassesHandle, |
ref T5_CamImage | camImageBuffer | ||
) |
static int TiltFive.NativePlugin.GetGameboardDimensions | ( | [MarshalAs(UnmanagedType.I4)] GameboardType | gameboardType, |
ref T5_GameboardSize | playableSpaceInMeters | ||
) |
Referenced by TiltFive.GameBoard.TryGetGameboardDimensions().
static int TiltFive.NativePlugin.GetGlassesFriendlyName | ( | UInt64 | glassesHandle, |
ref T5_StringUTF8 | glassesFriendlyName | ||
) |
Referenced by TiltFive.Glasses.GlassesCore.TryGetFriendlyName().
static int TiltFive.NativePlugin.GetGlassesHandles | ( | ref byte | handleCount, |
[MarshalAs(UnmanagedType.LPArray, SizeParamIndex=0)] UInt64[] | glassesHandle | ||
) |
Referenced by TiltFive.Glasses.ScanForGlasses().
static int TiltFive.NativePlugin.GetGlassesIPD | ( | UInt64 | glassesHandle, |
ref float | glassesIPD | ||
) |
Referenced by TiltFive.Display.GetGlassesIPDImpl().
static int TiltFive.NativePlugin.GetGlassesPose | ( | UInt64 | glassesHandle, |
ref T5_GlassesPose | glassesPose | ||
) |
Referenced by TiltFive.Glasses.GlassesCore.TryGetStateFromPlugin().
static int TiltFive.NativePlugin.GetMaxDisplayDimensions | ( | [MarshalAs(UnmanagedType.LPArray, SizeConst=2)] int[] | displayDimensions | ) |
Referenced by TiltFive.Display.GetDisplayDimensionsImpl().
static IntPtr TiltFive.NativePlugin.GetSendFrameCallback | ( | ) |
Referenced by TiltFive.Display.Awake(), and TiltFive.Display.PresentStereoImagesImpl().
static ServiceCompatibility TiltFive.NativePlugin.GetServiceCompatibility | ( | ) |
static int TiltFive.NativePlugin.GetWandAvailability | ( | UInt64 | glassesHandle, |
ref T5_Bool | wandAvailable, | ||
[MarshalAs(UnmanagedType.I4)] ControllerIndex | wandTarget | ||
) |
Referenced by TiltFive.Wand.WandCore.TryCheckConnected(), and TiltFive.Wand.TryGetWandAvailability().
static int TiltFive.NativePlugin.QueueStereoImages | ( | UInt64 | glassesHandle, |
T5_FrameInfo | frameInfo | ||
) |
Referenced by TiltFive.Display.PresentStereoImagesImpl().
static int TiltFive.NativePlugin.RefreshGlassesAvailable | ( | ) |
Referenced by TiltFive.Glasses.ScanForGlasses().
static int TiltFive.NativePlugin.ScanForWands | ( | ) |
Referenced by TiltFive.Wand.TryScanForWands().
static int TiltFive.NativePlugin.SetApplicationInfo | ( | T5_StringUTF8 | appName, |
T5_StringUTF8 | appId, | ||
T5_StringUTF8 | appVersion | ||
) |
Referenced by TiltFive.Display.SetApplicationInfoImpl().
static void TiltFive.NativePlugin.SetMaxDesiredGlasses | ( | byte | maxCount | ) |
Referenced by TiltFive.TiltFiveManager.OnEnable(), and TiltFive.TiltFiveManager2.OnEnable().
static int TiltFive.NativePlugin.SetRumbleMotor | ( | uint | motor, |
float | intensity | ||
) |
Referenced by TiltFive.Input.SetRumbleMotor().
static int TiltFive.NativePlugin.SubmitEmptyCamImageBuffer | ( | UInt64 | glassesHandle, |
IntPtr | camImageBuffer, | ||
UInt32 | bufferSize | ||
) |
static void TiltFive.NativePlugin.UnloadWorkaround | ( | ) |
Referenced by TiltFive.TiltFiveManager.Quit(), and TiltFive.TiltFiveManager2.Quit().
|
static |
Definition at line 28 of file NativePlugin.cs.