AnimationSynchronizableSetLayerWeight(Int32, Single, Single) Method
Sets the weight of the layer at the given index but only if equal or above the required delta.
Namespace: Alteruna.Multiplayer.UnityAssembly: Alteruna.Multiplayer.UnityFiles (in Alteruna.Multiplayer.UnityFiles.dll) Version: 1.0.0+c5328b35489e83c42e288435f5acf6115fd519e0
public bool SetLayerWeight(
int layer,
float weight,
float requiredDelta
)
- layer Int32
-
- weight Single
- The new layer weight.
- requiredDelta Single
- The minimum weight required to set the layer weight.
Booleantrue if the layer weight was updated, false otherwise.