docs.unity3d.com
Search Results for

    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
    Assembly: Unity.Animation.Rigging.dll
    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.

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)