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
ColorTweenableVariable
Inherited Members
Namespace: UnityEngine.XR.Interaction.Toolkit.Utilities.Tweenables.Primitives
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 |
Returns
Type | Description |
---|---|
JobHandle | Returns the handle identifying the scheduled job. |
Overrides
UnityEngine.XR.Interaction.Toolkit.Utilities.Tweenables.TweenableVariableAsyncBase<UnityEngine.Color>.ScheduleTweenJob(UnityEngine.XR.Interaction.Toolkit.AffordanceSystem.Jobs.TweenJobData<UnityEngine.Color>)