Index to Color
グラデーションを各インデックスにマッピングし、サブメッシュ(Duplicator、Text など)内の Shape の色を設定します。
- Utility
- Advanced
Value - グラデーションに沿って出力する位置(0 = 左端、1 = 右端)。
Gradient Mode - Gradient の補間方法を選択します。Gradient を参照してください。
Gradient - 色の値を設定します。Gradients を参照してください。
Reverse - グラデーションを反転/逆転します。
Use Index Context - チェックすると、Index to Color は Context を取得します。これは、サブメッシュ(Duplicator、Text、SVG など)と組み合わせて使用する際の ID 割り当て方法を制御するために使用できます。
- Basic Shape を作成します。
- Shape を選択し、Shelf の Duplicator アイコンをクリックします。
- Index to Color を作成します。
- 接続 index.ToColor.id > basicShape.fill.color
各複製はグラデーションに沿って順次色付けされます。
- Basic Shape を作成します。
- Shape を選択し、Shelf の Duplicator アイコンをクリックします。
- Index to Color を作成します。
- 接続 index.ToColor.id > basicShape.fill.color
- Index to Color の Advanced タブで Use Incoming Index のチェックを外します。
- Index to Color の Value を右クリック > Add Behaviour > Random。
- Random の Maximum を
1に設定します。
各複製にはグラデーションからランダムな色が割り当てられます。