XRServer

Inherits: Object

There is currently no description for this class. Please help us by contributing one!

Properties

XRInterface

primary_interface

Transform3D

world_origin

Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0)

float

world_scale

1.0

Methods

void

add_interface ( XRInterface interface )

void

add_tracker ( XRTracker tracker )

void

center_on_hmd ( RotationMode rotation_mode, bool keep_height )

void

clear_reference_frame ( )

XRInterface

find_interface ( String name ) const

Transform3D

get_hmd_transform ( )

XRInterface

get_interface ( int idx ) const

int

get_interface_count ( ) const

Dictionary[]

get_interfaces ( ) const

Transform3D

get_reference_frame ( ) const

XRTracker

get_tracker ( StringName tracker_name ) const

Dictionary

get_trackers ( int tracker_types )

void

remove_interface ( XRInterface interface )

void

remove_tracker ( XRTracker tracker )


Signals

interface_added ( StringName interface_name )

There is currently no description for this signal. Please help us by contributing one!


interface_removed ( StringName interface_name )

There is currently no description for this signal. Please help us by contributing one!


reference_frame_changed ( )

There is currently no description for this signal. Please help us by contributing one!


tracker_added ( StringName tracker_name, int type )

There is currently no description for this signal. Please help us by contributing one!


tracker_removed ( StringName tracker_name, int type )

There is currently no description for this signal. Please help us by contributing one!


tracker_updated ( StringName tracker_name, int type )

There is currently no description for this signal. Please help us by contributing one!


Enumerations

enum TrackerType:

TrackerType TRACKER_HEAD = 1

There is currently no description for this enum. Please help us by contributing one!

TrackerType TRACKER_CONTROLLER = 2

There is currently no description for this enum. Please help us by contributing one!

TrackerType TRACKER_BASESTATION = 4

There is currently no description for this enum. Please help us by contributing one!

TrackerType TRACKER_ANCHOR = 8

There is currently no description for this enum. Please help us by contributing one!

TrackerType TRACKER_HAND = 16

There is currently no description for this enum. Please help us by contributing one!

TrackerType TRACKER_BODY = 32

There is currently no description for this enum. Please help us by contributing one!

TrackerType TRACKER_FACE = 64

There is currently no description for this enum. Please help us by contributing one!

TrackerType TRACKER_ANY_KNOWN = 127

There is currently no description for this enum. Please help us by contributing one!

TrackerType TRACKER_UNKNOWN = 128

There is currently no description for this enum. Please help us by contributing one!

TrackerType TRACKER_ANY = 255

There is currently no description for this enum. Please help us by contributing one!


enum RotationMode:

RotationMode RESET_FULL_ROTATION = 0

There is currently no description for this enum. Please help us by contributing one!

RotationMode RESET_BUT_KEEP_TILT = 1

There is currently no description for this enum. Please help us by contributing one!

RotationMode DONT_RESET_ROTATION = 2

There is currently no description for this enum. Please help us by contributing one!


Property Descriptions

XRInterface primary_interface

There is currently no description for this property. Please help us by contributing one!


Transform3D world_origin = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0)

There is currently no description for this property. Please help us by contributing one!


float world_scale = 1.0

  • void set_world_scale ( float value )

  • float get_world_scale ( )

There is currently no description for this property. Please help us by contributing one!


Method Descriptions

void add_interface ( XRInterface interface )

There is currently no description for this method. Please help us by contributing one!


void add_tracker ( XRTracker tracker )

There is currently no description for this method. Please help us by contributing one!


void center_on_hmd ( RotationMode rotation_mode, bool keep_height )

There is currently no description for this method. Please help us by contributing one!


void clear_reference_frame ( )

There is currently no description for this method. Please help us by contributing one!


XRInterface find_interface ( String name ) const

There is currently no description for this method. Please help us by contributing one!


Transform3D get_hmd_transform ( )

There is currently no description for this method. Please help us by contributing one!


XRInterface get_interface ( int idx ) const

There is currently no description for this method. Please help us by contributing one!


int get_interface_count ( ) const

There is currently no description for this method. Please help us by contributing one!


Dictionary[] get_interfaces ( ) const

There is currently no description for this method. Please help us by contributing one!


Transform3D get_reference_frame ( ) const

There is currently no description for this method. Please help us by contributing one!


XRTracker get_tracker ( StringName tracker_name ) const

There is currently no description for this method. Please help us by contributing one!


Dictionary get_trackers ( int tracker_types )

There is currently no description for this method. Please help us by contributing one!


void remove_interface ( XRInterface interface )

There is currently no description for this method. Please help us by contributing one!


void remove_tracker ( XRTracker tracker )

There is currently no description for this method. Please help us by contributing one!