Navigation
API > API/Plugins > API/Plugins/GeometryScriptingCore > API/Plugins/GeometryScriptingCore/UGeometryScriptLibrary_MeshUVFun-
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static static UPARAM
(
DisplayName |
Set the number of UV Channels on the Target Mesh. | GeometryScript/MeshUVFunctions.h |
|
static static UPARAM
(
DisplayName |
GeometryScript/MeshUVFunctions.h |
|
|
static static UPARAM
(
DisplayName |
Copy the data in one UV Channel to another UV Channel on the same Target Mesh. | GeometryScript/MeshUVFunctions.h |
|
static static UPARAM
(
DisplayName |
Sets the UVs of a mesh triangle in the given UV Channel. | GeometryScript/MeshUVFunctions.h |
|
static static UPARAM
(
DisplayName |
Adds a new UV Element to the specified UV Channel of the Mesh and returns a new UV Element ID. | GeometryScript/MeshUVFunctions.h |
|
static static UPARAM
(
DisplayName |
Sets the UV Element IDs for a given Triangle in the specified UV Channel, ie the "UV Triangle" indices. | GeometryScript/MeshUVFunctions.h |
|
static static UPARAM
(
DisplayName |
Returns the UV Element IDs associated with the three vertices of the triangle in the specified UV Channel. | GeometryScript/MeshUVFunctions.h |
|
static static UPARAM
(
DisplayName |
Convert Selection to an Edge selection, and set or remove UV seams along all of the selected edges | GeometryScript/MeshUVFunctions.h |
|
static static UPARAM
(
DisplayName |
Returns the UV Position for a given UV Element ID in the specified UV Channel. | GeometryScript/MeshUVFunctions.h |
|
static static UPARAM
(
DisplayName |
Sets the UV position of a specific ElementID in the given UV Set/Channel If the UV Set or Element ID does not exist, bIsValidElementID will be returned as false. | GeometryScript/MeshUVFunctions.h |
|
static static UPARAM
(
DisplayName |
Update all selected UV values in the specified UV Channel by adding the Translation value to each. | GeometryScript/MeshUVFunctions.h |
|
static static UPARAM
(
DisplayName |
Update all selected UV values in the specified UV Channel by Scale, mathematically the new value is given by (UV - ScaleOrigin) * Scale + ScaleOrigin If the provided Selection is empty, the update is applied to the entire UV Channel. | GeometryScript/MeshUVFunctions.h |
|
static static UPARAM
(
DisplayName |
Update all the selected UV values in the specified UV Channel by a rotation of Rotation Angle (in degrees) relative to the Rotation Origin. | GeometryScript/MeshUVFunctions.h |
|
static static UPARAM
(
DisplayName |
Scale of PlaneTransform defines world-space dimension that maps to 1 UV dimension | GeometryScript/MeshUVFunctions.h |
|
static static UPARAM
(
DisplayName |
Using Box Projection, update the UVs in the UV Channel for an entire mesh or a subset defined by a non-empty Selection. | GeometryScript/MeshUVFunctions.h |
|
static static UPARAM
(
DisplayName |
Using Cylinder Projection, update the UVs in the UV Channel for an entire mesh or a subset defined by a non-empty Selection. | GeometryScript/MeshUVFunctions.h |
|
static static UPARAM
(
DisplayName |
Copy UVs from one mesh to another, by projecting along the requested direction. | GeometryScript/MeshUVFunctions.h |
|
static static UPARAM
(
DisplayName |
Rescales UVs in the UV Channel for a Mesh to match a specified texel density, described by the options passed in. | GeometryScript/MeshUVFunctions.h |
|
static static UPARAM
(
DisplayName |
Recomputes UVs in the UV Channel for a Mesh based on different types of well-defined UV islands, such as existing UV islands, PolyGroups, or a subset of the mesh based on a non-empty Selection. | GeometryScript/MeshUVFunctions.h |
|
static static UPARAM
(
DisplayName |
Packs the existing UV islands in the specified UV Channel into standard UV space based on the Repack Options. | GeometryScript/MeshUVFunctions.h |
|
static static UPARAM
(
DisplayName |
Packs the existing UV islands in the specified UV Channel into standard UV space based on the Repack Options. | GeometryScript/MeshUVFunctions.h |
|
static static UPARAM
(
DisplayName |
Computes new UVs for the specified UV Channel using PatchBuilder method in the Options, and optionally packs. | GeometryScript/MeshUVFunctions.h |
|
static static UPARAM
(
DisplayName |
Computes new UVs for the specified UV Channel using XAtlas, and optionally packs. | GeometryScript/MeshUVFunctions.h |
|
static static UPARAM
(
DisplayName |
Compute information about dimensions and areas for a UV Set of a Mesh, with an optional Mesh Selection | GeometryScript/MeshUVFunctions.h |
|
static static UPARAM
(
DisplayName |
Get a list of single vertex UVs for each mesh vertex in the TargetMesh, derived from the specified UV Channel. | GeometryScript/MeshUVFunctions.h |
|
static static UPARAM
(
DisplayName |
Copy the 2D UVs from the given UV Channel in CopyFromMesh to the 3D vertex positions in CopyToUVMesh, with the triangle mesh topology defined by the UV Channel. | GeometryScript/MeshUVFunctions.h |
|
static static UPARAM
(
DisplayName |
Transfer the 3D vertex positions and triangles of CopyFromUVMesh to the given UV Channel identified by ToUVChannel of CopyToMesh. | GeometryScript/MeshUVFunctions.h |
|
static static UPARAM
(
DisplayName |
Compute local UV parameterization on TargetMesh vertices around the given CenterPoint / Triangle. | GeometryScript/MeshUVFunctions.h |
|
static UPARAM
(
DisplayName |
GeometryScript/MeshUVFunctions.h | ||
static UPARAM
(
DisplayName |
GeometryScript/MeshUVFunctions.h | ||
static UPARAM
(
DisplayName |
GeometryScript/MeshUVFunctions.h | ||
static UPARAM
(
DisplayName |
GeometryScript/MeshUVFunctions.h | ||
static UPARAM
(
DisplayName |
GeometryScript/MeshUVFunctions.h | ||
static UPARAM
(
DisplayName |
GeometryScript/MeshUVFunctions.h | ||
FVector2D UPARAM
(
DisplayName |
GeometryScript/MeshUVFunctions.h | ||
static UPARAM
(
DisplayName |
GeometryScript/MeshUVFunctions.h | ||
static UPARAM
(
DisplayName |
GeometryScript/MeshUVFunctions.h | ||
static UPARAM
(
DisplayName |
GeometryScript/MeshUVFunctions.h | ||
static UPARAM
(
DisplayName |
GeometryScript/MeshUVFunctions.h | ||
static UPARAM
(
DisplayName |
GeometryScript/MeshUVFunctions.h | ||
static UPARAM
(
DisplayName |
GeometryScript/MeshUVFunctions.h | ||
static UPARAM
(
DisplayName |
GeometryScript/MeshUVFunctions.h | ||
static UPARAM
(
DisplayName |
GeometryScript/MeshUVFunctions.h | ||
static UPARAM
(
DisplayName |
GeometryScript/MeshUVFunctions.h | ||
static UPARAM
(
DisplayName |
GeometryScript/MeshUVFunctions.h | ||
static UPARAM
(
DisplayName |
GeometryScript/MeshUVFunctions.h | ||
static UPARAM
(
DisplayName |
GeometryScript/MeshUVFunctions.h | ||
FGeometryScriptMeshSelectionFTransform const UDynamicMeshFGeometryScriptDynamicMeshBVH UPARAM
(
DisplayName |
GeometryScript/MeshUVFunctions.h | ||
static UPARAM
(
DisplayName |
GeometryScript/MeshUVFunctions.h | ||
static UPARAM
(
DisplayName |
GeometryScript/MeshUVFunctions.h | ||
static UPARAM
(
DisplayName |
GeometryScript/MeshUVFunctions.h | ||
static UPARAM
(
DisplayName |
GeometryScript/MeshUVFunctions.h | ||
static UPARAM
(
DisplayName |
GeometryScript/MeshUVFunctions.h | ||
static UPARAM
(
DisplayName |
GeometryScript/MeshUVFunctions.h | ||
static UPARAM
(
DisplayName |
GeometryScript/MeshUVFunctions.h | ||
static UPARAM
(
DisplayName |
GeometryScript/MeshUVFunctions.h | ||
static UPARAM
(
DisplayName |
GeometryScript/MeshUVFunctions.h | ||
static UPARAM
(
DisplayName |
GeometryScript/MeshUVFunctions.h | ||
static UPARAM
(
DisplayName |
GeometryScript/MeshUVFunctions.h | ||
static UPARAM
(
DisplayName |
GeometryScript/MeshUVFunctions.h | ||
bool UPARAM
(
DisplayName |
GeometryScript/MeshUVFunctions.h | ||
static UPARAM
(
DisplayName, |
GeometryScript/MeshUVFunctions.h | ||
static UPARAM
(
DisplayName, |
GeometryScript/MeshUVFunctions.h |
UPARAM(DisplayName)
Description
Set the number of UV Channels on the Target Mesh. If not already enabled, this will enable the mesh attributes.
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshUVFunctions.h |
| Include Path | #include "GeometryScript/MeshUVFunctions.h" |
UFUNCTION (BlueprintCallable, Category="GeometryScript|UVs", Meta=(ScriptMethod),
DisplayName="Set Num UV Channels")
static static UPARAM
(
DisplayName
)
UPARAM(DisplayName)
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshUVFunctions.h |
| Include Path | #include "GeometryScript/MeshUVFunctions.h" |
UFUNCTION (BlueprintCallable, Category="GeometryScript|UVs", Meta=(ScriptMethod),
DisplayName="Clear UV Channel")
static static UPARAM
(
DisplayName
)
UPARAM(DisplayName)
Description
Copy the data in one UV Channel to another UV Channel on the same Target Mesh.
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshUVFunctions.h |
| Include Path | #include "GeometryScript/MeshUVFunctions.h" |
UFUNCTION (BlueprintCallable, Category="GeometryScript|UVs", Meta=(ScriptMethod),
DisplayName="Copy UV Channel")
static static UPARAM
(
DisplayName
)
UPARAM(DisplayName)
Description
Sets the UVs of a mesh triangle in the given UV Channel. This function will create new UV elements for each vertex of the triangle, meaning that the triangle will become an isolated UV island.
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshUVFunctions.h |
| Include Path | #include "GeometryScript/MeshUVFunctions.h" |
UFUNCTION (BlueprintCallable, Category="GeometryScript|UVs", Meta=(ScriptMethod))
static static UPARAM
(
DisplayName
)
UPARAM(DisplayName)
Description
Adds a new UV Element to the specified UV Channel of the Mesh and returns a new UV Element ID.
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshUVFunctions.h |
| Include Path | #include "GeometryScript/MeshUVFunctions.h" |
UFUNCTION (BlueprintCallable, Category="GeometryScript|MeshEdits", Meta=(ScriptMethod))
static static UPARAM
(
DisplayName
)
UPARAM(DisplayName)
Description
Sets the UV Element IDs for a given Triangle in the specified UV Channel, ie the "UV Triangle" indices. This function does not create new UVs, the provided UV Elements must already. The UV Triangle can only be set if the resulting topology would be valid, ie the Elements cannot be shared between different base Mesh Vertices, so they must either be unused by any other triangles, or already associated with the same mesh vertex in other UV triangles. If any conditions are not met, bIsValidTriangle will be returned as false.
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshUVFunctions.h |
| Include Path | #include "GeometryScript/MeshUVFunctions.h" |
UFUNCTION (BlueprintCallable, Category="GeometryScript|UVs", Meta=(ScriptMethod))
static static UPARAM
(
DisplayName
)
UPARAM(DisplayName)
Description
Returns the UV Element IDs associated with the three vertices of the triangle in the specified UV Channel. If the Triangle does not exist in the mesh or if no UVs are set in the specified UV Channel for the triangle, bHaveValidUVs will be returned as false.
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshUVFunctions.h |
| Include Path | #include "GeometryScript/MeshUVFunctions.h" |
UFUNCTION (BlueprintCallable, Category="GeometryScript|UVs", Meta=(ScriptMethod))
static static UPARAM
(
DisplayName
)
UPARAM(DisplayName)
Description
Convert Selection to an Edge selection, and set or remove UV seams along all of the selected edges
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshUVFunctions.h |
| Include Path | #include "GeometryScript/MeshUVFunctions.h" |
UFUNCTION (BlueprintCallable, Category="GeometryScript|UVs",
Meta=(ScriptMethod, DisplayName="Set UV Seams Along Selected Edges"))
static static UPARAM
(
DisplayName
)
Parameters
| Name | Remarks |
|---|---|
| TargetMesh | The mesh to update |
| UVChannel | The UV Channel to update |
| Selection | Which edges to operate on |
| bInsertSeams | Whether to insert new seams. If false, removes existing seams instead. |
| bDeferChangeNotifications | If true, no mesh change notification will be sent. Set to true if performing many changes in a loop. |
UPARAM(DisplayName)
Description
Returns the UV Position for a given UV Element ID in the specified UV Channel. If the UV Set or Element ID does not exist, bIsValidElementID will be returned as false.
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshUVFunctions.h |
| Include Path | #include "GeometryScript/MeshUVFunctions.h" |
UFUNCTION (BlueprintCallable, Category="GeometryScript|UVs", Meta=(ScriptMethod))
static static UPARAM
(
DisplayName
)
UPARAM(DisplayName)
Description
Sets the UV position of a specific ElementID in the given UV Set/Channel If the UV Set or Element ID does not exist, bIsValidElementID will be returned as false.
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshUVFunctions.h |
| Include Path | #include "GeometryScript/MeshUVFunctions.h" |
UFUNCTION (BlueprintCallable, Category="GeometryScript|UVs", Meta=(ScriptMethod))
static static UPARAM
(
DisplayName
)
UPARAM(DisplayName)
Description
Update all selected UV values in the specified UV Channel by adding the Translation value to each. If the provided Selection is empty, the Translation is applied to the entire UV Channel.
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshUVFunctions.h |
| Include Path | #include "GeometryScript/MeshUVFunctions.h" |
UFUNCTION (BlueprintCallable, Category="GeometryScript|UVs", Meta=(ScriptMethod))
static static UPARAM
(
DisplayName
)
UPARAM(DisplayName)
Description
Update all selected UV values in the specified UV Channel by Scale, mathematically the new value is given by (UV - ScaleOrigin) * Scale + ScaleOrigin If the provided Selection is empty, the update is applied to the entire UV Channel.
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshUVFunctions.h |
| Include Path | #include "GeometryScript/MeshUVFunctions.h" |
UFUNCTION (BlueprintCallable, Category="GeometryScript|UVs", Meta=(ScriptMethod))
static static UPARAM
(
DisplayName
)
UPARAM(DisplayName)
Description
Update all the selected UV values in the specified UV Channel by a rotation of Rotation Angle (in degrees) relative to the Rotation Origin. If the provided Selection is empty, the update is applied to the entire UV Channel.
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshUVFunctions.h |
| Include Path | #include "GeometryScript/MeshUVFunctions.h" |
UFUNCTION (BlueprintCallable, Category="GeometryScript|UVs", Meta=(ScriptMethod))
static static UPARAM
(
DisplayName
)
UPARAM(DisplayName)
Description
Scale of PlaneTransform defines world-space dimension that maps to 1 UV dimension
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshUVFunctions.h |
| Include Path | #include "GeometryScript/MeshUVFunctions.h" |
UFUNCTION (BlueprintCallable, Category="GeometryScript|UVs", Meta=(ScriptMethod))
static static UPARAM
(
DisplayName
)
UPARAM(DisplayName)
Description
Using Box Projection, update the UVs in the UV Channel for an entire mesh or a subset defined by a non-empty Selection.
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshUVFunctions.h |
| Include Path | #include "GeometryScript/MeshUVFunctions.h" |
UFUNCTION (BlueprintCallable, Category="GeometryScript|UVs", Meta=(ScriptMethod))
static static UPARAM
(
DisplayName
)
UPARAM(DisplayName)
Description
Using Cylinder Projection, update the UVs in the UV Channel for an entire mesh or a subset defined by a non-empty Selection.
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshUVFunctions.h |
| Include Path | #include "GeometryScript/MeshUVFunctions.h" |
UFUNCTION (BlueprintCallable, Category="GeometryScript|UVs", Meta=(ScriptMethod))
static static UPARAM
(
DisplayName
)
UPARAM(DisplayName)
Description
Copy UVs from one mesh to another, by projecting along the requested direction. Note: This does not transfer UV seams; it assigns a single UV coordinate per vertex in the target mesh selection. By default, also searches in -ProjectionDirection and picks the closest source mesh position to copy from set ProjectionRangeMin in Settings to a value >= 0 to only search in +ProjectionDirection.
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshUVFunctions.h |
| Include Path | #include "GeometryScript/MeshUVFunctions.h" |
UFUNCTION (BlueprintCallable, Category="GeometryScript|UVs",
Meta=(ScriptMethod, Keywords="Set From Mesh"))
static static UPARAM
(
DisplayName
)
Parameters
| Name | Remarks |
|---|---|
| TargetMesh | Mesh to assign new UVs |
| TargetUVChannel | UV channel to update on target mesh |
| TargetSelection | Triangles to update on the target mesh |
| TargetTransform | Transform of target mesh |
| SourceMesh | Mesh to transfer UVs from |
| SourceMeshOptionalBVH | Optional BVH for the source mesh |
| SourceUVChannel | UV channel to read from on the source mesh |
| SourceSelection | Triangles to read from on the source mesh |
| SourceTransform | Transform of the source mesh |
| Settings | Additional settings |
| ProjectionDirection | Direction to project (in the space where TargetMesh is transformed by TargetTransform, and SourceMesh is transformed by SourceTransform) |
| ProjectionOffset | Projection will start offset by this amount from the TargetMesh vertices |
UPARAM(DisplayName)
Description
Rescales UVs in the UV Channel for a Mesh to match a specified texel density, described by the options passed in. Supports processing on a subset of UVs via a non-empty Selection.
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshUVFunctions.h |
| Include Path | #include "GeometryScript/MeshUVFunctions.h" |
UFUNCTION (BlueprintCallable, Category="GeometryScript|UVs",
Meta=(ScriptMethod, AdvancedDisplay="UDIMResolutions"))
static static UPARAM
(
DisplayName
)
UPARAM(DisplayName)
Description
Recomputes UVs in the UV Channel for a Mesh based on different types of well-defined UV islands, such as existing UV islands, PolyGroups, or a subset of the mesh based on a non-empty Selection.
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshUVFunctions.h |
| Include Path | #include "GeometryScript/MeshUVFunctions.h" |
UFUNCTION (BlueprintCallable, Category="GeometryScript|UVs", Meta=(ScriptMethod))
static static UPARAM
(
DisplayName
)
UPARAM(DisplayName)
Description
Packs the existing UV islands in the specified UV Channel into standard UV space based on the Repack Options.
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshUVFunctions.h |
| Include Path | #include "GeometryScript/MeshUVFunctions.h" |
UFUNCTION (BlueprintCallable, Category="GeometryScript|UVs", Meta=(ScriptMethod))
static static UPARAM
(
DisplayName
)
UPARAM(DisplayName)
Description
Packs the existing UV islands in the specified UV Channel into standard UV space based on the Repack Options.
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshUVFunctions.h |
| Include Path | #include "GeometryScript/MeshUVFunctions.h" |
UFUNCTION (BlueprintCallable, Category="GeometryScript|UVs", Meta=(ScriptMethod))
static static UPARAM
(
DisplayName
)
UPARAM(DisplayName)
Description
Computes new UVs for the specified UV Channel using PatchBuilder method in the Options, and optionally packs.
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshUVFunctions.h |
| Include Path | #include "GeometryScript/MeshUVFunctions.h" |
UFUNCTION (BlueprintCallable, Category="GeometryScript|UVs", Meta=(ScriptMethod))
static static UPARAM
(
DisplayName
)
UPARAM(DisplayName)
Description
Computes new UVs for the specified UV Channel using XAtlas, and optionally packs.
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshUVFunctions.h |
| Include Path | #include "GeometryScript/MeshUVFunctions.h" |
UFUNCTION (BlueprintCallable, Category="GeometryScript|UVs", Meta=(ScriptMethod))
static static UPARAM
(
DisplayName
)
UPARAM(DisplayName)
Description
Compute information about dimensions and areas for a UV Set of a Mesh, with an optional Mesh Selection
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshUVFunctions.h |
| Include Path | #include "GeometryScript/MeshUVFunctions.h" |
UFUNCTION (BlueprintCallable, Category="GeometryScript|UVs", Meta=(ScriptMethod))
static static UPARAM
(
DisplayName
)
Parameters
| Name | Remarks |
|---|---|
| UVSetIndex | index of UV Channel to query |
| Selection | subset of triangles to process, whole mesh is used if selection is not provided |
| MeshArea | output 3D area of queried triangles |
| UVArea | output 2D UV-space area of queried triangles |
| MeshBounds | output 3D bounding box of queried triangles |
| UVBounds | output 2D UV-space bounding box of queried triangles |
| bIsValidUVSet | output flag set to false if UV Channel does not exist on the target mesh. In this case Areas and Bounds are not initialized. |
| bFoundUnsetUVs | output flag set to true if any of the queried triangles do not have valid UVs set |
| bOnlyIncludeValidUVTris | if true, only triangles with valid UVs are included in 3D Mesh Area/Bounds |
UPARAM(DisplayName)
Description
Get a list of single vertex UVs for each mesh vertex in the TargetMesh, derived from the specified UV Channel. The UV Channel may store multiple UVs for a single vertex (along UV seams) In such cases an arbitrary UV will be stored for that vertex, and bHasSplitUVs will be returned as true
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshUVFunctions.h |
| Include Path | #include "GeometryScript/MeshUVFunctions.h" |
UFUNCTION (BlueprintCallable, Category="GeometryScript|UVs", Meta=(ScriptMethod))
static static UPARAM
(
DisplayName
)
Parameters
| Name | Remarks |
|---|---|
| UVSetIndex | index of UV Channel to read |
| UVList | output UV list will be stored here. Size will be equal to the MaxVertexID of TargetMesh (not the VertexCount!) |
| bIsValidUVSet | will be set to true if the UV Channel was valid |
| bHasVertexIDGaps | will be set to true if some vertex indices in TargetMesh were invalid, ie MaxVertexID > VertexCount |
| bHasSplitUVs | will be set to true if there were split UVs in the UV Channel |
UPARAM(DisplayName)
Description
Copy the 2D UVs from the given UV Channel in CopyFromMesh to the 3D vertex positions in CopyToUVMesh, with the triangle mesh topology defined by the UV Channel. Generally this "UV Mesh" topology will not be the same as the 3D mesh topology. PolyGroup IDs and Material IDs are preserved in the UVMesh.
2D UV Positions are copied to 3D as (X, Y, 0)
CopyMeshToMeshUVChannel will copy the 3D UV Mesh back to the UV Channel. This pair of functions can then be used to implement UV generation/editing via other mesh functions.
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshUVFunctions.h |
| Include Path | #include "GeometryScript/MeshUVFunctions.h" |
UFUNCTION (BlueprintCallable, Category="GeometryScript|UVs", Meta=(ScriptMethod),
DisplayName="Copy Mesh UV Channel To Mesh")
static static UPARAM
(
DisplayName
)
Parameters
| Name | Remarks |
|---|---|
| bInvalidTopology | will be returned true if any topological issues were found |
| bIsValidUVSet | will be returned false if UVSetIndex is not available |
UPARAM(DisplayName)
Description
Transfer the 3D vertex positions and triangles of CopyFromUVMesh to the given UV Channel identified by ToUVChannel of CopyToMesh. 3D positions (X,Y,Z) will be copied as UV positions (X,Y), ie Z is ignored.
bOnlyUVPositions controls whether only UV positions will be updated, or if the UV topology will be fully replaced. When false, CopyFromUVMesh must currently have a MaxVertexID <= that of the UV Channel MaxElementID When true, CopyFromUVMesh must currently have a MaxTriangleID <= that of CopyToMesh
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshUVFunctions.h |
| Include Path | #include "GeometryScript/MeshUVFunctions.h" |
UFUNCTION (BlueprintCallable, Category="GeometryScript|UVs", Meta=(ScriptMethod),
DisplayName="Copy Mesh To Mesh UV Channel")
static static UPARAM
(
DisplayName
)
Parameters
| Name | Remarks |
|---|---|
| bInvalidTopology | will be returned true if any topological inconsistencies are found (but the operation will generally continue) |
| bIsValidUVSet | will be returned false if To UV Channel is not available |
| bOnlyUVPositions | if true, only (valid, matching) UV positions are updated, a full new UV topology is created |
UPARAM(DisplayName)
Description
Compute local UV parameterization on TargetMesh vertices around the given CenterPoint / Triangle. This method uses a Discrete Exponential Map parameterization, which unwraps the mesh locally based on geodesic distances and angles. The CenterPoint will have UV value (0,0), and the computed vertex UVs will be such that Length(UV) == geodesic distance.
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshUVFunctions.h |
| Include Path | #include "GeometryScript/MeshUVFunctions.h" |
UFUNCTION (BlueprintCallable, Category="GeometryScript|UVs",
Meta=(ScriptMethod, AdvancedDisplay="bUseInterpolatedNormal, TangentYDirection"))
static static UPARAM
(
DisplayName
)
Parameters
| Name | Remarks |
|---|---|
| CenterPoint | the center point of the parameterization. This point must lie on the triangle specified by CenterPointTriangleID |
| CenterPointTriangleID | the ID of the Triangle that contains CenterPoint |
| Radius | the parameterization will be computed out to this geodesic radius |
| bUseInterpolatedNormal | if true (default false), the normal frame used for the parameterization will be taken from the normal overlay, otherwise the CenterPointTriangleID normal will be used |
| VertexIDs | output list of VertexIDs that UVs have been computed for, ie are within geodesic distance Radius from the CenterPoint |
| VertexUVs | output list of Vertex UVs that corresponds to VertexIDs |
UPARAM(DisplayName)
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshUVFunctions.h |
| Include Path | #include "GeometryScript/MeshUVFunctions.h" |
static UPARAM
(
DisplayName
)
UPARAM(DisplayName)
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshUVFunctions.h |
| Include Path | #include "GeometryScript/MeshUVFunctions.h" |
static UPARAM
(
DisplayName
)
UPARAM(DisplayName)
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshUVFunctions.h |
| Include Path | #include "GeometryScript/MeshUVFunctions.h" |
static UPARAM
(
DisplayName
)
UPARAM(DisplayName)
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshUVFunctions.h |
| Include Path | #include "GeometryScript/MeshUVFunctions.h" |
static UPARAM
(
DisplayName
)
UPARAM(DisplayName)
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshUVFunctions.h |
| Include Path | #include "GeometryScript/MeshUVFunctions.h" |
static UPARAM
(
DisplayName
)
UPARAM(DisplayName)
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshUVFunctions.h |
| Include Path | #include "GeometryScript/MeshUVFunctions.h" |
static UPARAM
(
DisplayName
)
UPARAM(DisplayName)
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshUVFunctions.h |
| Include Path | #include "GeometryScript/MeshUVFunctions.h" |
FVector2D UPARAM
(
DisplayName
)
UPARAM(DisplayName)
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshUVFunctions.h |
| Include Path | #include "GeometryScript/MeshUVFunctions.h" |
static UPARAM
(
DisplayName
)
UPARAM(DisplayName)
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshUVFunctions.h |
| Include Path | #include "GeometryScript/MeshUVFunctions.h" |
static UPARAM
(
DisplayName
)
UPARAM(DisplayName)
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshUVFunctions.h |
| Include Path | #include "GeometryScript/MeshUVFunctions.h" |
static UPARAM
(
DisplayName
)
UPARAM(DisplayName)
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshUVFunctions.h |
| Include Path | #include "GeometryScript/MeshUVFunctions.h" |
static UPARAM
(
DisplayName
)
UPARAM(DisplayName)
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshUVFunctions.h |
| Include Path | #include "GeometryScript/MeshUVFunctions.h" |
static UPARAM
(
DisplayName
)
UPARAM(DisplayName)
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshUVFunctions.h |
| Include Path | #include "GeometryScript/MeshUVFunctions.h" |
static UPARAM
(
DisplayName
)
UPARAM(DisplayName)
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshUVFunctions.h |
| Include Path | #include "GeometryScript/MeshUVFunctions.h" |
static UPARAM
(
DisplayName
)
UPARAM(DisplayName)
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshUVFunctions.h |
| Include Path | #include "GeometryScript/MeshUVFunctions.h" |
static UPARAM
(
DisplayName
)
UPARAM(DisplayName)
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshUVFunctions.h |
| Include Path | #include "GeometryScript/MeshUVFunctions.h" |
static UPARAM
(
DisplayName
)
UPARAM(DisplayName)
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshUVFunctions.h |
| Include Path | #include "GeometryScript/MeshUVFunctions.h" |
static UPARAM
(
DisplayName
)
UPARAM(DisplayName)
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshUVFunctions.h |
| Include Path | #include "GeometryScript/MeshUVFunctions.h" |
static UPARAM
(
DisplayName
)
UPARAM(DisplayName)
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshUVFunctions.h |
| Include Path | #include "GeometryScript/MeshUVFunctions.h" |
static UPARAM
(
DisplayName
)
UPARAM(DisplayName)
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshUVFunctions.h |
| Include Path | #include "GeometryScript/MeshUVFunctions.h" |
FGeometryScriptMeshSelection FTransform const UDynamicMesh FGeometryScriptDynamicMeshBVH UPARAM
(
DisplayName
)
UPARAM(DisplayName)
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshUVFunctions.h |
| Include Path | #include "GeometryScript/MeshUVFunctions.h" |
static UPARAM
(
DisplayName
)
UPARAM(DisplayName)
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshUVFunctions.h |
| Include Path | #include "GeometryScript/MeshUVFunctions.h" |
static UPARAM
(
DisplayName
)
UPARAM(DisplayName)
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshUVFunctions.h |
| Include Path | #include "GeometryScript/MeshUVFunctions.h" |
static UPARAM
(
DisplayName
)
UPARAM(DisplayName)
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshUVFunctions.h |
| Include Path | #include "GeometryScript/MeshUVFunctions.h" |
static UPARAM
(
DisplayName
)
UPARAM(DisplayName)
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshUVFunctions.h |
| Include Path | #include "GeometryScript/MeshUVFunctions.h" |
static UPARAM
(
DisplayName
)
UPARAM(DisplayName)
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshUVFunctions.h |
| Include Path | #include "GeometryScript/MeshUVFunctions.h" |
static UPARAM
(
DisplayName
)
UPARAM(DisplayName)
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshUVFunctions.h |
| Include Path | #include "GeometryScript/MeshUVFunctions.h" |
static UPARAM
(
DisplayName
)
UPARAM(DisplayName)
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshUVFunctions.h |
| Include Path | #include "GeometryScript/MeshUVFunctions.h" |
static UPARAM
(
DisplayName
)
UPARAM(DisplayName)
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshUVFunctions.h |
| Include Path | #include "GeometryScript/MeshUVFunctions.h" |
static UPARAM
(
DisplayName
)
UPARAM(DisplayName)
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshUVFunctions.h |
| Include Path | #include "GeometryScript/MeshUVFunctions.h" |
static UPARAM
(
DisplayName
)
UPARAM(DisplayName)
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshUVFunctions.h |
| Include Path | #include "GeometryScript/MeshUVFunctions.h" |
static UPARAM
(
DisplayName
)
UPARAM(DisplayName)
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshUVFunctions.h |
| Include Path | #include "GeometryScript/MeshUVFunctions.h" |
static UPARAM
(
DisplayName
)
UPARAM(DisplayName)
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshUVFunctions.h |
| Include Path | #include "GeometryScript/MeshUVFunctions.h" |
bool UPARAM
(
DisplayName
)
UPARAM(DisplayName, ref)
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshUVFunctions.h |
| Include Path | #include "GeometryScript/MeshUVFunctions.h" |
static UPARAM
(
DisplayName,
ref
)
UPARAM(DisplayName, ref)
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshUVFunctions.h |
| Include Path | #include "GeometryScript/MeshUVFunctions.h" |
static UPARAM
(
DisplayName,
ref
)