Click or drag to resize

TransitionDefinitionTryGetMultithreadedTransitionValues Method

Use the Jobs system to get transition values for items in a NativeArray.

Namespace:  DustProductions.Core
Assembly:  DustProductions.Core (in DustProductions.Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public bool TryGetMultithreadedTransitionValues(
	NativeArray<float> nativeStarts,
	NativeArray<float> nativeEnds,
	float currentSeconds,
	NativeArray<float> nativeResults,
	out JobHandle job
)

Parameters

nativeStarts
Type: NativeArraySingle
The float values before the transitions began.
nativeEnds
Type: NativeArraySingle
The float values after the transition completes. NOTE: This must be the same size NativeArray as nativeStarts.
currentSeconds
Type: SystemSingle
The number of seconds elapsed since the transition began.
nativeResults
Type: NativeArraySingle
A NativeArray that will hold the results of the calculations after they complete. NOTE: This must be the same size NativeArray as nativeStarts.
job
Type: JobHandle
The JobHandle for the started job.

Return Value

Type: Boolean
True if the job has been scheduled, false otherwise.
See Also