Navigation
BlueprintAPI > BlueprintAPI/Utilities > BlueprintAPI/Utilities/Struct
Adds a node that create a 'Mesh Partition PCG Query Params' from its members
Inputs
| Type | Name | Description |
|---|---|---|
| vector | Ray Origin | |
| vector | Ray Direction | |
| real | Ray Length | |
| enum | Query Type | |
| name | Layer Name | When sampling an intermediate build, the layer up to which to build the mesh (not including the layer itself, unless Inlcusive is set). |
| real | Sub Priority | When sampling an intermediate build, optional specific sub-priority up to which to build the mesh within the chosen priority layer (higher priorities are applied after lower). |
| boolean | Inclusive | When sampling an intermediate build, whether we build up to but not including the given layer/sub-priority, or whether we include it. |
| boolean | Recompute Vertex Normals | When not sampling base sections, whether to update the vertex normals. Vertex normals are used for pointrotations when converting to points. |
| boolean | Set Ray Parameters | Set ray parameters including origin, direction and length explicitly rather than deriving these from the generating actor bounds. |
| name | Channels | Specifies which channel we will want to sample. |
| boolean | Get Impact Point | Create an attribute for the impact location in world space. |
| boolean | Get Impact Normal | Create an attribute for the impact normal. |
| boolean | Get Distance | Create an attribute for the distance between the ray origin and the impact point. |
| boolean | Get Face Index | Create an attribute for index of the hit face. Note: Will only work in complex traces. |
| boolean | Get UVCoords | Create an attribute for UV Coordinates of the surface hit. Note: Will only work in complex traces. |
| boolean | Accept Any Hit Section | When false, raycast all possible sections to make sure we get the closest hit, but if true, accept any hit.This can be left true to speed up sampling, as long as your sections don't overlap in such a way that a samplingray could hit multiple sections. |
Outputs
| Type | Name | Description |
|---|---|---|
| struct | PCGQuery Params |