TransformPositionsJob Struct

Summary

A job which multiplies positions by a matrix.
Assembly
FlexiMotion.dll
Namespace
FlexiMotion.Jobs
Interfaces
  • IJobParallelFor
Base Types
  • ValueType
graph BT Type-->Base0["ValueType"] Type-.->Interface0["IJobParallelFor"] Type["TransformPositionsJob"] class Type type-node

Syntax

[BurstCompile(FloatPrecision.Low, FloatMode.Fast)]
public struct TransformPositionsJob : ValueType, IJobParallelFor

Attributes

Type Description
BurstCompileAttribute

Constructors

Name Summary
TransformPositionsJob(float4x4, NativeArray<float3>, NativeArray<float3>) Creates a new FlexiMotion.Jobs.TransformPositionsJob.

Fields

Name Constant Value Summary
positions
The current positions.
previousPositions
The previous positions.
transform
[Unity.Collections.ReadOnlyAttribute] The transform matrix to apply to the positions.

Methods

Name Value Summary
Execute(int) void
Executes this job for the given `index`.
Schedule(JobHandle, int) JobHandle
Schedules this job.

Extension Methods

Name Value Summary
LogTemp<TransformPositionsJob>(Object) T
Debug.Log(message, context) with an [System.ObsoleteAttribute] warning so you remember to remove any calls.
SafeGetHashCode<TransformPositionsJob>() int
Uses System.Collections.Generic.EqualityComparer`1.Default to get a hash code.