Interface IBoneGizmoView | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Interface IBoneGizmoView

    Namespace: UnityEditor.Experimental.U2D.Animation
    Syntax
    public interface IBoneGizmoView

    Methods

    CanLayout()

    Declaration
    bool CanLayout()
    Returns
    Type Description
    System.Boolean

    CanRepaint()

    Declaration
    bool CanRepaint()
    Returns
    Type Description
    System.Boolean

    DoBonePosition(Transform, out Vector3)

    Declaration
    bool DoBonePosition(Transform boneTransform, out Vector3 deltaPosition)
    Parameters
    Type Name Description
    Transform boneTransform
    Vector3 deltaPosition
    Returns
    Type Description
    System.Boolean

    DoBoneRotation(Transform, out Single)

    Declaration
    bool DoBoneRotation(Transform boneTransform, out float deltaAngle)
    Parameters
    Type Name Description
    Transform boneTransform
    System.Single deltaAngle
    Returns
    Type Description
    System.Boolean

    DoSelection(Transform, out BoneGizmoSelectionMode)

    Declaration
    bool DoSelection(Transform boneTransform, out BoneGizmoSelectionMode mode)
    Parameters
    Type Name Description
    Transform boneTransform
    BoneGizmoSelectionMode mode
    Returns
    Type Description
    System.Boolean

    DrawBone(Transform, Single, Single)

    Declaration
    void DrawBone(Transform boneTransform, float length, float alpha)
    Parameters
    Type Name Description
    Transform boneTransform
    System.Single length
    System.Single alpha

    DrawParentBoneLink(Transform, Single, Color)

    Declaration
    void DrawParentBoneLink(Transform boneTransform, float parentLength, Color color)
    Parameters
    Type Name Description
    Transform boneTransform
    System.Single parentLength
    Color color

    GetHandleSize(Vector3)

    Declaration
    float GetHandleSize(Vector3 position)
    Parameters
    Type Name Description
    Vector3 position
    Returns
    Type Description
    System.Single

    IsActionActive(Transform, BoneGizmoAction)

    Declaration
    bool IsActionActive(Transform boneTransform, BoneGizmoAction action)
    Parameters
    Type Name Description
    Transform boneTransform
    BoneGizmoAction action
    Returns
    Type Description
    System.Boolean

    IsActionHot(Transform, BoneGizmoAction)

    Declaration
    bool IsActionHot(Transform boneTransform, BoneGizmoAction action)
    Parameters
    Type Name Description
    Transform boneTransform
    BoneGizmoAction action
    Returns
    Type Description
    System.Boolean

    IsActionHot(BoneGizmoAction)

    Declaration
    bool IsActionHot(BoneGizmoAction action)
    Parameters
    Type Name Description
    BoneGizmoAction action
    Returns
    Type Description
    System.Boolean

    IsBoneVisible(Transform, Single, Single)

    Declaration
    bool IsBoneVisible(Transform boneTransform, float length, float alpha)
    Parameters
    Type Name Description
    Transform boneTransform
    System.Single length
    System.Single alpha
    Returns
    Type Description
    System.Boolean

    IsVisible(Vector3)

    Declaration
    bool IsVisible(Vector3 position)
    Parameters
    Type Name Description
    Vector3 position
    Returns
    Type Description
    System.Boolean

    LayoutBone(Transform, Single)

    Declaration
    void LayoutBone(Transform boneTransform, float length)
    Parameters
    Type Name Description
    Transform boneTransform
    System.Single length

    SetupLayout()

    Declaration
    void SetupLayout()
    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