logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Struct BoneId

    Stable identifier for rig bones in the procedural animation system. Engine-agnostic: does NOT contain Transform references. Immutable value object that supports equality comparison and hashing.

    Implements
    IEquatable<BoneId>
    Inherited Members
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    Namespace: Serenity.ProceduralExpression.Domain.ValueObjects
    Assembly: Serenity.ProceduralExpression.Domain.dll
    Syntax
    public readonly struct BoneId : IEquatable<BoneId>

    Constructors

    BoneId(string)

    Creates a new BoneId with the specified identifier.

    Declaration
    public BoneId(string value)
    Parameters
    Type Name Description
    string value

    The unique string identifier for the bone. Cannot be null.

    Fields

    Value

    The unique string identifier for this bone.

    Declaration
    public readonly string Value
    Field Value
    Type Description
    string

    Properties

    IsValid

    Checks if this BoneId has a valid, non-empty value.

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

    Methods

    Equals(BoneId)

    Declaration
    public bool Equals(BoneId other)
    Parameters
    Type Name Description
    BoneId other
    Returns
    Type Description
    bool

    Equals(object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    object obj
    Returns
    Type Description
    bool
    Overrides
    ValueType.Equals(object)

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int
    Overrides
    ValueType.GetHashCode()

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    string
    Overrides
    ValueType.ToString()

    Operators

    operator ==(BoneId, BoneId)

    Declaration
    public static bool operator ==(BoneId left, BoneId right)
    Parameters
    Type Name Description
    BoneId left
    BoneId right
    Returns
    Type Description
    bool

    explicit operator BoneId(string)

    Declaration
    public static explicit operator BoneId(string value)
    Parameters
    Type Name Description
    string value
    Returns
    Type Description
    BoneId

    implicit operator string(BoneId)

    Declaration
    public static implicit operator string(BoneId id)
    Parameters
    Type Name Description
    BoneId id
    Returns
    Type Description
    string

    operator !=(BoneId, BoneId)

    Declaration
    public static bool operator !=(BoneId left, BoneId right)
    Parameters
    Type Name Description
    BoneId left
    BoneId right
    Returns
    Type Description
    bool

    Implements

    IEquatable<T>
    In this article
    © 2026 Serenity. All Rights Reserved