WeightedMaskLayersDefinitionWindow.

GetChainColor(Transform, IList<Transform>, float) Method

Summary

Returns a color based on the name of the `transform`'s highest included parent.

Syntax

public static Color GetChainColor(Transform transform, IList<Transform> transforms, float alpha)

Parameters

Name Type Description
transform Transform
transforms IList<Transform>
alpha float

Return Value

Type Description
Color