Class Vector4TweenableVariable
Bindable variable that can tween over time towards a target float4 (Vector4) value. Uses an async implementation to tween using the job system.
Inheritance
Vector4TweenableVariable
Inherited Members
Namespace: UnityEngine.XR.Interaction.Toolkit.Utilities.Tweenables.Primitives
Syntax
public class Vector4TweenableVariable : TweenableVariableAsyncBase<float4>, IReadOnlyBindableVariable<float4>, IDisposable
Methods
ScheduleTweenJob(ref TweenJobData<float4>)
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<float4> jobData)
Parameters
Type | Name | Description |
---|---|---|
TweenJobData<float4> | jobData |
Returns
Type | Description |
---|---|
JobHandle | Returns the handle identifying the scheduled job. |
Overrides
UnityEngine.XR.Interaction.Toolkit.Utilities.Tweenables.TweenableVariableAsyncBase<Unity.Mathematics.float4>.ScheduleTweenJob(UnityEngine.XR.Interaction.Toolkit.AffordanceSystem.Jobs.TweenJobData<Unity.Mathematics.float4>)