• Home
  • Manual
  • API Documentation
Search Results for

    Show / Hide Table of Contents
      • ABRFilterExample
      • ABRQueryExample
      • ABRSpaceConvertExample
      • BackgroundColor
      • DebugDraw
      • DisableABRLights
      • GenerateDataAndUseStyle
      • Grabbable
      • Grabber
      • HideShowMenu
      • LightEditor
      • LightEditorTile
      • PerformanceEnhancer
      • SVScreenshot
    • IVLab.ABREngine
      • ABRConfig
      • ABRConfig.Consts
      • ABRConfig.GroupToDataMatrixOverrideFields
      • ABRDataContainer
      • ABREngine
      • ABREngine.StateChangeDelegate
      • ABRInputAttribute
      • ABRInputGenre
      • ABRInputIndexerModule
      • ABRLight
      • ABRLightManager
      • ABRPlateType
      • ABRServer
      • ABRStateParser
      • AnglePrimitive
      • BooleanPrimitive
      • ColormapVisAsset
      • DataImpression
      • DataImpressionGroup
      • DataManager
      • DataPath
      • DataPath.DataPathType
      • DataPoint
      • DataRange<T>
      • DataTopology
      • Dataset
      • FilePathVisAssetFetcher
      • FloatPrimitive
      • GlyphGradient
      • GlyphVisAsset
      • GradientBlendMap
      • HttpDataLoader
      • HttpStateFileLoader
      • HttpVisAssetFetcher
      • IABRInput
      • IABRStateLoader
      • IColormapVisAsset
      • ICoordSpaceConverter
      • IDataAccessor
      • IDataImpressionRenderInfo
      • IDataLoader
      • IDataVariable<T>
      • IFloatPrimitive
      • IGlyphVisAsset
      • IHasDataset
      • IHasKeyData
      • IIntegerPrimitive
      • IKeyDataRenderInfo
      • ILineTextureVisAsset
      • IPrimitive
      • IPrimitiveGradient
      • ISurfaceTextureVisAsset
      • ITextureGradient
      • IVisAsset
      • IVisAssetFetcher
      • IVisAssetGradient<T>
      • IVolumeCoordSpaceConverter
      • IVolumeDataAccessor
      • InstancedMeshRenderer
      • InstancedSurfaceDataImpression
      • IntegerPrimitive
      • KeyData
      • LengthPrimitive
      • LineKeyData
      • LineTextureGradient
      • LineTextureVisAsset
      • MediaDataLoader
      • Notifier
      • PathStateFileLoader
      • PercentPrimitive
      • PointKeyData
      • PrimitiveGradient
      • RawABRInput
      • RawDataset
      • RawDataset.BinaryData
      • RawDataset.JsonHeader
      • RawDatasetAdapter
      • RawPrimitiveGradient
      • RawVisAssetGradient
      • RenderHints
      • ResourceStateFileLoader
      • ResourceVisAssetFetcher
      • ResourcesDataLoader
      • ScalarDataVariable
      • SerializableFloatArray
      • SerializableVectorArray
      • SimpleGlyphDataImpression
      • SimpleLineDataImpression
      • SimpleLineRenderInfo
      • SimpleSurfaceDataImpression
      • SimpleSurfaceRenderInfo
      • SimpleVolumeDataImpression
      • StateLocalVisAssetFetcher
      • SurfaceKeyData
      • SurfaceTextureGradient
      • SurfaceTextureVisAsset
      • TextStateFileLoader
      • TypeExtentions
      • UnityObjectSerializer
      • UpdateLevel
      • VectorDataVariable
      • VisAsset
      • VisAssetGradient
      • VisAssetLoader
      • VisAssetManager
      • VolumeKeyData
    • IVLab.ABREngine.Examples
      • CSVToPoints
      • CreateDataset
      • InteractiveState
      • MtStHelensData
      • MtStHelensVisDriver
    • IVLab.ABREngine.ExtensionMethods
      • DirectoryInfoExtensions
      • ScriptableObjectExtensions
    • IVLab.ABREngine.Legends
      • ABRLegend
      • ABRLegendEntry
      • ABRLegendEntry.Label
      • ABRLegendGeometry

    Class UnityObjectSerializer

    Custom converter to allow less verbose Newtonsoft serialization of Unity builtin objects. This converter manually handles several cases, add more as they become necessary.

    Inheritance
    object
    JsonConverter
    UnityObjectSerializer
    Namespace: IVLab.ABREngine
    Assembly: IVLab.ABREngine.Runtime.dll
    Syntax
    public class UnityObjectSerializer : JsonConverter

    Constructors

    | Improve this Doc View Source

    UnityObjectSerializer()

    Build the custom converter and define both the types that are allowed to be serialized and the string keys that are allowed to exist post-serialization

    Declaration
    public UnityObjectSerializer()

    Properties

    | Improve this Doc View Source

    CanRead

    Gets a value indicating whether this Newtonsoft.Json.JsonConverter can read JSON.

    Declaration
    public override bool CanRead { get; }
    Property Value
    Type Description
    bool

    true if this Newtonsoft.Json.JsonConverter can read JSON; otherwise, false.

    Overrides
    Newtonsoft.Json.JsonConverter.CanRead

    Methods

    | Improve this Doc View Source

    CanConvert(Type)

    We only provide serializers for these types

    Declaration
    public override bool CanConvert(Type type)
    Parameters
    Type Name Description
    Type type
    Returns
    Type Description
    bool
    Overrides
    JsonConverter.CanConvert(Type)
    | Improve this Doc View Source

    ReadJson(JsonReader, Type, object, JsonSerializer)

    Reads the JSON representation of the object.

    Declaration
    public override object ReadJson(JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer)
    Parameters
    Type Name Description
    JsonReader reader

    The Newtonsoft.Json.JsonReader to read from.

    Type objectType

    Type of the object.

    object existingValue

    The existing value of object being read.

    JsonSerializer serializer

    The calling serializer.

    Returns
    Type Description
    object

    The object value.

    Overrides
    JsonConverter.ReadJson(JsonReader, Type, object, JsonSerializer)
    | Improve this Doc View Source

    WriteJson(JsonWriter, object, JsonSerializer)

    Writes the JSON representation of the object.

    Declaration
    public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer)
    Parameters
    Type Name Description
    JsonWriter writer

    The Newtonsoft.Json.JsonWriter to write to.

    object value

    The value.

    JsonSerializer serializer

    The calling serializer.

    Overrides
    JsonConverter.WriteJson(JsonWriter, object, JsonSerializer)
    • Improve this Doc
    • View Source
    In This Article
    Back to top Interactive Visualization Lab
    Copyright 2023, Regents of the University of Minnesota, All Rights Reserved