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.MultiplayerAssembly: Alteruna (in Alteruna.dll) Version: 2.0.1+a1176e08a0b4a6bfd8fefeddde6163a16d29e5ab
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.