# SkeletonBone

> Details of the Transform name mapped to the skeleton bone of a model and its default position and rotation in the T-pose.

## Definition

* **Type:** Struct
* **Namespace:** [UnityEngine](/engine/6000.7/script-reference/unityengine.md)
* **Assembly:** UnityEngine.AnimationModule

```csharp
public struct SkeletonBone
```

## Remarks

The skeleton models used in Unity have multiple bones.  The [SkeletonBone](/engine/6000.7/script-reference/unityengine/skeletonbone.md) struct has properties that are used to describe the position, rotation and scale of each bone.  The bones are not shown.  A OnDrawGizmosSelected tool can be created to view the skeleton. An array of [SkeletonBone](/engine/6000.7/script-reference/unityengine/skeletonbone.md) positions can be used to make a line model using [Gizmos.DrawLine](/engine/6000.7/script-reference/unityengine/gizmos/drawline.md).

An array of [SkeletonBone](/engine/6000.7/script-reference/unityengine/skeletonbone.md)s are used in [\_skeleton](/engine/6000.7/script-reference/unityengine/humandescription/skeleton.md).

## Fields

| Value                                                                            | Description                                     |
| -------------------------------------------------------------------------------- | ----------------------------------------------- |
| [name](/engine/6000.7/script-reference/unityengine/skeletonbone/name.md)         | The name of the Transform mapped to the bone.   |
| [position](/engine/6000.7/script-reference/unityengine/skeletonbone/position.md) | The T-pose position of the bone in local space. |
| [rotation](/engine/6000.7/script-reference/unityengine/skeletonbone/rotation.md) | The T-pose rotation of the bone in local space. |
| [scale](/engine/6000.7/script-reference/unityengine/skeletonbone/scale.md)       | The T-pose scaling of the bone in local space.  |
