Method Add
Add(XRReferenceObjectLibrary)
Creates a new XRReferenceObject and adds it to the library.
Declaration
public static int Add(this XRReferenceObjectLibrary library)
Parameters
| Type | Name | Description |
|---|---|---|
| XRReferenceObjectLibrary | library | The |
Returns
| Type | Description |
|---|---|
| int | The index in the library at which the new reference object was created. |
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException | Thrown if |