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.
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
Properties
IsValid
Checks if this BoneId has a valid, non-empty value.
Declaration
public bool IsValid { get; }
Property Value
Methods
Equals(BoneId)
Declaration
public bool Equals(BoneId other)
Parameters
| Type |
Name |
Description |
| BoneId |
other |
|
Returns
Equals(object)
Declaration
public override bool Equals(object obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
ToString()
Declaration
public override string ToString()
Returns
Overrides
Operators
operator ==(BoneId, BoneId)
Declaration
public static bool operator ==(BoneId left, BoneId right)
Parameters
Returns
explicit operator BoneId(string)
Declaration
public static explicit operator BoneId(string value)
Parameters
| Type |
Name |
Description |
| string |
value |
|
Returns
implicit operator string(BoneId)
Declaration
public static implicit operator string(BoneId id)
Parameters
| Type |
Name |
Description |
| BoneId |
id |
|
Returns
operator !=(BoneId, BoneId)
Declaration
public static bool operator !=(BoneId left, BoneId right)
Parameters
Returns
Implements