logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class TransformRigApplier

    Default implementation of rig applier that directly manipulates Unity Transforms. Position: localPosition = basePosition + offset (additive) Rotation: localRotation = baseRotation * offset (quaternion multiplication)

    Inheritance
    object
    TransformRigApplier
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.ProceduralExpression.Infrastructure.Services
    Assembly: Serenity.UnityProceduralExpression.Infrastructure.dll
    Syntax
    public class TransformRigApplier

    Constructors

    TransformRigApplier()

    Declaration
    public TransformRigApplier()

    Methods

    Apply(UnityRigDefinition, PoseDelta)

    Applies a pose delta to the rig. Position: basePosition + offset (additive) Rotation: baseRotation * offset (quaternion multiplication) Missing bones are logged once and ignored safely.

    Declaration
    public void Apply(UnityRigDefinition rig, PoseDelta pose)
    Parameters
    Type Name Description
    UnityRigDefinition rig
    PoseDelta pose

    CacheBasePose(UnityRigDefinition)

    Caches the base pose of all bones in the rig. Must be called before any pose deltas are applied.

    Declaration
    public void CacheBasePose(UnityRigDefinition rig)
    Parameters
    Type Name Description
    UnityRigDefinition rig

    ResetToBasePose(UnityRigDefinition)

    Resets all bones to their cached base pose. Call at the start of each frame before applying new pose deltas.

    Declaration
    public void ResetToBasePose(UnityRigDefinition rig)
    Parameters
    Type Name Description
    UnityRigDefinition rig
    In this article
    © 2026 Serenity. All Rights Reserved