Class BoneRenderer
The BoneRenderer component is responsible for displaying pickable bones in the Scene View. This component does nothing during runtime.
Inherited Members
UnityEngine.Component.GetComponentInParent<T>(System.Boolean)
UnityEngine.Object.FindObjectsByType(System.Type, UnityEngine.FindObjectsSortMode)
UnityEngine.Object.FindObjectsByType(System.Type, UnityEngine.FindObjectsInactive, UnityEngine.FindObjectsSortMode)
UnityEngine.Object.FindObjectsByType<T>(UnityEngine.FindObjectsSortMode)
UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
UnityEngine.Object.FindObjectsByType<T>(UnityEngine.FindObjectsInactive, UnityEngine.FindObjectsSortMode)
UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
UnityEngine.Object.FindFirstObjectByType<T>()
UnityEngine.Object.FindAnyObjectByType<T>()
UnityEngine.Object.FindFirstObjectByType<T>(UnityEngine.FindObjectsInactive)
UnityEngine.Object.FindAnyObjectByType<T>(UnityEngine.FindObjectsInactive)
UnityEngine.Object.FindFirstObjectByType(System.Type)
UnityEngine.Object.FindAnyObjectByType(System.Type)
UnityEngine.Object.FindFirstObjectByType(System.Type, UnityEngine.FindObjectsInactive)
UnityEngine.Object.FindAnyObjectByType(System.Type, UnityEngine.FindObjectsInactive)
Namespace: UnityEngine.Animations.Rigging
Syntax
[ExecuteInEditMode]
[AddComponentMenu("Animation Rigging/Setup/Bone Renderer")]
[HelpURL("https://docs.unity3d.com/Packages/com.unity.animation.rigging@1.3/manual/RiggingWorkflow.html#bone-renderer-component")]
public class BoneRenderer : MonoBehaviour
Fields
boneColor
Color of the bones.
Declaration
public Color boneColor
Field Value
Type | Description |
---|---|
Color |
boneShape
Shape of the bones.
Declaration
public BoneRenderer.BoneShape boneShape
Field Value
Type | Description |
---|---|
BoneRenderer.BoneShape |
boneSize
Size of the bones.
Declaration
[Range(0.01F, 5F)]
public float boneSize
Field Value
Type | Description |
---|---|
Single |
drawBones
Toggles whether to render bone shapes or not.
Declaration
public bool drawBones
Field Value
Type | Description |
---|---|
Boolean |
drawTripods
Toggles whether to draw tripods on bones or not.
Declaration
public bool drawTripods
Field Value
Type | Description |
---|---|
Boolean |
tripodSize
Size of the tripod axis.
Declaration
[Range(0.01F, 5F)]
public float tripodSize
Field Value
Type | Description |
---|---|
Single |
Properties
transforms
Transform references in the BoneRenderer hierarchy that are used to build bones.
Declaration
public Transform[] transforms { get; }
Property Value
Type | Description |
---|---|
Transform[] |