WeightedMaskLayersDefinition.

SetWeight(int, int, float) Method

Summary

Sets the specified weight.
Assembly
Animancer.dll
Namespace
Animancer
Containing Type
WeightedMaskLayersDefinition

Syntax

public bool SetWeight(int groupIndex, int transformIndex, float value)

Remarks

Returns false if the indices are outside the Animancer.WeightedMaskLayersDefinition.Weights.

Parameters

Name Type Description
groupIndex int
transformIndex int
value float

Return Value

Type Description
bool