Experimental: this API is experimental and might be changed or removed in the future.

UxmlFloatAttributeDescription

class in UnityEngine.Experimental.UIElements

/

다음으로부터 상속:Experimental.UIElements.UxmlAttributeDescription

매뉴얼로 전환

설명

Describes a XML float attribute.

변수

defaultValueThe default value for the attribute.
defaultValueAsStringThe default value for the attribute, as a string.

생성자

UxmlFloatAttributeDescriptionConstructor.

Public 함수

GetValueFromBagRetrieves the value of this attribute from the attribute bag. Returns it if it is found, otherwise return defaultValue.

상속된 멤버

변수

defaultValueAsStringThe default value for the attribute, as a string.
nameThe attribute name.
restrictionRestrictions on the possible values of the attribute.
typeAttribute type.
typeNamespaceAttribute namespace.
useWhether the attribute is optional, required or prohibited.