Navigation
API > API/Plugins > API/Plugins/GeometryScriptingCore > API/Plugins/GeometryScriptingCore/GeometryScript > API/Plugins/GeometryScriptingCore/GeometryScript/UGeometryScriptL-_17
References
| Module | GeometryScriptingCore |
| Header | /Engine/Plugins/Experimental/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshQueryFunctions.h |
| Include | #include "GeometryScript/MeshQueryFunctions.h" |
| Source | /Engine/Plugins/Experimental/GeometryScripting/Source/GeometryScriptingCore/Private/MeshQueryFunctions.cpp |
static UDynamicMesh &42; GetTriangleVertexColors
&40;
UDynamicMesh &42; TargetMesh,
int32 TriangleID,
FLinearColor & Color1,
FLinearColor & Color2,
FLinearColor & Color3,
bool & bTriHasValidVertexColors
&41;
Remarks
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.
Parameters
| Name | Description |
|---|---|
| bTriHasValidVertexColors | will be returned true if TriangleID exists in TargetMesh and has Vertex Colors set |