MCPcopy Create free account
hub / github.com/StereoKit/StereoKit / ui_button_behavior

Method ui_button_behavior

StereoKit/Native/NativeAPI.cs:782–782  ·  view source on GitHub ↗
(Vec3 window_relative_pos, Vec2 size, ulong id, out float finger_offset, out BtnState button_state, out BtnState focus_state, out int hand)

Source from the content-addressed store, hash-verified

780 [return: MarshalAs(UnmanagedType.Bool)]
781 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern bool ui_is_interacting (Handed hand);
782 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern void ui_button_behavior(Vec3 window_relative_pos, Vec2 size, ulong id, out float finger_offset, out BtnState button_state, out BtnState focus_state, out int hand);
783 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern void ui_button_behavior_depth(Vec3 window_relative_pos, Vec2 size, ulong id, float button_depth, float button_activation_depth, out float finger_offset, out BtnState button_state, out BtnState focus_state, out int hand);
784
785 [DllImport(dll, CharSet = CharSet.Unicode, CallingConvention = call)] public static extern BtnState ui_volumei_at_16 (string id, Bounds bounds, UIConfirm interact_type, IntPtr out_opt_hand, IntPtr out_opt_focus_state);

Callers 1

ButtonBehaviorMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected