docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ColorTweenableVariable

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

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

    Methods

    ScheduleTweenJob(ref TweenJobData<Color>)

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

    Typed job data used in tween job.

    Returns
    Type Description
    JobHandle

    Returns the handle identifying the scheduled job.

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

    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)