Summary
A job which simulates the behaviour of springs.
- Assembly
- FlexiMotion
.dll - Namespace
- FlexiMotion
.Jobs - Interfaces
-
- I
Job Parallel For Transform
- I
- 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 |
---|---|
Burst |
Constructors
Name | Summary |
---|---|
SpringSimulationJob |
Creates a new FlexiMotion.Jobs.SpringSimulationJob . |
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.
|
|
Tail |
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 |
void |
Executes this job for the given `index`.
|
Extension Methods
Name | Value | Summary |
---|---|---|
LogTemp |
T |
Debug.Log(message, context) with an [System.ObsoleteAttribute ] warning so you remember
to remove any calls.
From FMUtilities
|
SafeGetHashCode |
int |
Uses
System.Collections.Generic.EqualityComparer`1.Default to get a hash code.From FMUtilities
|