docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class Vector2TweenableVariable

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

    Inheritance
    object
    BindableVariableBase<float2>
    BindableVariable<float2>
    TweenableVariableBase<float2>
    TweenableVariableAsyncBase<float2>
    Vector2TweenableVariable
    Implements
    IReadOnlyBindableVariable<float2>
    IDisposable
    Inherited Members
    TweenableVariableAsyncBase<float2>.Value
    TweenableVariableAsyncBase<float2>.Dispose()
    TweenableVariableAsyncBase<float2>.PreprocessTween()
    TweenableVariableAsyncBase<float2>.ExecuteTween(float2, float2, float, bool)
    TweenableVariableAsyncBase<float2>.OnAnimationCurveChanged(AnimationCurve)
    TweenableVariableBase<float2>.k_NearlyOne
    TweenableVariableBase<float2>.animationCurve
    TweenableVariableBase<float2>.target
    TweenableVariableBase<float2>.initialValue
    TweenableVariableBase<float2>.HandleTween(float)
    TweenableVariableBase<float2>.StartAutoTween(float)
    TweenableVariableBase<float2>.PlaySequence(float2, float2, float, Action)
    TweenableVariableBase<float2>.OnTargetChanged(float2)
    BindableVariable<float2>.ValueEquals(float2)
    BindableVariableBase<float2>.BindingCount
    BindableVariableBase<float2>.SetValueWithoutNotify(float2)
    BindableVariableBase<float2>.Subscribe(Action<float2>)
    BindableVariableBase<float2>.SubscribeAndUpdate(Action<float2>)
    BindableVariableBase<float2>.Unsubscribe(Action<float2>)
    BindableVariableBase<float2>.BroadcastValue()
    BindableVariableBase<float2>.Task(Func<float2, bool>, CancellationToken)
    BindableVariableBase<float2>.Task(float2, 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 Vector2TweenableVariable : TweenableVariableAsyncBase<float2>, IReadOnlyBindableVariable<float2>, IDisposable

    Methods

    ScheduleTweenJob(ref TweenJobData<float2>)

    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<float2> jobData)
    Parameters
    Type Name Description
    TweenJobData<float2> jobData

    Typed job data used in tween job.

    Returns
    Type Description
    JobHandle

    Returns the handle identifying the scheduled job.

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

    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)