This version of Unity is unsupported.

UxmlFloatAttributeDescription.GetValueFromBag

public float GetValueFromBag(UIElements.IUxmlAttributes bag, UIElements.CreationContext cc);

Parameters

bag The bag of attributes.
cc The context in which the values are retrieved.

Returns

float The value of the attribute.

Description

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