ResetSpringsJob Struct

Summary

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

Syntax

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

Attributes

Type Description
BurstCompileAttribute

Constructors

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

Fields

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

Methods

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

Extension Methods

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