newObject | this is the object that will be saved as an asset. |
name | This parameter defines what name will be given to the newly created asset. If the name already exists in the file system, a number will be appended to the name. |
createdPathAndName | upon completion of this function, the ref param will contain the path and filename of the new asset |
ignoreSelectionForPath | this is an optional parameter that whether or not, the object that is currently selected in the editor, should determine the folder location of the new asset. If ignore is set to TRUE, or no object is currently selected, the root asset folder will be used for the path. Otherwise, the asset will be saved in the same folder as the object currently selected in the editor. |
selectNewItem | When true (default), the newly created item will selected in the editor. |