Interface IFromGraphVariantConverter<T>
Namespace: Unity.Compositor
Syntax
public interface IFromGraphVariantConverter<T>
where T : struct
Type Parameters
Name | Description |
---|---|
T |
Properties
ExpectedType
Declaration
GraphVariant.ValueType ExpectedType { get; }
Property Value
Type | Description |
---|---|
GraphVariant.ValueType |
Methods
ConvertFrom(GraphVariant)
Declaration
T ConvertFrom(GraphVariant variant)
Parameters
Type | Name | Description |
---|---|---|
GraphVariant | variant |
Returns
Type | Description |
---|---|
T |
ConvertTo(T)
Declaration
GraphVariant ConvertTo(T value)
Parameters
Type | Name | Description |
---|---|---|
T | value |
Returns
Type | Description |
---|---|
GraphVariant |