Capture Attribute(属性キャプチャ)ノード#

Capture Attribute(属性キャプチャ)ノード。

Capture Attribute(属性キャプチャ) ノードは、フィールドの結果をジオメトリに保存し、データをノードソケットとして出力して、他のノードで使用できるようにします。

結果は、名前を持つ通常の属性と同じようにジオメトリに格納されますが、名前で参照する代わりに、ソケットがノードの入力に接続されるたびに取得されます。後でノードツリーを評価するときに、属性が使用されなくなった場合、その属性は自動的に削除されます。

This node is essential because field input nodes like the Radius(半径)ノード work in the context of the node they are connected to. Meaning that in order to pass data like radius to a geometry that doesn't have radius, an explicit node link with the output of this node must be used.

注釈

このノードはジオメトリに 匿名属性 を格納するため、ノードツリーでの以降の操作にはジオメトリ出力を使用することが重要です。匿名属性は、出力以外の他のジオメトリには存在しません。

入力#

Geometry(ジオメトリ)

標準のジオメトリ入力です。

Value(値)

評価する入力フィールド。

Properties(プロパティ)#

Data Type(データタイプ)

評価したデータに使用される データ型

Domain(ドメイン)

評価したデータを保存する 属性ドメイン

出力#

Geometry(ジオメトリ)

標準のジオメトリ出力です。

Attribute(属性)

評価したフィールドの結果。ジオメトリに保存されます。

#

../../../_images/modeling_geometry-nodes_attribute_capture-attribute_example.png

Here, a noise texture is evaluated in along the path of the curve in one dimension and rendered with a shader. The capture node is required because the output of the Curve to Mesh(カーブからメッシュへ)ノード does not have a "curve parameter", since it is a mesh and not a curve. So, the Spline Parameter(スプラインパラメーター)ノード must be evaluated while the geometry is still a curve.

内部的には、ノイズテクスチャがカーブで評価された後、Curve to Mesh(カーブからメッシュへ)ノードのメッシュ結果に自動的にコピーされます。これは、このノードの 属性 出力をジオメトリノードの同じストリームに沿って接続できる場所であればどこでも、内部属性を使用できることを意味します。