C# Class PSMoveAPI, psmove-unity5

显示文件 Open project: HipsterSloth/psmove-unity5 Class Usage Examples

Private Methods

Method Description
psmove_connect ( ) : IntPtr
psmove_connect_by_id ( int id ) : IntPtr
psmove_connection_type ( IntPtr move ) : PSMoveConnectionType
psmove_count_connected ( ) : int
psmove_disconnect ( IntPtr move ) : void
psmove_enable_orientation ( IntPtr move, PSMove_Bool enable ) : void
psmove_fusion_free ( IntPtr psmove_fusion ) : void
psmove_fusion_get_multicam_tracking_space_location ( IntPtr fusions, int fusionCount, IntPtr move, float &xcm, float &ycm, float &zcm ) : PSMove_Bool
psmove_fusion_get_tracker_pov_location ( IntPtr psmove_fusion, IntPtr psmove, float &xcm, float &ycm, float &zcm ) : void
psmove_fusion_get_tracking_space_location ( IntPtr psmove_fusion, IntPtr psmove, float &xcm, float &ycm, float &zcm ) : void
psmove_fusion_new ( IntPtr psmove_tracker, float z_near, float z_far ) : IntPtr
psmove_get_accelerometer ( IntPtr move, int &ax, int &ay, int &az ) : void
psmove_get_accelerometer_frame ( IntPtr move, PSMove_Frame frame, float &ax, float &ay, float &az ) : void
psmove_get_battery ( IntPtr move ) : PSMove_Battery_Level
psmove_get_button_events ( IntPtr move, uint &pressed, uint &released ) : uint
psmove_get_buttons ( IntPtr move ) : uint
psmove_get_gyroscope ( IntPtr move, int &gx, int &gy, int &gz ) : void
psmove_get_gyroscope_frame ( IntPtr move, PSMove_Frame frame, float &gx, float &gy, float &gz ) : void
psmove_get_magnetometer ( IntPtr move, int &mx, int &my, int &mz ) : void
psmove_get_magnetometer_vector ( IntPtr move, float &mx, float &my, float &mz ) : void
psmove_get_orientation ( IntPtr move, float &oriw, float &orix, float &oriy, float &oriz ) : void
psmove_get_temperature ( IntPtr move ) : float
psmove_get_trigger ( IntPtr move ) : char
psmove_has_calibration ( IntPtr move ) : int
psmove_has_orientation ( IntPtr move ) : PSMove_Bool
psmove_init ( PSMove_Version version ) : PSMove_Bool
psmove_poll ( IntPtr move ) : uint
psmove_position_filter_free ( IntPtr position_filter ) : void
psmove_position_filter_get_default_settings ( PSMovePositionFilterSettings &filter_settings ) : void
psmove_position_filter_get_position ( IntPtr position_filter ) : PSMove_3AxisVector
psmove_position_filter_get_settings ( IntPtr position_filter, PSMovePositionFilterSettings &filter_settings ) : void
psmove_position_filter_get_velocity ( IntPtr position_filter ) : PSMove_3AxisVector
psmove_position_filter_init ( PSMovePositionFilterSettings &filter_settings, PSMove_3AxisVector &position, IntPtr filter_state ) : void
psmove_position_filter_load_settings ( PSMovePositionFilterSettings &filter_settings ) : PSMove_Bool
psmove_position_filter_new ( ) : IntPtr
psmove_position_filter_save_settings ( PSMovePositionFilterSettings &filter_settings ) : PSMove_Bool
psmove_position_filter_set_type ( IntPtr filter, PSMove_PositionFilter_Type smoothing_type ) : void
psmove_position_filter_update ( PSMove_3AxisVector &measured_position, PSMove_Bool was_tracked, IntPtr position_filter ) : void
psmove_reset_orientation ( IntPtr move ) : void
psmove_set_leds ( IntPtr move, char r, char g, char b ) : void
psmove_set_rumble ( IntPtr move, System rumble ) : void
psmove_shutdown ( ) : void
psmove_tracker_cycle_color ( IntPtr tracker, IntPtr psmove ) : int
psmove_tracker_enable ( IntPtr tracker, IntPtr psmove ) : PSMoveTracker_Status
psmove_tracker_free ( IntPtr psmove_tracker ) : void
psmove_tracker_get_identifier ( IntPtr tracker, [ out_buffer, UIntPtr buffer_size ) : PSMove_Bool
psmove_tracker_get_last_error ( ) : PSMoveTracker_ErrorCode
psmove_tracker_get_size ( IntPtr tracker, int &tracker_width, int &tracker_height ) : void
psmove_tracker_get_status ( IntPtr tracker, IntPtr psmove ) : PSMoveTracker_Status
psmove_tracker_new ( ) : IntPtr
psmove_tracker_new_with_camera_and_settings ( int camera, PSMoveTrackerSettings &settings ) : IntPtr
psmove_tracker_new_with_settings ( PSMoveTrackerSettings &settings ) : IntPtr
psmove_tracker_reset_location ( IntPtr tracker, IntPtr psmove ) : void
psmove_tracker_set_exposure ( IntPtr tracker, PSMoveTracker_Exposure exposure ) : void
psmove_tracker_settings_set_default ( PSMoveTrackerSettings &settings ) : void
psmove_tracker_update ( IntPtr tracker, IntPtr psmove ) : int
psmove_tracker_update_image ( IntPtr tracker ) : void
psmove_update_leds ( IntPtr move ) : int