Class Vector3TweenableVariable
Bindable variable that can tween over time towards a target float3 (Vector3) value. Uses an async implementation to tween using the job system.
Inheritance
BindableVariableBase<float3>
BindableVariable<float3>
TweenableVariableBase<float3>
TweenableVariableAsyncBase<float3>
Vector3TweenableVariable
Inherited Members
BindableVariable<float3>.ValueEquals(float3)
BindableVariableBase<float3>.BindingCount
BindableVariableBase<float3>.SetValueWithoutNotify(float3)
BindableVariableBase<float3>.BroadcastValue()
Namespace: UnityEngine.XR.Interaction.Toolkit.Utilities.Tweenables.Primitives
Assembly: Unity.XR.Interaction.Toolkit.dll
Syntax
public class Vector3TweenableVariable : TweenableVariableAsyncBase<float3>, IReadOnlyBindableVariable<float3>, IDisposable
Methods
ScheduleTweenJob(ref TweenJobData<float3>)
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<float3> jobData)
Parameters
Type | Name | Description |
---|---|---|
TweenJobData<float3> | 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>