PropertyHint Enumeration |
[Missing <summary> documentation for "T:Godot.PropertyHint"]
Namespace: Godot
public enum PropertyHint
Member name | Value | Description | |
---|---|---|---|
None | 0 | No hint for the edited property. | |
Range | 1 | Hints that an integer or float property should be within a range specified via the hint string "min,max" or "min,max,step". The hint string can optionally include "or_greater" and/or "or_lesser" to allow manual input going respectively above the max or below the min values. Example: "-360,360,1,or_greater,or_lesser". | |
ExpRange | 2 | Hints that an integer or float property should be within an exponential range specified via the hint string "min,max" or "min,max,step". The hint string can optionally include "or_greater" and/or "or_lesser" to allow manual input going respectively above the max or below the min values. Example: "0.01,100,0.01,or_greater". | |
Enum | 3 | Hints that an integer, float or string property is an enumerated value to pick in a list specified via a hint string such as "Hello,Something,Else". | |
ExpEasing | 4 | Hints that a float property should be edited via an exponential easing function. The hint string can include "attenuation" to flip the curve horizontally and/or "inout" to also include in/out easing. | |
Length | 5 | Deprecated hint, unused. | |
KeyAccel | 7 | Deprecated hint, unused. | |
Flags | 8 | Hints that an integer property is a bitmask with named bit flags. For example, to allow toggling bits 0, 1, 2 and 4, the hint could be something like "Bit0,Bit1,Bit2,,Bit4". | |
Layers2dRender | 9 | Hints that an integer property is a bitmask using the optionally named 2D render layers. | |
Layers2dPhysics | 10 | Hints that an integer property is a bitmask using the optionally named 2D physics layers. | |
Layers3dRender | 11 | Hints that an integer property is a bitmask using the optionally named 3D render layers. | |
Layers3dPhysics | 12 | Hints that an integer property is a bitmask using the optionally named 3D physics layers. | |
File | 13 | Hints that a string property is a path to a file. Editing it will show a file dialog for picking the path. The hint string can be a set of filters with wildcards like "*.png,*.jpg". | |
Dir | 14 | Hints that a string property is a path to a directory. Editing it will show a file dialog for picking the path. | |
GlobalFile | 15 | Hints that a string property is an absolute path to a file outside the project folder. Editing it will show a file dialog for picking the path. The hint string can be a set of filters with wildcards like "*.png,*.jpg". | |
GlobalDir | 16 | Hints that a string property is an absolute path to a directory outside the project folder. Editing it will show a file dialog for picking the path. | |
ResourceType | 17 | Hints that a property is an instance of a Resource-derived type, optionally specified via the hint string (e.g. "Texture"). Editing it will show a popup menu of valid resource types to instantiate. | |
MultilineText | 18 | Hints that a string property is text with line breaks. Editing it will show a text input field where line breaks can be typed. | |
PlaceholderText | 19 | Hints that a string property should have a placeholder text visible on its input field, whenever the property is empty. The hint string is the placeholder text to use. | |
ColorNoAlpha | 20 | Hints that a color property should be edited without changing its alpha component, i.e. only R, G and B channels are edited. | |
ImageCompressLossy | 21 | Hints that an image is compressed using lossy compression. | |
ImageCompressLossless | 22 | Hints that an image is compressed using lossless compression. |