Table of Contents

Class GlobalTransformations

Namespace
nadena.dev.ndmf.util
public static class GlobalTransformations
Inheritance
GlobalTransformations
Inherited Members

Methods

HarmonizeParameterTypes(AnimatorServicesContext)

If different controllers in the AnimatorServicesContext have parameters with the same name but different types, or if a condition in a transition references a parameter with the wrong type, this method will adjust the types and transitions to use float parameters where necessary.

public static void HarmonizeParameterTypes(this AnimatorServicesContext asc)

Parameters

asc AnimatorServicesContext

RemoveEmptyLayers(AnimatorServicesContext)

Removes all empty layers that are safe to remove from the AnimatorServicesContext.

public static void RemoveEmptyLayers(this AnimatorServicesContext ctx)

Parameters

ctx AnimatorServicesContext

RemoveEmptyLayers(VirtualAnimatorController)

Remove all empty layers that are safe to remove from the VirtualAnimatorController.

public static void RemoveEmptyLayers(VirtualAnimatorController vac)

Parameters

vac VirtualAnimatorController