RuntimeSphereColliders Class

Summary

The runtime job manager of FlexiMotion.Modifiers.SphereCollidersModifier.
Assembly
FlexiMotion.dll
Namespace
FlexiMotion.Modifiers
Interfaces
  • IDisposable
Base Types
  • Object
graph BT Type-->Base0["Object"] Type-.->Interface0["IDisposable"] Type["RuntimeSphereColliders"] class Type type-node

Syntax

public class RuntimeSphereColliders : IDisposable

Constructors

Name Summary
RuntimeSphereColliders(SphereColliderDefinitions, RuntimeSprings) Creates a new FlexiMotion.Modifiers.RuntimeSphereColliders.

Fields

Name Constant Value Summary
LocalToWorldPositionsJob
A job which calculates the world position of each collider.
Radii
The radius of each collider.
SphereCollidersJob
A job which pushes the springs out of the colliders.
Transforms
The UnityEngine.Transform of each collider.

Methods

Name Value Summary
Dispose() void
Disposes everything allocated by this system.
DrawGizmos() void
Draws scene gizmos for the colliders.
DrawGizmos(Color) void
Draws scene gizmos for the colliders.
ScheduleCalculateWorldPositionsJob(JobHandle) JobHandle
Schedules the FlexiMotion.Modifiers.RuntimeSphereColliders.LocalToWorldPositionsJob.
ScheduleSphereCollidersJob(JobHandle) JobHandle
Schedules the FlexiMotion.Modifiers.RuntimeSphereColliders.SphereCollidersJob.

Extension Methods

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