SphereCollidersJob Struct

Summary

A job which pushes transforms out of sphere colliders.
Assembly
FlexiMotion.dll
Namespace
FlexiMotion.Jobs
Interfaces
  • IJobParallelFor
Base Types
  • ValueType
graph BT Type-->Base0["ValueType"] Type-.->Interface0["IJobParallelFor"] Type["SphereCollidersJob"] class Type type-node

Syntax

[BurstCompile(FloatPrecision.Low, FloatMode.Fast)]
public struct SphereCollidersJob : ValueType, IJobParallelFor

Attributes

Type Description
BurstCompileAttribute

Constructors

Fields

Name Constant Value Summary
ColliderRadii
[Unity.Collections.ReadOnlyAttribute] The radius of each sphere.
ColliderWorldPositions
[Unity.Collections.ReadOnlyAttribute] The world position of each sphere.
transformPositions
The position of each transform.
transformRadii
[Unity.Collections.ReadOnlyAttribute] The radius of each transform.

Methods

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

Extension Methods

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