Struct Vector2Property | Animation Rigging | 0.3.4-preview
docs.unity3d.com
    Show / Hide Table of Contents

    Struct Vector2Property

    Namespace: UnityEngine.Animations.Rigging
    Syntax
    public struct Vector2Property : IAnimatableProperty<Vector2>

    Fields

    x

    Declaration
    public PropertyStreamHandle x
    Field Value
    Type Description
    PropertyStreamHandle

    y

    Declaration
    public PropertyStreamHandle y
    Field Value
    Type Description
    PropertyStreamHandle

    Methods

    Bind(Animator, Component, String)

    Declaration
    public static Vector2Property Bind(Animator animator, Component component, string name)
    Parameters
    Type Name Description
    Animator animator
    Component component
    String name
    Returns
    Type Description
    Vector2Property

    BindCustom(Animator, String)

    Declaration
    public static Vector2Property BindCustom(Animator animator, string name)
    Parameters
    Type Name Description
    Animator animator
    String name
    Returns
    Type Description
    Vector2Property

    Get(AnimationStream)

    Declaration
    public Vector2 Get(AnimationStream stream)
    Parameters
    Type Name Description
    AnimationStream stream
    Returns
    Type Description
    Vector2
    Implements
    IAnimatableProperty<T>.Get(AnimationStream)

    Set(AnimationStream, Vector2)

    Declaration
    public void Set(AnimationStream stream, Vector2 value)
    Parameters
    Type Name Description
    AnimationStream stream
    Vector2 value
    Implements
    IAnimatableProperty<T>.Set(AnimationStream, T)
    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