Class BoneBinding
Maps a domain BoneId to a Unity Transform reference. Used by UnityRigDefinition to connect engine-agnostic bone identifiers to actual transforms.
Inherited Members
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 |