Functions | |
AxisRuntimeErrors | Refract::AXIS::SetConfig (const AxisSDKConfig_t *config) |
SetConfig before calling Start. | |
AxisRuntimeErrors | Refract::AXIS::Start () |
Start the SDK. Call SetConfig first. | |
AxisRuntimeErrors | Refract::AXIS::SendDongleCommand (const AxisDongleCommand_t *command) |
Sends a command to the dongle. | |
bool | Refract::AXIS::IsDongleConnected () |
Check whether the dongle is connected or not. | |
AxisRuntimeErrors | Refract::AXIS::SearchForAxisHub (AxisHubInfoCallback callback) |
Search for Axis Hubs. | |
AxisRuntimeErrors | Refract::AXIS::GetHubInfoPageNumber (uint8_t pageNumber, AxisHubInfoCallback callback) |
Returns specific page of Refract::AXIS::AxisHubsInfo_t. | |
AxisRuntimeErrors | Refract::AXIS::IsAxisHubConnected (AxisRuntimeErrorCallback callback) |
Check whether the hub is connected or not. | |
AxisRuntimeErrors | Refract::AXIS::PairWithHub (const char *ipAddress, int port, AxisRuntimeErrorCallback callback) |
Pair with Hub. | |
AxisRuntimeErrors | Refract::AXIS::GetHubStatus (AxisHubStatusCallback callback) |
Get Hub Status. | |
AxisRuntimeErrors | Refract::AXIS::StartHubStream (AxisRuntimeErrorCallback callback) |
Tells connected Axis Hub to start streaming. | |
AxisRuntimeErrors | Refract::AXIS::StopHubStream (AxisRuntimeErrorCallback callback) |
Tells connected Axis Hub to stop streaming. | |
AxisRuntimeErrors | Refract::AXIS::ResetHubStream (AxisRuntimeErrorCallback callback) |
Tells connected Axis Hub to reset position tracking. | |
AxisRuntimeErrors | Refract::AXIS::SetHubLocation (AxisHubLocations location) |
Set the location of the Axis Hub (whether mounted on user's back or front) | |
AxisRuntimeErrors | Refract::AXIS::SetHipProviderMode (AxisHipProviderModes mode) |
Set where the sdk should get the hip information from. | |
AxisRuntimeErrors | Refract::AXIS::SetSteamVRTrackerProfile (const SteamVRTrackerProfile_t *trackers) |
Set which trackers for SteamVR are enabled/disabled. | |
AxisRuntimeErrors | Refract::AXIS::SetSteamVRUserHeight (float height) |
Set height for user which is used to guesstimate limb lengths. | |
AxisRuntimeErrors | Refract::AXIS::EnableSteamVR (const AxisSteamVRConfig_t *config) |
Enables SteamVR integration. | |
AxisRuntimeErrors | Refract::AXIS::DisableSteamVR () |
Disables SteamVR integration. | |
void | Refract::AXIS::Stop () |
Stop the SDK. | |
AxisRuntimeErrors | Refract::AXIS::EnableVRChatOSCOutput () |
Enables output to VR Chat via OSC. | |
void | Refract::AXIS::DisableOSC () |
Disables OSC output. | |
void | Refract::AXIS::SetVMCBoneConfig (AxisVMCBoneConfig_t *config) |
Sets which bones to output to OSC. Default is all on. | |
AxisRuntimeErrors | Refract::AXIS::SetHubIP (const char *ipAddress, int port) |
Set the IP of the Axis Hub. | |
AxisRuntimeErrors Refract::AXIS::SetConfig | ( | const AxisSDKConfig_t * | config | ) |
SetConfig before calling Start.
config | AxisSDKConfig_t |
AxisRuntimeErrors Refract::AXIS::Start | ( | ) |
Start the SDK. Call SetConfig first.
AxisRuntimeErrors Refract::AXIS::SendDongleCommand | ( | const AxisDongleCommand_t * | command | ) |
Sends a command to the dongle.
bool Refract::AXIS::IsDongleConnected | ( | ) |
Check whether the dongle is connected or not.
AxisRuntimeErrors Refract::AXIS::SearchForAxisHub | ( | AxisHubInfoCallback | callback | ) |
Search for Axis Hubs.
callback |
AxisRuntimeErrors Refract::AXIS::GetHubInfoPageNumber | ( | uint8_t | pageNumber, |
AxisHubInfoCallback | callback ) |
Returns specific page of Refract::AXIS::AxisHubsInfo_t.
pageNumber | |
callback |
AxisRuntimeErrors Refract::AXIS::IsAxisHubConnected | ( | AxisRuntimeErrorCallback | callback | ) |
Check whether the hub is connected or not.
callback | Refract::AXIS::AxisRuntimeErrors::OK, Refract::AXIS::AxisRuntimeErrors::HTTPError or Refract::AXIS::AxisRuntimeErrors::HTTPException |
AxisRuntimeErrors Refract::AXIS::PairWithHub | ( | const char * | ipAddress, |
int | port, | ||
AxisRuntimeErrorCallback | callback ) |
Pair with Hub.
ipAddress | Pointer to null terminated string standard text format. |
port | |
callback | callback with any errors. Refract::AXIS::AxisRuntimeErrors::OK if paired successfully. |
AxisRuntimeErrors Refract::AXIS::GetHubStatus | ( | AxisHubStatusCallback | callback | ) |
Get Hub Status.
callback |
AxisRuntimeErrors Refract::AXIS::StartHubStream | ( | AxisRuntimeErrorCallback | callback | ) |
Tells connected Axis Hub to start streaming.
callback | Refract::AXIS::AxisRuntimeErrors::OK, Refract::AXIS::AxisRuntimeErrors::HTTPError or Refract::AXIS::AxisRuntimeErrors::HTTPException |
AxisRuntimeErrors Refract::AXIS::StopHubStream | ( | AxisRuntimeErrorCallback | callback | ) |
Tells connected Axis Hub to stop streaming.
callback | Refract::AXIS::AxisRuntimeErrors::OK, Refract::AXIS::AxisRuntimeErrors::HTTPError or Refract::AXIS::AxisRuntimeErrors::HTTPException |
AxisRuntimeErrors Refract::AXIS::ResetHubStream | ( | AxisRuntimeErrorCallback | callback | ) |
Tells connected Axis Hub to reset position tracking.
callback |
AxisRuntimeErrors Refract::AXIS::SetHubLocation | ( | AxisHubLocations | location | ) |
Set the location of the Axis Hub (whether mounted on user's back or front)
location |
AxisRuntimeErrors Refract::AXIS::SetHipProviderMode | ( | AxisHipProviderModes | mode | ) |
Set where the sdk should get the hip information from.
mode |
AxisRuntimeErrors Refract::AXIS::SetSteamVRTrackerProfile | ( | const SteamVRTrackerProfile_t * | trackers | ) |
Set which trackers for SteamVR are enabled/disabled.
trackers |
AxisRuntimeErrors Refract::AXIS::SetSteamVRUserHeight | ( | float | height | ) |
Set height for user which is used to guesstimate limb lengths.
height | Unit is centimeters. |
AxisRuntimeErrors Refract::AXIS::EnableSteamVR | ( | const AxisSteamVRConfig_t * | config | ) |
Enables SteamVR integration.
config |
AxisRuntimeErrors Refract::AXIS::DisableSteamVR | ( | ) |
Disables SteamVR integration.
AxisRuntimeErrors Refract::AXIS::EnableVRChatOSCOutput | ( | ) |
Enables output to VR Chat via OSC.
void Refract::AXIS::SetVMCBoneConfig | ( | AxisVMCBoneConfig_t * | config | ) |
Sets which bones to output to OSC. Default is all on.
config | Setting null here will set the config to default. |
AxisRuntimeErrors Refract::AXIS::SetHubIP | ( | const char * | ipAddress, |
int | port ) |
Set the IP of the Axis Hub.
ipAddress | Pointer to null terminated string standard text format. |
port |