Class EditableBoneWeight | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class EditableBoneWeight

    Inheritance
    System.Object
    EditableBoneWeight
    Namespace: UnityEditor.Experimental.U2D.Animation
    Syntax
    [Serializable]
    public class EditableBoneWeight : IEnumerable<BoneWeightChannel>, IEnumerable

    Properties

    Count

    Declaration
    public int Count { get; }
    Property Value
    Type Description
    System.Int32

    Item[Int32]

    Declaration
    public BoneWeightChannel this[int i] { get; set; }
    Parameters
    Type Name Description
    System.Int32 i
    Property Value
    Type Description
    BoneWeightChannel

    Methods

    AddChannel(Int32, Single, Boolean)

    Declaration
    public void AddChannel(int boneIndex, float weight, bool enabled)
    Parameters
    Type Name Description
    System.Int32 boneIndex
    System.Single weight
    System.Boolean enabled

    Clear()

    Declaration
    public void Clear()

    GetEnumerator()

    Declaration
    public IEnumerator<BoneWeightChannel> GetEnumerator()
    Returns
    Type Description
    System.Collections.Generic.IEnumerator<BoneWeightChannel>

    RemoveChannel(Int32)

    Declaration
    public void RemoveChannel(int channelIndex)
    Parameters
    Type Name Description
    System.Int32 channelIndex

    Sort()

    Declaration
    public void Sort()
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023