| 
2780 | 2780 | 			Additionally, other keywords can be included: [code]"exp"[/code] for exponential range editing, [code]"radians_as_degrees"[/code] for editing radian angles in degrees (the range values are also in degrees), [code]"degrees"[/code] to hint at an angle, [code]"prefer_slider"[/code] to show the slider for integers, and [code]"hide_control"[/code] to hide the slider or up-down arrows.  | 
2781 | 2781 | 		</constant>  | 
2782 | 2782 | 		<constant name="PROPERTY_HINT_ENUM" value="2" enum="PropertyHint">  | 
2783 |  | -			Hints that an [int] or [String] property is an enumerated value to pick in a list specified via a hint string.  | 
2784 |  | -			The hint string is a comma separated list of names such as [code]"Hello,Something,Else"[/code]. Whitespaces are [b]not[/b] removed from either end of a name. For integer properties, the first name in the list has value 0, the next 1, and so on. Explicit values can also be specified by appending [code]:integer[/code] to the name, e.g. [code]"Zero,One,Three:3,Four,Six:6"[/code].  | 
 | 2783 | +			Hints that an [int], [String], or [StringName] property is an enumerated value to pick in a list specified via a hint string.  | 
 | 2784 | +			The hint string is a comma separated list of names such as [code]"Hello,Something,Else"[/code]. Whitespace is [b]not[/b] removed from either end of a name. For integer properties, the first name in the list has value 0, the next 1, and so on. Explicit values can also be specified by appending [code]:integer[/code] to the name, e.g. [code]"Zero,One,Three:3,Four,Six:6"[/code].  | 
2785 | 2785 | 		</constant>  | 
2786 | 2786 | 		<constant name="PROPERTY_HINT_ENUM_SUGGESTION" value="3" enum="PropertyHint">  | 
2787 |  | -			Hints that a [String] property can be an enumerated value to pick in a list specified via a hint string such as [code]"Hello,Something,Else"[/code].  | 
 | 2787 | +			Hints that a [String] or [StringName] property can be an enumerated value to pick in a list specified via a hint string such as [code]"Hello,Something,Else"[/code]. See [constant PROPERTY_HINT_ENUM] for details.  | 
2788 | 2788 | 			Unlike [constant PROPERTY_HINT_ENUM], a property with this hint still accepts arbitrary values and can be empty. The list of values serves to suggest possible values.  | 
2789 | 2789 | 		</constant>  | 
2790 | 2790 | 		<constant name="PROPERTY_HINT_EXP_EASING" value="4" enum="PropertyHint">  | 
 | 
2795 | 2795 | 		</constant>  | 
2796 | 2796 | 		<constant name="PROPERTY_HINT_FLAGS" value="6" enum="PropertyHint">  | 
2797 | 2797 | 			Hints that an [int] property is a bitmask with named bit flags.  | 
2798 |  | -			The hint string is a comma separated list of names such as [code]"Bit0,Bit1,Bit2,Bit3"[/code]. Whitespaces are [b]not[/b] removed from either end of a name. The first name in the list has value 1, the next 2, then 4, 8, 16 and so on. Explicit values can also be specified by appending [code]:integer[/code] to the name, e.g. [code]"A:4,B:8,C:16"[/code]. You can also combine several flags ([code]"A:4,B:8,AB:12,C:16"[/code]).  | 
 | 2798 | +			The hint string is a comma separated list of names such as [code]"Bit0,Bit1,Bit2,Bit3"[/code]. Whitespace is [b]not[/b] removed from either end of a name. The first name in the list has value 1, the next 2, then 4, 8, 16 and so on. Explicit values can also be specified by appending [code]:integer[/code] to the name, e.g. [code]"A:4,B:8,C:16"[/code]. You can also combine several flags ([code]"A:4,B:8,AB:12,C:16"[/code]).  | 
2799 | 2799 | 			[b]Note:[/b] A flag value must be at least [code]1[/code] and at most [code]2 ** 32 - 1[/code].  | 
2800 | 2800 | 			[b]Note:[/b] Unlike [constant PROPERTY_HINT_ENUM], the previous explicit value is not taken into account. For the hint [code]"A:16,B,C"[/code], A is 16, B is 2, C is 4.  | 
2801 | 2801 | 		</constant>  | 
 | 
0 commit comments