ApplyRotationsJob Struct

Summary

A job which sets UnityEngine.Jobs.TransformAccess.localRotation.
Assembly
FlexiMotion.dll
Namespace
FlexiMotion.Jobs
Interfaces
  • IJobParallelForTransform
Base Types
  • ValueType
graph BT Type-->Base0["ValueType"] Type-.->Interface0["IJobParallelForTransform"] Type["ApplyRotationsJob"] class Type type-node

Syntax

[BurstCompile(FloatPrecision.Low, FloatMode.Fast)]
public struct ApplyRotationsJob : ValueType, IJobParallelForTransform

Attributes

Type Description
BurstCompileAttribute

Constructors

Name Summary
ApplyRotationsJob(NativeArray<quaternion>) Creates a new FlexiMotion.Jobs.ApplyRotationsJob.

Fields

Name Constant Value Summary
LocalRotations
[Unity.Collections.ReadOnlyAttribute] The rotations to assign.

Methods

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

Extension Methods

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