docs.unity3d.com
    Show / Hide Table of Contents

    Class fsDirectConverter

    The direct converter is similar to a regular converter, except that it targets specifically only one type. This means that it can be used without performance impact when discovering converters. It is strongly recommended that you derive from fsDirectConverter{TModel}.

    Inheritance
    Object
    fsBaseConverter
    fsDirectConverter
    fsDirectConverter<TModel>
    LooseAssemblyNameConverter
    NamespaceConverter
    UnitCategoryConverter
    Inherited Members
    fsBaseConverter.Serializer
    fsBaseConverter.CreateInstance(fsData, Type)
    fsBaseConverter.RequestCycleSupport(Type)
    fsBaseConverter.RequestInheritanceSupport(Type)
    fsBaseConverter.TrySerialize(Object, fsData, Type)
    fsBaseConverter.TryDeserialize(fsData, Object, Type)
    fsBaseConverter.FailExpectedType(fsData, fsDataType[])
    fsBaseConverter.CheckType(fsData, fsDataType)
    fsBaseConverter.CheckKey(fsData, String, fsData)
    fsBaseConverter.CheckKey(Dictionary<String, fsData>, String, fsData)
    fsBaseConverter.SerializeMember<T>(Dictionary<String, fsData>, Type, String, T)
    fsBaseConverter.DeserializeMember<T>(Dictionary<String, fsData>, Type, String, T)
    Namespace: Unity.VisualScripting.FullSerializer
    Syntax
    public abstract class fsDirectConverter : fsBaseConverter
    Remarks

    Due to the way that direct converters operate, inheritance is not supported. Direct converters will only be used with the exact ModelType object.

    Properties

    ModelType

    Declaration
    public abstract Type ModelType { get; }
    Property Value
    Type Description
    Type

    Extension Methods

    XAnalyserProvider.Analyser(Object, IGraphContext)
    XAnalyserProvider.Analyser<TAnalyser>(Object, IGraphContext)
    XAnalyserProvider.Analysis(Object, IGraphContext)
    XAnalyserProvider.Analysis<TAnalysis>(Object, IGraphContext)
    XAnalyserProvider.Analyser(Object, GraphReference)
    XAnalyserProvider.Analyser<TAnalyser>(Object, GraphReference)
    XAnalyserProvider.Analysis(Object, GraphReference)
    XAnalyserProvider.Analysis<TAnalysis>(Object, GraphReference)
    XDescriptorProvider.Describe(Object)
    XDescriptorProvider.HasDescriptor(Object)
    XDescriptorProvider.Descriptor(Object)
    XDescriptorProvider.Descriptor<TDescriptor>(Object)
    XDescriptorProvider.Description(Object)
    XDescriptorProvider.Description<TDescription>(Object)
    Cloning.Clone(Object, ICloner, Boolean)
    Cloning.Clone<T>(T, ICloner, Boolean)
    Cloning.CloneViaFakeSerialization(Object)
    Cloning.CloneViaFakeSerialization<T>(T)
    ConversionUtility.IsConvertibleTo(Object, Type, Boolean)
    ConversionUtility.IsConvertibleTo<T>(Object, Boolean)
    ConversionUtility.ConvertTo(Object, Type)
    ConversionUtility.ConvertTo<T>(Object)
    TypeUtility.ToShortString(Object, Int32)
    Serialization.CloneViaSerialization<T>(T, Boolean)
    Serialization.CloneViaSerializationInto<TSource, TDestination>(TSource, ref TDestination, Boolean)
    Serialization.Serialize(Object, Boolean)
    LinqUtility.Yield<T>(T)
    UnityObjectUtility.IsUnityNull(Object)
    UnityObjectUtility.ToSafeString(Object)
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023