Interface IAnimatableProperty<T> | Animation Rigging | 1.0.3
docs.unity3d.com
    Show / Hide Table of Contents

    Interface IAnimatableProperty<T>

    Interface for animatable property handles used to read and write values in the AnimationStream.

    Namespace: UnityEngine.Animations.Rigging
    Syntax
    public interface IAnimatableProperty<T>
    Type Parameters
    Name Description
    T

    The animatable value type

    Methods

    Get(AnimationStream)

    Gets the property value from a stream.

    Declaration
    T Get(AnimationStream stream)
    Parameters
    Type Name Description
    AnimationStream stream

    The AnimationStream that holds the animated values.

    Returns
    Type Description
    T

    The property value.

    Set(AnimationStream, T)

    Sets the property value into a stream.

    Declaration
    void Set(AnimationStream stream, T value)
    Parameters
    Type Name Description
    AnimationStream stream

    The AnimationStream that holds the animated values.

    T value

    The new property value.

    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