Method SetSpecifySize
SetSpecifySize(XRReferenceImageLibrary, int, bool)
Sets the XRReferenceImage.specifySize
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 SetSpecifySize(this XRReferenceImageLibrary library, int index, bool specifySize)
Parameters
Type | Name | Description |
---|---|---|
XRReferenceImageLibrary | library | The |
int | index | The index of the reference image within the library to modify. |
bool | specifySize | Whether |
Exceptions
Type | Condition |
---|---|
ArgumentNullException | Thrown if |
IndexOutOfRangeException | Thrown if |