AnimancerState.

SetWeight(float) Method

Summary

Sets the current blend weight of this node which determines how much it affects the final output. 0 has no effect while 1 applies the full effect of this node.
Assembly
Animancer.dll
Namespace
Animancer
Containing Type
AnimancerState

Syntax

public override sealed void SetWeight(float value)

Remarks

This method allows any fade currently in progress to continue. If you don't wish to do that, you can set the Animancer.AnimancerNode.Weight property instead.

Animancer Lite only allows this value to be set to 0 or 1 in runtime builds.

Parameters

Name Type Description
value float

Return Value

Type Description
void