class in UnityEngine.UIElements
/
Inherits from:ScriptableObject
/
Implemented in:UnityEngine.UIElementsModule
Defines a Panel Settings asset that instantiates a panel at runtime. The panel makes it possible for Unity to display UXML-file based UI in the Game view.
clearColor | Determines whether the color buffer is cleared before the panel is rendered. |
clearDepthStencil | Determines whether the depth/stencil buffer is cleared before the panel is rendered. |
colorClearValue | The color used to clear the color buffer. |
depthClearValue | The depth used to clear the depth/stencil buffer. |
dynamicAtlasSettings | Settings of the dynamic atlas. |
fallbackDpi | The DPI value that Unity uses when it cannot determine the screen DPI. |
match | Determines whether Unity uses width, height, or a mix of the two as a reference when it scales the panel area. |
referenceDpi | The DPI that the UI is designed for. |
referenceResolution | The resolution the UI is designed for. |
referenceSpritePixelsPerUnit | Sprites have a Pixels Per Unit value that controls the pixel density of the sprite. For sprites that have the same Pixels Per Unit value as the Reference Pixels Per Unit value in the PanelSettings asset, the pixel density will be one to one. |
scale | A uniform scaling factor that Unity applies to elements in the panel before the panel transform. |
scaleMode | Determines how elements in the panel scale when the screen size changes. |
screenMatchMode | Specifies how to scale the panel area when the aspect ratio of the current resolution does not match the reference resolution. |
sortingOrder | When the Scene uses more than one panel, this value determines where this panel appears in the sorting order relative to other panels. |
targetDisplay | Set the display intended for the panel. |
targetTexture | Specifies a Render Texture to render the panel's UI on. |
textSettings | Specifies a PanelTextSettings that will be used by every UI Document attached to the panel. |
themeStyleSheet | Specifies a style sheet that Unity applies to every UI Document attached to the panel. |
SetScreenToPanelSpaceFunction | Sets the function that handles the transformation from screen space to panel space. For overlay panels, this function returns the input value. |
hideFlags | Should the object be hidden, saved with the Scene or modifiable by the user? |
name | The name of the object. |
GetInstanceID | Gets the instance ID of the object. |
ToString | Returns the name of the object. |
Destroy | Removes a GameObject, component or asset. |
DestroyImmediate | Destroys the object obj immediately. You are strongly recommended to use Destroy instead. |
DontDestroyOnLoad | Do not destroy the target Object when loading a new Scene. |
FindAnyObjectByType | Retrieves any active loaded object of Type type. |
FindFirstObjectByType | Retrieves the first active loaded object of Type type. |
FindObjectOfType | Returns the first active loaded object of Type type. |
FindObjectsByType | Retrieves a list of all loaded objects of Type type. |
FindObjectsOfType | Gets a list of all loaded objects of Type type. |
Instantiate | Clones the object original and returns the clone. |
CreateInstance | Creates an instance of a scriptable object. |
bool | Does the object exist? |
operator != | Compares if two objects refer to a different object. |
operator == | Compares two object references to see if they refer to the same object. |
Awake | This function is called when the ScriptableObject script is started. |
OnDestroy | This function is called when the scriptable object will be destroyed. |
OnDisable | This function is called when the scriptable object goes out of scope. |
OnEnable | This function is called when the object is loaded. |
OnValidate | Editor-only function that Unity calls when the script is loaded or a value changes in the Inspector. |
Reset | Reset to default values. |