Navigation
API > API/Plugins > API/Plugins/GeometryScriptingCore > API/Plugins/GeometryScriptingCore/GeometryScript
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UBlueprintFunctionLibrary
- UGeometryScriptLibrary_MeshUVFunctions
References
| Module | GeometryScriptingCore |
| Header | /Engine/Plugins/Experimental/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshUVFunctions.h |
| Include | #include "GeometryScript/MeshUVFunctions.h" |
Syntax
UCLASS&40;Meta&61;&40;ScriptName&61;"GeometryScript_UVs"&41;&41;
class UGeometryScriptLibrary_MeshUVFunctions : public UBlueprintFunctionLibrary
Functions
| Type | Name | Description | |
|---|---|---|---|
| UDynamicMesh * | AutoGeneratePatchBuilderMeshUVs
(
UDynamicMesh* TargetMesh, |
Computes new UVs for the specified UV Channel using PatchBuilder method in the Options, and optionally packs. | |
| UDynamicMesh * | AutoGenerateXAtlasMeshUVs
(
UDynamicMesh* TargetMesh, |
Computes new UVs for the specified UV Channel using XAtlas, and optionally packs. | |
| UDynamicMesh * | ComputeMeshLocalUVParam
(
UDynamicMesh* TargetMesh, |
Compute local UV parameterization on TargetMesh vertices around the given CenterPoint / Triangle. | |
| UDynamicMesh * | CopyMeshToMeshUVLayer
(
UDynamicMesh* CopyFromUVMesh, |
Transfer the 3D vertex positions and triangles of CopyFromUVMesh to the given UV Channel identified by ToUVChannel of CopyToMesh. | |
| UDynamicMesh * | CopyMeshUVLayerToMesh
(
UDynamicMesh* CopyFromMesh, |
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. | |
| UDynamicMesh * | CopyUVSet
(
UDynamicMesh* TargetMesh, |
Copy the data in one UV Channel to another UV Channel on the same Target Mesh. | |
| UDynamicMesh * | GetMeshPerVertexUVs
(
UDynamicMesh* TargetMesh, |
Get a list of single vertex UVs for each mesh vertex in the TargetMesh, derived from the specified UV Channel. | |
| UDynamicMesh * | GetMeshUVSizeInfo
(
UDynamicMesh* TargetMesh, |
Compute information about dimensions and areas for a UV Set of a Mesh, with an optional Mesh Selection | |
| UDynamicMesh * | RecomputeMeshUVs
(
UDynamicMesh* TargetMesh, |
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. | |
| UDynamicMesh * | RepackMeshUVs
(
UDynamicMesh* TargetMesh, |
Packs the existing UV islands in the specified UV Channel into standard UV space based on the Repack Options. | |
| UDynamicMesh * | RotateMeshUVs
(
UDynamicMesh* TargetMesh, |
Update all the selected UV values in the specified UV Channel by a rotation of Rotation Angle (in degrees) relative to the Rotation Origin. | |
| UDynamicMesh * | ScaleMeshUVs
(
UDynamicMesh* TargetMesh, |
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. | |
| UDynamicMesh * | SetMeshTriangleUVs
(
UDynamicMesh* TargetMesh, |
Sets the UVs of a mesh triangle in the given UV Channel. | |
| UDynamicMesh * | SetMeshUVsFromBoxProjection
(
UDynamicMesh* TargetMesh, |
Using Box Projection, update the UVs in the UV Channel for an entire mesh or a subset defined by a non-empty Selection. | |
| UDynamicMesh * | SetMeshUVsFromCylinderProjection
(
UDynamicMesh* TargetMesh, |
Using Cylinder Projection, update the UVs in the UV Channel for an entire mesh or a subset defined by a non-empty Selection. | |
| UDynamicMesh * | SetMeshUVsFromPlanarProjection
(
UDynamicMesh* TargetMesh, |
Scale of PlaneTransform defines world-space dimension that maps to 1 UV dimension | |
| UDynamicMesh * | SetNumUVSets
(
UDynamicMesh* TargetMesh, |
Set the number of UV Channels on the Target Mesh. | |
| UDynamicMesh * | TranslateMeshUVs
(
UDynamicMesh* TargetMesh, |
Update all selected UV values in the specified UV Channel by adding the Translation value to each. |