logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class ProceduralInventory

    Plain, engine-agnostic snapshot of everything ProceduralAnimatorScanner found for one model's Procedural Animator setup: which of the three components are present, the rig's bone bindings, the assigned profile's own composition (rules, effective layers/actions, reachable state keys), and the applier's own setup warnings. Stores only paths, names and value data — never a live UnityEngine.Object reference — mirroring ModelAnimationInventory.

    Inheritance
    object
    ProceduralInventory
    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 ProceduralInventory

    Constructors

    ProceduralInventory(bool, bool, bool, int, IReadOnlyList<string>, string, string, IReadOnlyList<ProceduralRuleEntry>, IReadOnlyList<ProceduralLayerEntry>, IReadOnlyList<ProceduralActionEntry>, IReadOnlyList<ProceduralStateKeyEntry>, IReadOnlyList<string>)

    Declaration
    public ProceduralInventory(bool hasRigDefinition, bool hasStateBus, bool hasProceduralAnimator, int rigBoneCount, IReadOnlyList<string> boneIdsWithoutTransform, string profileAssetPath, string profileName, IReadOnlyList<ProceduralRuleEntry> rules, IReadOnlyList<ProceduralLayerEntry> layers, IReadOnlyList<ProceduralActionEntry> actions, IReadOnlyList<ProceduralStateKeyEntry> stateKeys, IReadOnlyList<string> applierWarnings)
    Parameters
    Type Name Description
    bool hasRigDefinition
    bool hasStateBus
    bool hasProceduralAnimator
    int rigBoneCount
    IReadOnlyList<string> boneIdsWithoutTransform
    string profileAssetPath
    string profileName
    IReadOnlyList<ProceduralRuleEntry> rules
    IReadOnlyList<ProceduralLayerEntry> layers
    IReadOnlyList<ProceduralActionEntry> actions
    IReadOnlyList<ProceduralStateKeyEntry> stateKeys
    IReadOnlyList<string> applierWarnings

    Properties

    Actions

    Declaration
    public IReadOnlyList<ProceduralActionEntry> Actions { get; }
    Property Value
    Type Description
    IReadOnlyList<ProceduralActionEntry>

    ApplierWarnings

    Declaration
    public IReadOnlyList<string> ApplierWarnings { get; }
    Property Value
    Type Description
    IReadOnlyList<string>

    Every warning PrefabProceduralAnimatorApplier.ValidateSetup reported for this model.

    BoneIdsWithoutTransform

    Declaration
    public IReadOnlyList<string> BoneIdsWithoutTransform { get; }
    Property Value
    Type Description
    IReadOnlyList<string>

    Bone ids whose binding has no Transform assigned.

    HasProceduralAnimator

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

    HasProfile

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

    Whether a profile asset is assigned to the ProceduralAnimatorComponent.

    HasRigDefinition

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

    HasStateBus

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

    Layers

    Declaration
    public IReadOnlyList<ProceduralLayerEntry> Layers { get; }
    Property Value
    Type Description
    IReadOnlyList<ProceduralLayerEntry>

    ProfileAssetPath

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

    Project-relative path of the assigned profile asset, or empty when none is assigned.

    ProfileName

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

    The assigned profile asset's own name, or empty when none is assigned.

    RigBoneCount

    Declaration
    public int RigBoneCount { get; }
    Property Value
    Type Description
    int

    Number of bone bindings declared on the rig definition, regardless of whether each one resolved to a Transform. Zero when there is no rig definition.

    Rules

    Declaration
    public IReadOnlyList<ProceduralRuleEntry> Rules { get; }
    Property Value
    Type Description
    IReadOnlyList<ProceduralRuleEntry>

    StateKeys

    Declaration
    public IReadOnlyList<ProceduralStateKeyEntry> StateKeys { get; }
    Property Value
    Type Description
    IReadOnlyList<ProceduralStateKeyEntry>
    In this article
    © 2026 Serenity. All Rights Reserved