logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class ProceduralBoneExclusionSet

    The bones one animator has stopped driving — e.g. limb bones handed off to ragdoll physics on death. Any pose offset targeting an excluded bone is stripped from the frame's pose right before it reaches the rig.

    Inheritance
    object
    ProceduralBoneExclusionSet
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    Namespace: Serenity.ProceduralAnimator.Infrastructure.Services
    Assembly: Serenity.UnityProceduralAnimator.Infrastructure.dll
    Syntax
    public sealed class ProceduralBoneExclusionSet

    Constructors

    ProceduralBoneExclusionSet()

    Declaration
    public ProceduralBoneExclusionSet()

    Methods

    Clear()

    Resumes driving every bone.

    Declaration
    public void Clear()

    Replace(IEnumerable<string>)

    Replaces the excluded set (this is not additive). A null or empty sequence resumes driving every bone, exactly as Clear() does.

    Declaration
    public void Replace(IEnumerable<string> boneIds)
    Parameters
    Type Name Description
    IEnumerable<string> boneIds

    StripFrom(PoseDelta)

    Removes every excluded bone's position and rotation offset from the pose. No-op, and allocation-free, when nothing is excluded.

    Declaration
    public void StripFrom(PoseDelta pose)
    Parameters
    Type Name Description
    PoseDelta pose
    In this article
    © 2026 Serenity. All Rights Reserved