Interface ITypeAdapter
Implement this interface to use the inside your class to define type convertions to use inside the graph. Example:
public class CustomConvertions : ITypeAdapter
{
public static Vector4 ConvertFloatToVector(float from) => new Vector4(from, from, from, from);
...
}
Namespace: GraphProcessor
Assembly: com.alelievr.NodeGraphProcessor.Runtime.dll
Syntax
public interface ITypeAdapter