SpringSimulationJob Struct

Summary

A job which simulates the behaviour of springs.
Assembly
FlexiMotion.dll
Namespace
FlexiMotion.Jobs
Interfaces
  • IJobParallelForTransform
Base Types
  • ValueType
graph BT Type-->Base0["ValueType"] Type-.->Interface0["IJobParallelForTransform"] Type["SpringSimulationJob"] class Type type-node

Syntax

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

Attributes

Type Description
BurstCompileAttribute

Constructors

Fields

Name Constant Value Summary
BaseRotations
[Unity.Collections.ReadOnlyAttribute] The starting rotation of each object.
SpringDetails
[Unity.Collections.ReadOnlyAttribute] The parameters of each spring.
TailOrigins
[Unity.Collections.ReadOnlyAttribute] The starting details of each tail.
TailPositions
The current position of each spring's tail.
TailPreviousPositions
The previous position of each spring's tail.

Properties

Name Value Summary
DeltaTime float
The amount of time that has passed since the last update.
PreviousDeltaTime float
The delta time from the previous update.

Methods

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

Extension Methods

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