docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class FloatTweenableVariable

    Bindable variable that can tween over time towards a target float value. Uses an async implementation to tween using the job system.

    Inheritance
    object
    BindableVariableBase<float>
    BindableVariable<float>
    TweenableVariableBase<float>
    TweenableVariableAsyncBase<float>
    FloatTweenableVariable
    Implements
    IReadOnlyBindableVariable<float>
    IDisposable
    Inherited Members
    TweenableVariableAsyncBase<float>.Value
    TweenableVariableAsyncBase<float>.Dispose()
    TweenableVariableAsyncBase<float>.PreprocessTween()
    TweenableVariableAsyncBase<float>.ExecuteTween(float, float, float, bool)
    TweenableVariableAsyncBase<float>.OnAnimationCurveChanged(AnimationCurve)
    TweenableVariableBase<float>.k_NearlyOne
    TweenableVariableBase<float>.animationCurve
    TweenableVariableBase<float>.target
    TweenableVariableBase<float>.initialValue
    TweenableVariableBase<float>.HandleTween(float)
    TweenableVariableBase<float>.StartAutoTween(float)
    TweenableVariableBase<float>.PlaySequence(float, float, float, Action)
    TweenableVariableBase<float>.OnTargetChanged(float)
    BindableVariable<float>.ValueEquals(float)
    BindableVariableBase<float>.BindingCount
    BindableVariableBase<float>.SetValueWithoutNotify(float)
    BindableVariableBase<float>.Subscribe(Action<float>)
    BindableVariableBase<float>.SubscribeAndUpdate(Action<float>)
    BindableVariableBase<float>.Unsubscribe(Action<float>)
    BindableVariableBase<float>.BroadcastValue()
    BindableVariableBase<float>.Task(Func<float, bool>, CancellationToken)
    BindableVariableBase<float>.Task(float, CancellationToken)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.XR.Interaction.Toolkit.Utilities.Tweenables.Primitives
    Assembly: Unity.XR.Interaction.Toolkit.dll
    Syntax
    public class FloatTweenableVariable : TweenableVariableAsyncBase<float>, IReadOnlyBindableVariable<float>, IDisposable

    Methods

    ScheduleTweenJob(ref TweenJobData<float>)

    Generate the tween job from the given job data and schedule the job for execution on a worker thread.

    Declaration
    protected override JobHandle ScheduleTweenJob(ref TweenJobData<float> jobData)
    Parameters
    Type Name Description
    TweenJobData<float> jobData

    Typed job data used in tween job.

    Returns
    Type Description
    JobHandle

    Returns the handle identifying the scheduled job.

    Overrides
    TweenableVariableAsyncBase<float>.ScheduleTweenJob(ref TweenJobData<float>)

    Implements

    Unity.XR.CoreUtils.Bindings.Variables.IReadOnlyBindableVariable<T>
    IDisposable
    In This Article
    Back to top
    Copyright © 2024 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)