logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Namespace Serenity.ProceduralExpression.Infrastructure.Settings

    Classes

    BoneBinding

    Maps a domain BoneId to a Unity Transform reference. Used by UnityRigDefinition to connect engine-agnostic bone identifiers to actual transforms.

    ProceduralExpressionProfileSO

    Centralized configuration asset that groups rules, layers, actions, and material targets.

    Rules as Composition Root: The Rules array is the primary authored list. Layers and Actions are automatically derived from Rules at runtime. Legacy Layers/Actions arrays are deprecated and hidden, but kept for backward compatibility with existing assets.

    Provides editor-only references for bone and material dropdown population.

    UnityRigDefinition

    Maps domain BoneIds to Unity Transform references. Can be used as a MonoBehaviour (scene-based) or ScriptableObject (prefab-based). Also provides bone ID list for editor dropdown population.

    UnityStateKey

    ScriptableObject representing a state key in the procedural animation system. State keys are the foundation of the key-based state system. All animation behaviors are driven by StateKey → float mappings.

    Structs

    BoneIdRef

    Serializable reference to a bone ID for use in Unity Inspector. Provides type-safe bone selection with dropdown support via custom PropertyDrawer.

    MaterialIdRef

    Serializable reference to a material ID for use in Unity Inspector. Provides type-safe material target selection with dropdown support via custom PropertyDrawer. Analogous to BoneIdRef for material targets.

    TransformIdRef

    Serializable reference to a transform ID for use in Unity Inspector. Provides type-safe transform target selection with dropdown support via custom PropertyDrawer. Analogous to MaterialIdRef for material targets.

    UnityMaterialTargetMapping

    Represents a mapping from a MaterialId to a specific Renderer on the prefab. Stores relative path for prefab-safe serialization (like bone mappings).

    In the Editor, users select a Renderer via ObjectField. The RendererPath and ColorPropertyName are auto-generated from the selection. At runtime, only the path-based fields are used for resolution.

    UnityProceduralContext

    Unity-specific procedural context passed to all layers and actions. Provides convenient access to state values via UnityStateKey references.

    UnityTransformTargetMapping

    Represents a mapping from a TransformId to a specific Transform on the prefab. Stores relative path for prefab-safe serialization (like bone mappings).

    In the Editor, users select a Transform via ObjectField. The TransformPath is auto-generated from the selection. At runtime, only the path-based fields are used for resolution.

    In this article
    © 2026 Serenity. All Rights Reserved