Scripting API

ConverterGroup

class in UnityEngine.UIElements · UnityEngine.UIElementsModule

7 of 7 of Unity's membersUnity's documentation
In Tassix

Converters between types, by name; a binding's converters, or registered for all.

Constructors 1

ConverterGroup(string id, string? displayName = null, string? description = null)

Properties 3

string description { get; }
string displayName { get; }
string id { get; }

Methods 3

void AddConverter<TSource, TDestination>(TypeConverter<TSource, TDestination> converter)
bool TryConvert<TSource, TDestination>(ref TSource source, out TDestination destination)
bool TrySetValue<TContainer, TValue>(ref TContainer container, in PropertyPath path, TValue value, out VisitReturnCode returnCode)