docs.unity.cn
    Show / Hide Table of Contents

    Class BoneRenderer

    The BoneRenderer component is responsible for displaying pickable bones in the Scene View. This component does nothing during runtime.

    Inheritance
    Object
    BoneRenderer
    Namespace: UnityEngine.Animations.Rigging
    Syntax
    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
    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
    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[]
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on Tuesday, August 24, 2021