RSX Code Reference
    Preparing search index...

    Class ResourceTypePickerSettings

    The ResourceTypePickerSettings class stores user settings for the resource picker such as favorite resources and most recently used resources.

    Hierarchy (View Summary)

    Index
    favoriteResourceTypes: Set<string>

    The resource names that have been favorited by the user.

    showOnlyProjectResources: boolean

    Only show project resources in the UI.

    • get isGlobal(): boolean

      Gets the settings.

      Returns boolean

    • Copies all properties defined by the prototype of other to this instance.

      Parameters

      • other: Readonly<T>

      Returns void

    • Marks the settings as dirty and invokes the onDirty event handler.

      Returns void

      This method should be invoked after making a change, so subsystems such as a viewport cna be updated. If the settings are the shared editor settings, the editor settings will be marked for autosave.

    Invoked when the settings changed.

    This is an internal event. Do not subscribe directly to it, use UserProjectSettings.onSettingsChanged.