FittsLaw/Assets/Oculus/Platform/Scripts/ApplicationOptions.cs

34 lines
818 B
C#
Raw Permalink Normal View History

2018-10-14 23:33:23 -04:00
// This file was @generated with LibOVRPlatform/codegen/main. Do not modify it!
namespace Oculus.Platform
{
using System;
using System.Collections;
using Oculus.Platform.Models;
using System.Collections.Generic;
using UnityEngine;
public class ApplicationOptions {
public ApplicationOptions() {
Handle = CAPI.ovr_ApplicationOptions_Create();
}
public void SetDeeplinkMessage(string value) {
CAPI.ovr_ApplicationOptions_SetDeeplinkMessage(Handle, value);
}
// For passing to native C
public static explicit operator IntPtr(ApplicationOptions options) {
return options != null ? options.Handle : IntPtr.Zero;
}
~ApplicationOptions() {
CAPI.ovr_ApplicationOptions_Destroy(Handle);
}
IntPtr Handle;
}
}