ApplyTailPositionsJob Struct

Summary

A job which uses tail details to set UnityEngine.Jobs.TransformAccess.rotation.
Assembly
FlexiMotion.dll
Namespace
FlexiMotion.Jobs
Interfaces
  • IJobParallelForTransform
Base Types
  • ValueType
graph BT Type-->Base0["ValueType"] Type-.->Interface0["IJobParallelForTransform"] Type["ApplyTailPositionsJob"] class Type type-node

Syntax

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

Attributes

Type Description
BurstCompileAttribute

Constructors

Name Summary
ApplyTailPositionsJob(NativeArray<quaternion>, NativeArray<DirectionLength>, NativeArray<float3>) Creates a new FlexiMotion.Jobs.ApplyTailPositionsJob.

Fields

Name Constant Value Summary
BaseRotations
[Unity.Collections.ReadOnlyAttribute] The starting rotation of each object.
TailOrigins
[Unity.Collections.ReadOnlyAttribute] The starting details of each object.
TailPositions
[Unity.Collections.ReadOnlyAttribute] The world position of each object's tail.

Methods

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

Extension Methods

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