Method SetName
SetName(XRReferenceImageLibrary, int, string)
Sets the XRReferenceImage.name
value on the XRReferenceImage
at index
.
This value is read-only in the Player; it can only be modified in the Editor.
Declaration
public static void SetName(this XRReferenceImageLibrary library, int index, string name)
Parameters
Type | Name | Description |
---|---|---|
XRReferenceImageLibrary | library | The |
int | index | The index of the reference image within the library to modify. |
string | name |
Exceptions
Type | Condition |
---|---|
ArgumentNullException | Thrown if |
IndexOutOfRangeException | Thrown if |