| On this page | |
| Since | 20.0 |
これは、geo::IntersectPointsと同様ですが、その結果は配列ではなくて、アトリビュートが更新されたジオメトリで返されます。
The geo ports of this node are in-place ports, which means that the geometry is updated without creating a copy.
入力 ¶
*geo:
Geometry
Required
The geometry to perform the intersection against.
intersect_cache:
geo::IntersectCache
The intersection cache produced by geo::InitIntersectCache.
origin:
Vector3
The origin position of the casted ray.
dir:
Vector3
The direction vector of the casted ray.
radius:
Float
The distance around the intersection point to calculate weights for. Points within the radius that are closest to the intersection point have a weight of 1, with the weight values falling off to 0 at the radius distance.
focal:
Float
An optional value that is added to the weight of the points within radius. Note that the resulting weight is first clamped to the 0-1 range before it is smoothed.
connected:
Bool
If set to True, radius is interpreted as the distance from the intersection point following a path along the surface of the geometry.
出力 ¶
*geo:
Geometry
The input geo with its attributes updated to reflect the intersection. The modified attributes are:
-
weight: Floating point attribute containing the distance to the intersection point weighted within the radius. The weight values are smoothed so that there are no discontinuities as they reach the 0 and 1 values. The points that are closest to the intersection position have a value of 1. -
hitpos: Float3 detail attribute containing the position where the ray intersects with the geometry. -
hitml: Float3 detail attribute containing the surface normal at the intersection point.
| See also |