Class UwpAppxBuildTools
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.Build.Editor
Assembly: cs.temp.dll.dll
Syntax
public static class UwpAppxBuildTools
Properties
IsBuilding
Query the build process to see if we're already building.
Declaration
public static bool IsBuilding { get; }
Property Value
Type | Description |
---|---|
Boolean |
Methods
AddGazeInputCapability(IBuildInfo)
An overload of AddGazeInputCapability that will read the AppX manifest from the build output and update the manifest file with the gazeInput capability.
Declaration
public static void AddGazeInputCapability(IBuildInfo buildInfo)
Parameters
Type | Name | Description |
---|---|---|
IBuild |
buildInfo | An IBuildInfo containing a valid OutputDirectory |
AddGazeInputCapability(XElement)
Adds the 'Gaze Input' capability to the manifest.
Declaration
public static void AddGazeInputCapability(XElement rootNode)
Parameters
Type | Name | Description |
---|---|---|
XElement | rootNode |
Remarks
This is a workaround for versions of Unity which don't have native support for the 'Gaze Input' capability in its Player Settings preference location. Note that this function is only public to poke a hole for testing - do not take a dependency on this function.
BuildAppxAsync(UwpBuildInfo, CancellationToken)
Build the UWP appx bundle for this project. Requires that Build
Declaration
public static Task<bool> BuildAppxAsync(UwpBuildInfo buildInfo, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
Uwp |
buildInfo | |
Cancellation |
cancellationToken |
Returns
Type | Description |
---|---|
Task<Boolean> | True, if the appx build was successful. |