AnimationSynchronizableSetLayerWeight(Int32, Single, Single) Method

Sets the weight of the layer at the given index but only if equal or above the required delta.

Definition

Namespace: Alteruna.Multiplayer
Assembly: Alteruna (in Alteruna.dll) Version: 2.0.1+a1176e08a0b4a6bfd8fefeddde6163a16d29e5ab
C#
public bool SetLayerWeight(
	int layer,
	float weight,
	float requiredDelta
)

Parameters

layer  Int32
 
weight  Single
The new layer weight.
requiredDelta  Single
The minimum weight required to set the layer weight.

Return Value

Boolean
true if the layer weight was updated, false otherwise.

See Also