Navigation
API > API/Plugins > API/Plugins/GeometryScriptingCore
| Name | UGeometryScriptLibrary_MeshQueryFunctions |
| Type | class |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshQueryFunctions.h |
| Include Path | #include "GeometryScript/MeshQueryFunctions.h" |
Syntax
UCLASS (MinimalAPI, Meta=(ScriptName="GeometryScript_MeshQueries"))
class UGeometryScriptLibrary_MeshQueryFunctions : public UBlueprintFunctionLibrary
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UBlueprintFunctionLibrary → UGeometryScriptLibrary_MeshQueryFunctions
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bAmbiguousTopologyFound | bool & | GeometryScript/MeshQueryFunctions.h | ||
| BarycentricCoords | int32 bool FVectorFVectorFVectorFVectorFVector & | GeometryScript/MeshQueryFunctions.h | ||
| BarycentricCoords | int32FVector | GeometryScript/MeshQueryFunctions.h | ||
| bHasTriangleIDGaps | FGeometryScriptIndexList bool & | GeometryScript/MeshQueryFunctions.h | ||
| bHasTriangleIDGaps | FGeometryScriptTriangleList bool bool & | GeometryScript/MeshQueryFunctions.h | ||
| bHasVertexIDGaps | FGeometryScriptVectorList bool bool & | GeometryScript/MeshQueryFunctions.h | ||
| bHasVertexIDGaps | FGeometryScriptIndexList bool & | GeometryScript/MeshQueryFunctions.h | ||
| bHaveValidUVs | int32TArray< int32 > TArray< FVector2D > bool & | GeometryScript/MeshQueryFunctions.h | ||
| bHaveValidUVs | bool & | GeometryScript/MeshQueryFunctions.h | ||
| bIsValidTriangle | int32FVector bool & | GeometryScript/MeshQueryFunctions.h | ||
| bIsValidTriangle | int32 bool & | GeometryScript/MeshQueryFunctions.h | ||
| bIsValidVertex | int32 bool & | GeometryScript/MeshQueryFunctions.h | ||
| BiTangents | int32 bool FGeometryScriptTriangleFGeometryScriptTriangleFGeometryScriptTriangle & | GeometryScript/MeshQueryFunctions.h | ||
| bSkipGaps | FGeometryScriptTriangleList bool | GeometryScript/MeshQueryFunctions.h | ||
| bSkipGaps | FGeometryScriptVectorList bool | GeometryScript/MeshQueryFunctions.h | ||
| bTriHasValidElements | int32FVector bool & | GeometryScript/MeshQueryFunctions.h | ||
| bTriHasValidElements | int32 bool & | GeometryScript/MeshQueryFunctions.h | ||
| bTriHasValidNormals | int32FVector bool & | GeometryScript/MeshQueryFunctions.h | ||
| bTriHasValidNormals | int32FVectorFVectorFVector bool & | GeometryScript/MeshQueryFunctions.h | ||
| bTriHasValidUVs | int32FVector bool & | GeometryScript/MeshQueryFunctions.h | ||
| bTriHasValidVertexColors | int32FVectorFLinearColor bool & | GeometryScript/MeshQueryFunctions.h | ||
| bTriHasValidVertexColors | int32FLinearColorFLinearColorFLinearColor bool & | GeometryScript/MeshQueryFunctions.h | ||
| Color1 | int32FLinearColor & | GeometryScript/MeshQueryFunctions.h | ||
| Color2 | int32FLinearColorFLinearColor & | GeometryScript/MeshQueryFunctions.h | ||
| Color3 | int32FLinearColorFLinearColorFLinearColor & | GeometryScript/MeshQueryFunctions.h | ||
| DefaultColor | int32FVectorFLinearColor | GeometryScript/MeshQueryFunctions.h | ||
| EdgeIDs | const FGeometryScriptIndexList & | GeometryScript/MeshQueryFunctions.h | ||
| ElementIDs | bool FGeometryScriptIndexList & | GeometryScript/MeshQueryFunctions.h | ||
| ElementIDs | int32TArray< int32 > & | GeometryScript/MeshQueryFunctions.h | ||
| ElementUVs | int32TArray< int32 > TArray< FVector2D > & | GeometryScript/MeshQueryFunctions.h | ||
| End | const FGeometryScriptIndexListFGeometryScriptVectorListFGeometryScriptVectorList & | GeometryScript/MeshQueryFunctions.h | ||
| InterpolatedBiTangent | int32FVector bool FVectorFVectorFVector & | GeometryScript/MeshQueryFunctions.h | ||
| InterpolatedColor | int32FVectorFLinearColor bool FLinearColor & | GeometryScript/MeshQueryFunctions.h | ||
| InterpolatedNormal | int32FVector bool FVector & | GeometryScript/MeshQueryFunctions.h | ||
| InterpolatedPosition | int32FVector bool FVector & | GeometryScript/MeshQueryFunctions.h | ||
| InterpolatedTangent | int32FVector bool FVectorFVector & | GeometryScript/MeshQueryFunctions.h | ||
| InterpolatedUV | int32FVector bool FVector2D & | GeometryScript/MeshQueryFunctions.h | ||
| Normal1 | int32FVector & | GeometryScript/MeshQueryFunctions.h | ||
| Normal2 | int32FVectorFVector & | GeometryScript/MeshQueryFunctions.h | ||
| Normal3 | int32FVectorFVectorFVector & | GeometryScript/MeshQueryFunctions.h | ||
| Normals | int32 bool FGeometryScriptTriangle & | GeometryScript/MeshQueryFunctions.h | ||
| Point | int32 bool FVector | GeometryScript/MeshQueryFunctions.h | ||
| PositionList | FGeometryScriptVectorList & | GeometryScript/MeshQueryFunctions.h | ||
| Start | const FGeometryScriptIndexListFGeometryScriptVectorList & | GeometryScript/MeshQueryFunctions.h | ||
| Tangents | int32 bool FGeometryScriptTriangleFGeometryScriptTriangle & | GeometryScript/MeshQueryFunctions.h | ||
| TriangleID | int32 | GeometryScript/MeshQueryFunctions.h | ||
| TriangleIDList | FGeometryScriptIndexList & | GeometryScript/MeshQueryFunctions.h | ||
| TriangleList | FGeometryScriptTriangleList & | GeometryScript/MeshQueryFunctions.h | ||
| Triangles | int32TArray< int32 > & | GeometryScript/MeshQueryFunctions.h | ||
| Vertex1 | int32 bool FVectorFVector & | GeometryScript/MeshQueryFunctions.h | ||
| Vertex2 | int32 bool FVectorFVectorFVector & | GeometryScript/MeshQueryFunctions.h | ||
| Vertex3 | int32 bool FVectorFVectorFVectorFVector & | GeometryScript/MeshQueryFunctions.h | ||
| VertexID | int32 | GeometryScript/MeshQueryFunctions.h | ||
| VertexIDList | FGeometryScriptIndexList & | GeometryScript/MeshQueryFunctions.h | ||
| Vertices | int32TArray< int32 > & | GeometryScript/MeshQueryFunctions.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
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 |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static bool GetHasTriangleIDGaps
(
UDynamicMesh* TargetMesh |
Returns true if there are gaps in the Triangle ID list, such that Get Num Triangle IDs is greater than Get Triangle Count. | GeometryScript/MeshQueryFunctions.h |
|
static bool GetHasVertexIDGaps
(
UDynamicMesh* TargetMesh |
Returns true if there are gaps in the Vertex ID list. | GeometryScript/MeshQueryFunctions.h |
|
static bool GetIsClosedMesh
(
UDynamicMesh* TargetMesh |
Returns true if the mesh is closed, such as no topological boundary edges. | GeometryScript/MeshQueryFunctions.h |
|
static bool GetIsDenseMesh
(
UDynamicMesh* TargetMesh |
Returns true if the mesh is dense. | GeometryScript/MeshQueryFunctions.h |
|
static bool GetMeshHasAttributeSet
(
UDynamicMesh* TargetMesh |
Returns true if the Target Mesh has attributes enabled. | GeometryScript/MeshQueryFunctions.h |
|
static FString GetMeshInfoString
(
UDynamicMesh* TargetMesh |
Returns information about the Target Mesh, such as the vertex and triangle count as well as some attribute information. | GeometryScript/MeshQueryFunctions.h |
|
static void GetMeshVolumeArea
(
UDynamicMesh* TargetMesh, |
Computes the volume and area of the mesh. | GeometryScript/MeshQueryFunctions.h |
|
static void GetMeshVolumeAreaCenter
(
UDynamicMesh* TargetMesh, |
Computes the volume, area and center-of-mass of the mesh. | GeometryScript/MeshQueryFunctions.h |
|
static void GetTrianglePositions
(
UDynamicMesh* TargetMesh, |
Returns the 3D positions (in the mesh local space) of the three vertices of the requested triangle. | GeometryScript/MeshQueryFunctions.h |
|
static void GetTriangleUVs
(
UDynamicMesh* TargetMesh, |
Returns the UV values associated with the three vertices of the triangle in the specified UV Channel. | GeometryScript/MeshQueryFunctions.h |
|
static bool IsValidTriangleID
(
UDynamicMesh* TargetMesh, |
Returns true if Triangle ID refers to a valid Triangle in the Target Mesh. | GeometryScript/MeshQueryFunctions.h |
|
static bool IsValidVertexID
(
UDynamicMesh* TargetMesh, |
Returns true if Vertex ID refers to a valid vertex in the Target Mesh. | 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 |
Returns the count of extended PolyGroup Layers. | 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 |
Polygroup Queries Returns true if the mesh has a standard PolyGroup Layer. | 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 |
Return array of Triangle IDs connected to the given VertexID, ie the triangle one-ring | 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 |
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 islands (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 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 |
Returns the unique UV element IDs and values associated with the mesh vertex, in the specified UV Channel. | GeometryScript/MeshQueryFunctions.h |
|