Navigation
API > API/Plugins > API/Plugins/GeometryScriptingCore > API/Plugins/GeometryScriptingCore/UGeometryScriptLibrary_MeshQuery-
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static static UPARAM
(
DisplayName |
Computes the bounding box of the mesh vertices in the local space of the mesh. | GeometryScript/MeshQueryFunctions.h |
|
static static UPARAM
(
DisplayName |
Returns the number of open border loops, such as "holes" in the mesh. | GeometryScript/MeshQueryFunctions.h |
|
static static UPARAM
(
DisplayName |
Returns the number of topological boundary edges in the mesh, i.e counts edges that only have one adjacent triangle. | GeometryScript/MeshQueryFunctions.h |
|
static static UPARAM
(
DisplayName |
Returns the number of separate connected components in the mesh, such as "triangle patches" internally connected by shared edges. | GeometryScript/MeshQueryFunctions.h |
|
static static UPARAM
(
DisplayName |
UDynamicMesh already has this function. | GeometryScript/MeshQueryFunctions.h |
|
static static UPARAM
(
DisplayName |
Returns an Index List of all Triangle IDs in a mesh. | GeometryScript/MeshQueryFunctions.h |
|
static static UPARAM
(
DisplayName |
Returns the Vertex ID triplet for the specified Triangle. | GeometryScript/MeshQueryFunctions.h |
|
static static UPARAM
(
DisplayName |
Returns a TriangleList of all Triangle Vertex ID triplets in a mesh. | GeometryScript/MeshQueryFunctions.h |
|
static static UPARAM
(
DisplayName |
Compute the interpolated Position (A*Vertex1 + B*Vertex2 + C*Vertex3), where (A,B,C)=BarycentricCoords and the Vertex positions are taken from the specified TriangleID of the TargetMesh. | GeometryScript/MeshQueryFunctions.h |
|
static static UPARAM
(
DisplayName |
GeometryScript/MeshQueryFunctions.h |
|
|
static static UPARAM
(
DisplayName |
Compute the barycentric coordinates (A,B,C) of the Point relative to the specified TriangleID of the TargetMesh. | GeometryScript/MeshQueryFunctions.h |
|
static static UPARAM
(
DisplayName |
Gets the number of vertices in the mesh. | GeometryScript/MeshQueryFunctions.h |
|
static static UPARAM
(
DisplayName |
Gets the number of Vertex IDs in the mesh, which may be larger than the Vertex Count, if the mesh is not dense (e.g. after deleting vertices). | GeometryScript/MeshQueryFunctions.h |
|
static static UPARAM
(
DisplayName |
Returns an IndexList of all Vertex IDs in mesh. | GeometryScript/MeshQueryFunctions.h |
|
static static UPARAM
(
DisplayName |
Gets the 3D position of a mesh vertex in the mesh local space, by Vertex ID. | GeometryScript/MeshQueryFunctions.h |
|
static static UPARAM
(
DisplayName |
Returns a Vector List of all the mesh vertex 3D positions (possibly large!). | GeometryScript/MeshQueryFunctions.h |
|
static static UPARAM
(
DisplayName |
Returns the vertex positions for each edge in the given index list. | GeometryScript/MeshQueryFunctions.h |
|
static static UPARAM
(
DisplayName |
Return array of Triangle IDs connected to the given VertexID, ie the triangle one-ring | GeometryScript/MeshQueryFunctions.h |
|
static static UPARAM
(
DisplayName |
Return array of Vertex IDs connected via a mesh edge to the given VertexID, ie the vertex one-ring | GeometryScript/MeshQueryFunctions.h |
|
static static UPARAM
(
DisplayName |
UV Queries Gets the number of UV Channels on the Target Mesh. | GeometryScript/MeshQueryFunctions.h |
|
static static UPARAM
(
DisplayName |
Gets the 2D bounding box of all UVs in the UV Channel. | GeometryScript/MeshQueryFunctions.h |
|
static static UPARAM
(
DisplayName |
Gets the area of triangles in UV space for the given UV Channel. | GeometryScript/MeshQueryFunctions.h |
|
static static UPARAM
(
DisplayName |
Returns the unique UV element IDs and values associated with the mesh vertex, in the specified UV Channel. | GeometryScript/MeshQueryFunctions.h |
|
static static UPARAM
(
DisplayName |
Compute the interpolated UV (A*UV1+ B*UV2+ C*UV3), where (A,B,C)=BarycentricCoords and the UV positions are taken from the specified TriangleID in the specified UVSet of the TargetMesh. | GeometryScript/MeshQueryFunctions.h |
|
static static UPARAM
(
DisplayName |
Returns all edge element IDs that are UV seam edges for a given UV channel. | GeometryScript/MeshQueryFunctions.h |
|
static static UPARAM
(
DisplayName |
Returns the number of UV islands in a given UV channel. | GeometryScript/MeshQueryFunctions.h |
|
static static UPARAM
(
DisplayName |
Normal queries | GeometryScript/MeshQueryFunctions.h |
|
static static UPARAM
(
DisplayName |
For the specified TriangleID of the Target Mesh, get the Normal vectors at each vertex of the Triangle. | GeometryScript/MeshQueryFunctions.h |
|
static static UPARAM
(
DisplayName |
Compute the interpolated Normal (A*Normal1 + B*Normal2 + C*Normal3), where (A,B,C)=BarycentricCoords and the Normals are taken from the specified TriangleID in the Normal layer of the TargetMesh. | GeometryScript/MeshQueryFunctions.h |
|
static static UPARAM
(
DisplayName |
For the specified Triangle ID of the TargetMesh, get the Normal and Tangent vectors at each vertex of the Triangle. | GeometryScript/MeshQueryFunctions.h |
|
static static UPARAM
(
DisplayName |
Compute the interpolated Normal and Tangents for the specified specified TriangleID in the Normal and Tangent attributes of the TargetMesh. | GeometryScript/MeshQueryFunctions.h |
|
static static UPARAM
(
DisplayName |
Vertex Color Queries | GeometryScript/MeshQueryFunctions.h |
|
static static UPARAM
(
DisplayName |
For the specified TriangleID of the TargetMesh, get the Vertex Colors at each vertex of the Triangle. | GeometryScript/MeshQueryFunctions.h |
|
static static UPARAM
(
DisplayName |
Compute the interpolated Vertex Color (A*Color1 + B*Color2 + C*Color3), where (A,B,C)=BarycentricCoords and the Colors are taken from the specified TriangleID in the Vertex Color layer of the TargetMesh. | GeometryScript/MeshQueryFunctions.h |
|
static static UPARAM
(
DisplayName |
Material Queries Returns true if the mesh has Material IDs available/enabled. | GeometryScript/MeshQueryFunctions.h |
|
static static UPARAM
(
DisplayName |
Polygroup Queries Returns true if the mesh has a standard PolyGroup Layer. | GeometryScript/MeshQueryFunctions.h |
|
static static UPARAM
(
DisplayName |
Returns the count of extended PolyGroup Layers. | GeometryScript/MeshQueryFunctions.h |
|
static UPARAM
(
DisplayName |
GeometryScript/MeshQueryFunctions.h |
|
|
static UPARAM
(
DisplayName |
GeometryScript/MeshQueryFunctions.h | ||
static UPARAM
(
DisplayName |
GeometryScript/MeshQueryFunctions.h | ||
static UPARAM
(
DisplayName |
GeometryScript/MeshQueryFunctions.h |
|
|
static UPARAM
(
DisplayName |
GeometryScript/MeshQueryFunctions.h | ||
static UPARAM
(
DisplayName |
GeometryScript/MeshQueryFunctions.h |
|
|
static UPARAM
(
DisplayName |
GeometryScript/MeshQueryFunctions.h | ||
static UPARAM
(
DisplayName |
GeometryScript/MeshQueryFunctions.h |
|
|
static UPARAM
(
DisplayName |
GeometryScript/MeshQueryFunctions.h | ||
static UPARAM
(
DisplayName |
GeometryScript/MeshQueryFunctions.h |
UPARAM(DisplayName)
Description
Computes the bounding box of the mesh vertices in the local space of the mesh.
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshQueryFunctions.h |
| Include Path | #include "GeometryScript/MeshQueryFunctions.h" |
UFUNCTION (BlueprintPure, Category="GeometryScript|MeshQueries", Meta=(ScriptMethod))
static static UPARAM
(
DisplayName
)
UPARAM(DisplayName)
Description
Returns the number of open border loops, such as "holes" in the mesh.
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshQueryFunctions.h |
| Include Path | #include "GeometryScript/MeshQueryFunctions.h" |
UFUNCTION (BlueprintPure, Category="GeometryScript|MeshQueries", Meta=(ScriptMethod))
static static UPARAM
(
DisplayName
)
UPARAM(DisplayName)
Description
Returns the number of topological boundary edges in the mesh, i.e counts edges that only have one adjacent triangle.
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshQueryFunctions.h |
| Include Path | #include "GeometryScript/MeshQueryFunctions.h" |
UFUNCTION (BlueprintPure, Category="GeometryScript|MeshQueries", Meta=(ScriptMethod))
static static UPARAM
(
DisplayName
)
UPARAM(DisplayName)
Description
Returns the number of separate connected components in the mesh, such as "triangle patches" internally connected by shared edges.
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshQueryFunctions.h |
| Include Path | #include "GeometryScript/MeshQueryFunctions.h" |
UFUNCTION (BlueprintPure, Category="GeometryScript|MeshQueries", Meta=(ScriptMethod))
static static UPARAM
(
DisplayName
)
UPARAM(DisplayName)
Description
Gets the number of Triangle IDs in the mesh. This may be larger than the Triangle Count if the mesh is not dense, even after deleting triangles.
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshQueryFunctions.h |
| Include Path | #include "GeometryScript/MeshQueryFunctions.h" |
UFUNCTION (BlueprintPure, Category="GeometryScript|MeshQueries", Meta=(ScriptMethod))
static static UPARAM
(
DisplayName
)
UPARAM(DisplayName)
Description
Returns an Index List of all Triangle IDs in a mesh.
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshQueryFunctions.h |
| Include Path | #include "GeometryScript/MeshQueryFunctions.h" |
UFUNCTION (BlueprintCallable, Category="GeometryScript|MeshQueries", Meta=(ScriptMethod))
static static UPARAM
(
DisplayName
)
Parameters
| Name | Remarks |
|---|---|
| bHasTriangleIDGaps | will be true on return if there are breaks in the sequential numeration of Triangle IDs, as would happen after deleting triangles. |
UPARAM(DisplayName)
Description
Returns the Vertex ID triplet for the specified Triangle.
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshQueryFunctions.h |
| Include Path | #include "GeometryScript/MeshQueryFunctions.h" |
UFUNCTION (BlueprintPure, Category="GeometryScript|MeshQueries", Meta=(ScriptMethod))
static static UPARAM
(
DisplayName
)
Parameters
| Name | Remarks |
|---|---|
| TriangleID | indicates the triangle to query on the Target Mesh. |
| bIsValidTriangle | will be false on return if the Triangle ID does not exist in the Target Mesh, in that case the returned vertex triplet will be (-1, -1, -1). |
UPARAM(DisplayName)
Description
Returns a TriangleList of all Triangle Vertex ID triplets in a mesh.
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshQueryFunctions.h |
| Include Path | #include "GeometryScript/MeshQueryFunctions.h" |
UFUNCTION (BlueprintCallable, Category="GeometryScript|MeshQueries", Meta=(ScriptMethod))
static static UPARAM
(
DisplayName
)
Parameters
| Name | Remarks |
|---|---|
| bSkipGaps | if false there will be a one-to-one correspondence between Triangle ID and entries in the triangle list and invalid triplets of (-1,-1,-1) will correspond to Triangle IDs not found in the Target Mesh. |
| bHasTriangleIDGaps | will be false on return if the mesh had no gaps in Triangle IDs or if bSkipGaps was set to true. |
UPARAM(DisplayName)
Description
Compute the interpolated Position (A*Vertex1 + B*Vertex2 + C*Vertex3), where (A,B,C)=BarycentricCoords and the Vertex positions are taken from the specified TriangleID of the TargetMesh.
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshQueryFunctions.h |
| Include Path | #include "GeometryScript/MeshQueryFunctions.h" |
UFUNCTION (BlueprintCallable, Category="GeometryScript|MeshQueries", Meta=(ScriptMethod))
static static UPARAM
(
DisplayName
)
Parameters
| Name | Remarks |
|---|---|
| bIsValidTriangle | will be returned true if TriangleID exists in TargetMesh, and otherwise will be returned false |
UPARAM(DisplayName)
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshQueryFunctions.h |
| Include Path | #include "GeometryScript/MeshQueryFunctions.h" |
UFUNCTION (BlueprintPure, Category="GeometryScript|MeshQueries", Meta=(ScriptMethod))
static static UPARAM
(
DisplayName
)
UPARAM(DisplayName)
Description
Compute the barycentric coordinates (A,B,C) of the Point relative to the specified TriangleID of the TargetMesh. The properties of barycentric coordinates are such that A,B,C are all positive, A+B+C=1.0, and A*Vertex1 + B*Vertex2 + C*Vertex3 = Point. So, the barycentric coordinates can be used to smoothly interpolate/blend any other per-triangle-vertex quantities. The Point must lie in the plane of the Triangle, otherwise the coordinates are somewhat meaningless (but clamped to 0-1 range to avoid catastrophic errors) The Positions of the Triangle Vertices are also returned for convenience (similar to GetTrianglePositions)
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshQueryFunctions.h |
| Include Path | #include "GeometryScript/MeshQueryFunctions.h" |
UFUNCTION (BlueprintCallable, Category="GeometryScript|MeshQueries", Meta=(ScriptMethod))
static static UPARAM
(
DisplayName
)
Parameters
| Name | Remarks |
|---|---|
| bIsValidTriangle | will be returned true if TriangleID exists in TargetMesh, and otherwise will be returned false |
UPARAM(DisplayName)
Description
Gets the number of vertices in the mesh. Note this may be less than the number of Vertex IDs used as some vertices may have been deleted.
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshQueryFunctions.h |
| Include Path | #include "GeometryScript/MeshQueryFunctions.h" |
UFUNCTION (BlueprintPure, Category="GeometryScript|MeshQueries", Meta=(ScriptMethod))
static static UPARAM
(
DisplayName
)
UPARAM(DisplayName)
Description
Gets the number of Vertex IDs in the mesh, which may be larger than the Vertex Count, if the mesh is not dense (e.g. after deleting vertices).
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshQueryFunctions.h |
| Include Path | #include "GeometryScript/MeshQueryFunctions.h" |
UFUNCTION (BlueprintPure, Category="GeometryScript|MeshQueries", Meta=(ScriptMethod))
static static UPARAM
(
DisplayName
)
UPARAM(DisplayName)
Description
Returns an IndexList of all Vertex IDs in mesh.
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshQueryFunctions.h |
| Include Path | #include "GeometryScript/MeshQueryFunctions.h" |
UFUNCTION (BlueprintCallable, Category="GeometryScript|MeshQueries", Meta=(ScriptMethod))
static static UPARAM
(
DisplayName
)
UPARAM(DisplayName)
Description
Gets the 3D position of a mesh vertex in the mesh local space, by Vertex ID.
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshQueryFunctions.h |
| Include Path | #include "GeometryScript/MeshQueryFunctions.h" |
UFUNCTION (BlueprintPure, Category="GeometryScript|MeshQueries", Meta=(ScriptMethod))
static static UPARAM
(
DisplayName
)
UPARAM(DisplayName)
Description
Returns a Vector List of all the mesh vertex 3D positions (possibly large!).
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshQueryFunctions.h |
| Include Path | #include "GeometryScript/MeshQueryFunctions.h" |
UFUNCTION (BlueprintCallable, Category="GeometryScript|MeshQueries", Meta=(ScriptMethod))
static static UPARAM
(
DisplayName
)
Parameters
| Name | Remarks |
|---|---|
| bSkipGaps | if false there will be a one-to-one correspondence between Vertex ID and entries in the Position List where a zero vector (0,0,0) will correspond to Vertex IDs not found in the Target Mesh. |
| bHasVertexIDGaps | will be false if the mesh had no gaps in Vertex IDs or if bSkipGaps was set to true. |
UPARAM(DisplayName)
Description
Returns the vertex positions for each edge in the given index list.
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshQueryFunctions.h |
| Include Path | #include "GeometryScript/MeshQueryFunctions.h" |
UFUNCTION (BlueprintCallable, Category="GeometryScript|MeshQueries", Meta=(ScriptMethod))
static static UPARAM
(
DisplayName
)
The target mesh that was queried
Parameters
| Name | Remarks |
|---|---|
| TargetMesh | The mesh to query |
| EdgeIDs | The edge IDs to query |
| Start | The output list of start vertex positions |
| End | The output list of end vertex positions |
UPARAM(DisplayName)
Description
Return array of Triangle IDs connected to the given VertexID, ie the triangle one-ring
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshQueryFunctions.h |
| Include Path | #include "GeometryScript/MeshQueryFunctions.h" |
UFUNCTION (BlueprintCallable, Category="GeometryScript|MeshQueries", Meta=(ScriptMethod))
static static UPARAM
(
DisplayName
)
UPARAM(DisplayName)
Description
Return array of Vertex IDs connected via a mesh edge to the given VertexID, ie the vertex one-ring
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshQueryFunctions.h |
| Include Path | #include "GeometryScript/MeshQueryFunctions.h" |
UFUNCTION (BlueprintCallable, Category="GeometryScript|MeshQueries", Meta=(ScriptMethod))
static static UPARAM
(
DisplayName
)
UPARAM(DisplayName)
Description
UV Queries Gets the number of UV Channels on the Target Mesh.
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshQueryFunctions.h |
| Include Path | #include "GeometryScript/MeshQueryFunctions.h" |
UFUNCTION (BlueprintPure, Category="GeometryScript|MeshQueries", Meta=(ScriptMethod),
DisplayName="Get Num UV Channels")
static static UPARAM
(
DisplayName
)
UPARAM(DisplayName)
Description
Gets the 2D bounding box of all UVs in the UV Channel. If the UV Channel does not exist, or if the UV Channel is empty, the resulting box will be invalid.
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshQueryFunctions.h |
| Include Path | #include "GeometryScript/MeshQueryFunctions.h" |
UFUNCTION (BlueprintPure, Category="GeometryScript|MeshQueries", Meta=(ScriptMethod))
static static UPARAM
(
DisplayName
)
UPARAM(DisplayName)
Description
Gets the area of triangles in UV space for the given UV Channel.
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshQueryFunctions.h |
| Include Path | #include "GeometryScript/MeshQueryFunctions.h" |
UFUNCTION (BlueprintCallable, Category="GeometryScript|MeshQueries", Meta=(ScriptMethod),
DisplayName="Get Mesh UV Area")
static static UPARAM
(
DisplayName
)
The number of UV islands
Parameters
| Name | Remarks |
|---|---|
| TargetMesh | The mesh to query. |
| UVChannel | The UV channel to query |
| bIsValidUVChannel | True, if the mesh has UVs for the given UVSetIndex. |
UPARAM(DisplayName)
Description
Returns the unique UV element IDs and values associated with the mesh vertex, in the specified UV Channel. If the Vertex or UV channel does not exist, the arrays will be empty and bHaveValidUVs will be set to false.
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshQueryFunctions.h |
| Include Path | #include "GeometryScript/MeshQueryFunctions.h" |
UFUNCTION (BlueprintCallable, Category="GeometryScript|MeshQueries", Meta=(ScriptMethod))
static static UPARAM
(
DisplayName
)
UPARAM(DisplayName)
Description
Compute the interpolated UV (A*UV1+ B*UV2+ C*UV3), where (A,B,C)=BarycentricCoords and the UV positions are taken from the specified TriangleID in the specified UVSet of the TargetMesh.
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshQueryFunctions.h |
| Include Path | #include "GeometryScript/MeshQueryFunctions.h" |
UFUNCTION (BlueprintCallable, Category="GeometryScript|MeshQueries", Meta=(ScriptMethod))
static static UPARAM
(
DisplayName
)
Parameters
| Name | Remarks |
|---|---|
| bIsValidTriangle | bTriHasValidUVs be returned true if TriangleID exists in TargetMesh and is set to valid UVs in the UV Set, and otherwise will be returned false |
UPARAM(DisplayName)
Description
Returns all edge element IDs that are UV seam edges for a given UV channel.
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshQueryFunctions.h |
| Include Path | #include "GeometryScript/MeshQueryFunctions.h" |
UFUNCTION (BlueprintCallable, Category="GeometryScript|MeshQueries", Meta=(ScriptMethod))
static static UPARAM
(
DisplayName
)
The target mesh that was queried.
Parameters
| Name | Remarks |
|---|---|
| TargetMesh | The mesh to query. |
| UVSetIndex | The UV channel to query |
| bHaveValidUVs | True, if the mesh has UVs for the given UVSetIndex. |
| ElementIDs | The returned edge element IDs |
UPARAM(DisplayName)
Description
Returns the number of UV islands in a given UV channel.
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshQueryFunctions.h |
| Include Path | #include "GeometryScript/MeshQueryFunctions.h" |
UFUNCTION (BlueprintCallable, Category="GeometryScript|MeshQueries", Meta=(ScriptMethod),
DisplayName="Get Num UV Islands")
static static UPARAM
(
DisplayName
)
The number of UV islands
Parameters
| Name | Remarks |
|---|---|
| TargetMesh | The mesh to query. |
| UVChannel | The UV channel to query |
| bIsValidUVChannel | True, if the mesh has UVs for the given UVSetIndex. |
UPARAM(DisplayName)
Description
Normal queries
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshQueryFunctions.h |
| Include Path | #include "GeometryScript/MeshQueryFunctions.h" |
UFUNCTION (BlueprintPure, Category="GeometryScript|MeshQueries", Meta=(ScriptMethod))
static static UPARAM
(
DisplayName
)
true if the TargetMesh has the Normals Attribute enabled (which allows for storing split normals)
UPARAM(DisplayName)
Description
For the specified TriangleID of the Target Mesh, get the Normal vectors at each vertex of the Triangle. These Normals will be taken from the Normal Overlay, i.e. they will potentially be split-normals.
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshQueryFunctions.h |
| Include Path | #include "GeometryScript/MeshQueryFunctions.h" |
UFUNCTION (BlueprintCallable, Category="GeometryScript|MeshQueries", Meta=(ScriptMethod))
static static UPARAM
(
DisplayName
)
Parameters
| Name | Remarks |
|---|---|
| bTriHasValidNormals | will be returned true if TriangleID exists in TargetMesh and has Normals set. |
UPARAM(DisplayName)
Description
Compute the interpolated Normal (A*Normal1 + B*Normal2 + C*Normal3), where (A,B,C)=BarycentricCoords and the Normals are taken from the specified TriangleID in the Normal layer of the TargetMesh.
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshQueryFunctions.h |
| Include Path | #include "GeometryScript/MeshQueryFunctions.h" |
UFUNCTION (BlueprintCallable, Category="GeometryScript|MeshQueries", Meta=(ScriptMethod))
static static UPARAM
(
DisplayName
)
Parameters
| Name | Remarks |
|---|---|
| bTriHasValidNormals | will be returned true if TriangleID exists in TargetMesh and has Normals set, and otherwise will be returned false. |
UPARAM(DisplayName)
Description
For the specified Triangle ID of the TargetMesh, get the Normal and Tangent vectors at each vertex of the Triangle. These Normals/Tangents will be taken from the Normal and Tangents Overlays, i.e. they will potentially be split-normals.
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshQueryFunctions.h |
| Include Path | #include "GeometryScript/MeshQueryFunctions.h" |
UFUNCTION (BlueprintCallable, Category="GeometryScript|MeshQueries", Meta=(ScriptMethod))
static static UPARAM
(
DisplayName
)
Parameters
| Name | Remarks |
|---|---|
| bTriHasValidElements | will be returned true if TriangleID exists in TargetMesh and has Normals and Tangents set. |
UPARAM(DisplayName)
Description
Compute the interpolated Normal and Tangents for the specified specified TriangleID in the Normal and Tangent attributes of the TargetMesh.
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshQueryFunctions.h |
| Include Path | #include "GeometryScript/MeshQueryFunctions.h" |
UFUNCTION (BlueprintCallable, Category="GeometryScript|MeshQueries", Meta=(ScriptMethod))
static static UPARAM
(
DisplayName
)
Parameters
| Name | Remarks |
|---|---|
| bTriHasValidElements | will be returned true if TriangleID exists in TargetMesh and has Normals and Tangents set, and otherwise will be returned false |
UPARAM(DisplayName)
Description
Vertex Color Queries
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshQueryFunctions.h |
| Include Path | #include "GeometryScript/MeshQueryFunctions.h" |
UFUNCTION (BlueprintPure, Category="GeometryScript|MeshQueries", Meta=(ScriptMethod))
static static UPARAM
(
DisplayName
)
true if the TargetMesh has the Vertex Colors attribute enabled
UPARAM(DisplayName)
Description
For the specified TriangleID of the TargetMesh, get the Vertex Colors at each vertex of the Triangle. These Colors will be taken from the Vertex Color Attribute, ie they will potentially be split-colors.
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshQueryFunctions.h |
| Include Path | #include "GeometryScript/MeshQueryFunctions.h" |
UFUNCTION (BlueprintCallable, Category="GeometryScript|MeshQueries", Meta=(ScriptMethod))
static static UPARAM
(
DisplayName
)
Parameters
| Name | Remarks |
|---|---|
| bTriHasValidVertexColors | will be returned true if TriangleID exists in TargetMesh and has Vertex Colors set |
UPARAM(DisplayName)
Description
Compute the interpolated Vertex Color (A*Color1 + B*Color2 + C*Color3), where (A,B,C)=BarycentricCoords and the Colors are taken from the specified TriangleID in the Vertex Color layer of the TargetMesh.
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshQueryFunctions.h |
| Include Path | #include "GeometryScript/MeshQueryFunctions.h" |
UFUNCTION (BlueprintCallable, Category="GeometryScript|MeshQueries", Meta=(ScriptMethod))
static static UPARAM
(
DisplayName
)
Parameters
| Name | Remarks |
|---|---|
| bTriHasValidVertexColors | will be returned true if TriangleID exists in TargetMesh and has Colors set, and otherwise will be returned false |
UPARAM(DisplayName)
Description
Material Queries Returns true if the mesh has Material IDs available/enabled.
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshQueryFunctions.h |
| Include Path | #include "GeometryScript/MeshQueryFunctions.h" |
UFUNCTION (BlueprintPure, Category="GeometryScript|MeshQueries", Meta=(ScriptMethod))
static static UPARAM
(
DisplayName
)
UPARAM(DisplayName)
Description
Polygroup Queries Returns true if the mesh has a standard PolyGroup Layer.
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshQueryFunctions.h |
| Include Path | #include "GeometryScript/MeshQueryFunctions.h" |
UFUNCTION (BlueprintPure, Category="GeometryScript|MeshQueries",
Meta=(ScriptMethod, DisplayName="Get Has PolyGroups"))
static static UPARAM
(
DisplayName
)
UPARAM(DisplayName)
Description
Returns the count of extended PolyGroup Layers.
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshQueryFunctions.h |
| Include Path | #include "GeometryScript/MeshQueryFunctions.h" |
UFUNCTION (BlueprintPure, Category="GeometryScript|MeshQueries",
Meta=(ScriptMethod, DisplayName="Get Num Extended PolyGroup Layers"))
static static UPARAM
(
DisplayName
)
UPARAM(DisplayName)
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshQueryFunctions.h |
| Include Path | #include "GeometryScript/MeshQueryFunctions.h" |
UFUNCTION (BlueprintPure, Category="GeometryScript|MeshQueries", Meta=(ScriptMethod))
static UPARAM
(
DisplayName
)
UPARAM(DisplayName)
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshQueryFunctions.h |
| Include Path | #include "GeometryScript/MeshQueryFunctions.h" |
static UPARAM
(
DisplayName
)
UPARAM(DisplayName)
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshQueryFunctions.h |
| Include Path | #include "GeometryScript/MeshQueryFunctions.h" |
static UPARAM
(
DisplayName
)
UPARAM(DisplayName)
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshQueryFunctions.h |
| Include Path | #include "GeometryScript/MeshQueryFunctions.h" |
UFUNCTION (BlueprintCallable, Category="GeometryScript|MeshQueries", Meta=(ScriptMethod),
DisplayName="Get Mesh UV Area")
static UPARAM
(
DisplayName
)
UPARAM(DisplayName)
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshQueryFunctions.h |
| Include Path | #include "GeometryScript/MeshQueryFunctions.h" |
static UPARAM
(
DisplayName
)
UPARAM(DisplayName)
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshQueryFunctions.h |
| Include Path | #include "GeometryScript/MeshQueryFunctions.h" |
UFUNCTION (BlueprintCallable, Category="GeometryScript|MeshQueries", Meta=(ScriptMethod))
static UPARAM
(
DisplayName
)
UPARAM(DisplayName)
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshQueryFunctions.h |
| Include Path | #include "GeometryScript/MeshQueryFunctions.h" |
static UPARAM
(
DisplayName
)
UPARAM(DisplayName)
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshQueryFunctions.h |
| Include Path | #include "GeometryScript/MeshQueryFunctions.h" |
UFUNCTION (BlueprintCallable, Category="GeometryScript|MeshQueries", Meta=(ScriptMethod))
static UPARAM
(
DisplayName
)
UPARAM(DisplayName)
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshQueryFunctions.h |
| Include Path | #include "GeometryScript/MeshQueryFunctions.h" |
static UPARAM
(
DisplayName
)
UPARAM(DisplayName)
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshQueryFunctions.h |
| Include Path | #include "GeometryScript/MeshQueryFunctions.h" |
static UPARAM
(
DisplayName
)