Class XRReferenceImageLibraryExtensions
Extension methods for the XRReferenceImageLibrary.
Inherited Members
Namespace: UnityEditor.XR.ARSubsystems
Assembly: solution.dll
Syntax
public static class XRReferenceImageLibraryExtensions
Remarks
At runtime, XRReferenceImageLibrarys are immutable. These Editor-only extension methods let you build and manipulate image libraries in Editor scripts.
Methods
Name | Description |
---|---|
Add(XRReferenceImageLibrary) | Creates an empty |
ClearDataStore(XRReferenceImageLibrary) | Clears the binary data store. |
RemoveAt(XRReferenceImageLibrary, int) | Removes the XRReferenceImage at |
SetDataForKey(XRReferenceImageLibrary, string, byte[]) | Associate binary data with a string key. |
SetName(XRReferenceImageLibrary, int, string) | Sets the |
SetSize(XRReferenceImageLibrary, int, Vector2) | Sets the |
SetSpecifySize(XRReferenceImageLibrary, int, bool) | Sets the |
SetTexture(XRReferenceImageLibrary, int, Texture2D, bool) | Set the texture on the reference image. |