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.2+dcdb8fba58ad1eb99205b1dc6265fd5b3b7cf8ec
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.