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

Method anchor_try_set_persistent

StereoKit/Native/NativeAPI.cs:597–598  ·  view source on GitHub ↗
(IntPtr anchor, [MarshalAs(UnmanagedType.Bool)] bool persistent)

Source from the content-addressed store, hash-verified

595 [DllImport(dll, CallingConvention = call )] public static extern void anchor_addref (IntPtr anchor);
596 [DllImport(dll, CallingConvention = call )] public static extern void anchor_release (IntPtr anchor);
597 [return: MarshalAs(UnmanagedType.Bool)]
598 [DllImport(dll, CallingConvention = call )] public static extern bool anchor_try_set_persistent(IntPtr anchor, [MarshalAs(UnmanagedType.Bool)] bool persistent);
599 [return: MarshalAs(UnmanagedType.Bool)]
600 [DllImport(dll, CallingConvention = call )] public static extern bool anchor_get_persistent(IntPtr anchor);
601 [DllImport(dll, CallingConvention = call )] public static extern Pose anchor_get_pose (IntPtr anchor);

Callers 1

TrySetPersistentMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected