JobModifierGroup Class

Summary

A group of job modifier functions.
Assembly
FlexiMotion.dll
Namespace
FlexiMotion.Modifiers
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["JobModifierGroup"] class Type type-node

Syntax

public class JobModifierGroup

Fields

Name Constant Value Summary
ModifierNameSuffix Modifier
FlexiMotion.Modifiers.JobModifierGroup.GetFriendlyModifierTypeName(System.Object) will remove this from the end of any modifier name.
static
OnInitialize
Registered FlexiMotion.Modifiers.JobModifierGroup.IOnInitialize modifiers.
OnReEnable
Registered FlexiMotion.Modifiers.JobModifierGroup.IOnReEnable modifiers.
OnUpdate
Registered FlexiMotion.Modifiers.JobModifierGroup.IOnUpdate modifiers.
PostUpdate
Registered FlexiMotion.Modifiers.JobModifierGroup.IPostUpdate modifiers.
PreUpdate
Registered FlexiMotion.Modifiers.JobModifierGroup.IPreUpdate modifiers.

Properties

Name Value Summary
ContainsAnything bool
Does this group contain any modifiers?
IsInitialized bool
Has the target already been initialized?
SimulationRoot Transform
[Editor-Only] The root object assigned by FlexiMotion.Modifiers.SimulationRootModifier.

Methods

Name Value Summary
AddOnInitialize(int, JobModifierGroup.IOnInitialize) void
Adds a modifier to FlexiMotion.Modifiers.JobModifierGroup.OnInitialize and runs it immediately if FlexiMotion.Modifiers.JobModifierGroup.IsInitialized.
AppendContents(StringBuilder) void
Appends the contents of this group.
AppendContents<T>(StringBuilder, SortedList<int, T>, string) void
Appends the contents of the `list`.
static
DrawFields<T>(SortedList<int, T>, string) void
[Editor-Only] Draws fields for all modifiers in the `list`.
static
DrawGUI(bool) void
[Editor-Only] Draws fields for all modifiers in this group.
GatherAllModifiers(HashSet<Behaviour>) void
Gathers all registered modifier components.
GatherAllModifiers(HashSet<Behaviour>, IEnumerable) void
Gathers all registered modifier components in the specified `list`.
GetFriendlyModifierTypeName(Object) string
[Editor-Only] Returns a friendly name for the `modifier`.
static
ScheduleOnInitializeJobs(JobHandle) JobHandle
Schedules all the FlexiMotion.Modifiers.JobModifierGroup.OnInitialize modifiers.
ScheduleOnReEnableJobs(JobHandle) JobHandle
Schedules all the FlexiMotion.Modifiers.JobModifierGroup.OnReEnable modifiers.
ScheduleOnUpdateJobs(JobHandle) JobHandle
Schedules all the FlexiMotion.Modifiers.JobModifierGroup.OnUpdate modifiers.
SchedulePostUpdateJobs(JobHandle) JobHandle
Schedules all the FlexiMotion.Modifiers.JobModifierGroup.PostUpdate modifiers.
SchedulePreUpdateJobs(JobHandle) JobHandle
Schedules all the FlexiMotion.Modifiers.JobModifierGroup.PreUpdate modifiers.
ToStringDetailed() string
Returns a string describing the contents of this group.

Extension Methods

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