Class FloatTweenableVariable
Bindable variable that can tween over time towards a target float value. Uses an async implementation to tween using the job system.
Inherited Members
BindableVariable<float>.ValueEquals(float)
BindableVariableBase<float>.BindingCount
BindableVariableBase<float>.SetValueWithoutNotify(float)
BindableVariableBase<float>.BroadcastValue()
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
Implements
Unity.XR.CoreUtils.Bindings.Variables.IReadOnlyBindableVariable<T>