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
ProceduralInventory
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
Properties
Actions
Declaration
public IReadOnlyList<ProceduralActionEntry> Actions { get; }
Property Value
ApplierWarnings
Declaration
public IReadOnlyList<string> ApplierWarnings { get; }
Property Value
| Type |
Description |
| IReadOnlyList<string> |
Every warning PrefabProceduralAnimatorApplier.ValidateSetup reported for this model.
|
Declaration
public IReadOnlyList<string> BoneIdsWithoutTransform { get; }
Property Value
HasProceduralAnimator
Declaration
public bool HasProceduralAnimator { get; }
Property Value
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
HasStateBus
Declaration
public bool HasStateBus { get; }
Property Value
Layers
Declaration
public IReadOnlyList<ProceduralLayerEntry> Layers { get; }
Property Value
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
StateKeys
Declaration
public IReadOnlyList<ProceduralStateKeyEntry> StateKeys { get; }
Property Value