RecenterSpringsJob Struct

Summary

A job which resets transforms and tail positions to their starting values without affecting their velocity.
Assembly
FlexiMotion.dll
Namespace
FlexiMotion.Jobs
Interfaces
  • IJobParallelForTransform
Base Types
  • ValueType
graph BT Type-->Base0["ValueType"] Type-.->Interface0["IJobParallelForTransform"] Type["RecenterSpringsJob"] class Type type-node

Syntax

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

Attributes

Type Description
BurstCompileAttribute

Constructors

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

Fields

Name Constant Value Summary
TailOrigins
[Unity.Collections.ReadOnlyAttribute] The starting details of each tail.
TailPositions
The position of each tail.
TailPreviousPositions
The previous position of each tail.

Methods

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

Extension Methods

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