LocalToWorldPositionsJob Struct

Summary

A job which converts local positions to world positions.
Assembly
FlexiMotion.dll
Namespace
FlexiMotion.Jobs
Interfaces
  • IDisposable
  • IJobParallelForTransform
Base Types
  • ValueType
graph BT Type-->Base0["ValueType"] Type-.->Interface0["IDisposable"] Type-.->Interface1["IJobParallelForTransform"] Type["LocalToWorldPositionsJob"] class Type type-node

Syntax

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

Attributes

Type Description
BurstCompileAttribute

Constructors

Name Summary
LocalToWorldPositionsJob(int) Creates a new FlexiMotion.Jobs.LocalToWorldPositionsJob.

Fields

Name Constant Value Summary
LocalPositions
[Unity.Collections.ReadOnlyAttribute] The local position of each object.
worldPositions
[Unity.Collections.WriteOnlyAttribute] The calculated world position of each object.

Methods

Name Value Summary
Dispose() void
Disposes everything allocated by this job.
Execute(int, TransformAccess) void
Executes this job for the given `index`.

Extension Methods

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