Nút Toán
The Raycast node intersects rays from one geometry onto another. The source geometry is defined by the context of the node that the Raycast node is connected to. Each ray computes hit points on the target mesh and outputs normals, distances and any surface attribute specified.
Đầu Vào
- Hình Học Mục Tiêu
Geometry that rays are tested against.
- Thuộc Tính
An optional field input evaluated on the Target Geometry that will be interpolated at the hit points. The resulting values are outputted with the Attribute output.
- Vị trí Nguồn
The position from where to start each ray. By default, this is the same as if the Vị Trí -- Position was connected.
- Hướng Tia Xạ
Direction of each ray from the starting position. The field is evaluated on the geometry from the context of the field evaluation, not the Target Geometry.
- Chiều Dài của Tia Xạ
Maximum distance a ray can travel before being considered "no hit".
Tính Chất
- Ánh Xạ
How attributes of the target mesh are mapped to the attribute values on the result geometry.
- Nội Suy
Vertex and corner attributes are interpolated smoothly, with a bilinear function.
- Gần Nhất
Choose the value of the closest vertex without interpolating.
Đầu Ra
- Va Đập Trúng
Boolean output that is true for each ray which has hit the Target Geometry.
- Vị Trí Điểm Va Đập
The location of the intersection point with the target mesh.
- Pháp Tuyến của Điểm Va Đập
The surface Normal vector at the hit location.
- Khoảng Cách Điểm Va Đập
The distance from the ray origin to the Hit Position.
- Thuộc Tính
Interpolated values of the Attribute input sampled at the Hit Position.