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
BindableVariableBase<float2>
BindableVariable<float2>
TweenableVariableBase<float2>
TweenableVariableAsyncBase<float2>
Vector2TweenableVariable
Inherited Members
BindableVariable<float2>.ValueEquals(float2)
BindableVariableBase<float2>.BindingCount
BindableVariableBase<float2>.SetValueWithoutNotify(float2)
BindableVariableBase<float2>.BroadcastValue()
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
Implements
Unity.XR.CoreUtils.Bindings.Variables.IReadOnlyBindableVariable<T>