logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class BoneBinding

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

    Inheritance
    object
    BoneBinding
    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.Settings
    Assembly: Serenity.UnityProceduralExpression.Infrastructure.dll
    Syntax
    public class BoneBinding

    Constructors

    BoneBinding()

    Creates an empty bone binding.

    Declaration
    public BoneBinding()

    BoneBinding(string, Transform)

    Creates a bone binding with the specified ID and transform.

    Declaration
    public BoneBinding(string boneId, Transform transform)
    Parameters
    Type Name Description
    string boneId
    Transform transform

    Fields

    BoneId

    Declaration
    public string BoneId
    Field Value
    Type Description
    string

    Transform

    Declaration
    public Transform Transform
    Field Value
    Type Description
    Transform

    Properties

    IsValid

    Checks if this binding is valid (has both ID and transform).

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

    Methods

    ToBoneId()

    Converts the string BoneId to a domain BoneId struct.

    Declaration
    public BoneId ToBoneId()
    Returns
    Type Description
    BoneId
    In this article
    © 2026 Serenity. All Rights Reserved