logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class ModelAnimationInventory

    Plain, engine-agnostic snapshot of everything ModelAnimationScanner found for one model asset. Stores only paths, names and value data — never a live UnityEngine.Object reference — so an inventory can be cached, compared, or handed to a validator without keeping the scanned prefab loaded.

    Inheritance
    object
    ModelAnimationInventory
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    Namespace: Serenity.Editor.AnimationHub.Discovery
    Assembly: Serenity.AnimationHub.Editor.dll
    Syntax
    public sealed class ModelAnimationInventory

    Constructors

    ModelAnimationInventory(string, string, ModelSourceKind, string, bool, UnityAnimationInventory, ProceduralInventory)

    Declaration
    public ModelAnimationInventory(string modelAssetPath, string modelName, ModelSourceKind sourceKind, string sourceModelPath, bool isWritable, UnityAnimationInventory unity, ProceduralInventory procedural = null)
    Parameters
    Type Name Description
    string modelAssetPath
    string modelName
    ModelSourceKind sourceKind
    string sourceModelPath
    bool isWritable
    UnityAnimationInventory unity
    ProceduralInventory procedural

    Properties

    IsWritable

    Declaration
    public bool IsWritable { get; }
    Property Value
    Type Description
    bool

    False for ImportedModel — an imported model's animation data is not editable in place.

    ModelAssetPath

    Declaration
    public string ModelAssetPath { get; }
    Property Value
    Type Description
    string

    ModelName

    Declaration
    public string ModelName { get; }
    Property Value
    Type Description
    string

    Procedural

    Declaration
    public ProceduralInventory Procedural { get; }
    Property Value
    Type Description
    ProceduralInventory

    The model's Procedural Animator setup, or null when the scan opted out of it via IncludeProcedural.

    SourceKind

    Declaration
    public ModelSourceKind SourceKind { get; }
    Property Value
    Type Description
    ModelSourceKind

    SourceModelPath

    Declaration
    public string SourceModelPath { get; }
    Property Value
    Type Description
    string

    Path of the imported model (.fbx or equivalent) behind the scanned asset, or empty when none was resolved.

    Unity

    Declaration
    public UnityAnimationInventory Unity { get; }
    Property Value
    Type Description
    UnityAnimationInventory
    In this article
    © 2026 Serenity. All Rights Reserved