Navigation
API > API/Plugins > API/Plugins/GeometryScriptingCore > API/Plugins/GeometryScriptingCore/GeometryScript
Inheritance Hierarchy
- UBlueprintFunctionLibrary
- UGeometryScriptLibrary_MeshNormalsFunctions
References
| Module | GeometryScriptingCore |
| Header | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshNormalsFunctions.h |
| Include | #include "GeometryScript/MeshNormalsFunctions.h" |
Syntax
UCLASS (Meta=(ScriptName="GeometryScript_Normals"))
class UGeometryScriptLibrary_MeshNormalsFunctions : public UBlueprintFunctionLibrary
Variables
Functions
| Type | Name | Description | |
|---|---|---|---|
| static | UPARAM
(
DisplayName |
Flip/Invert the normal vectors of TargetMesh by multiplying them by -1, as well as reversing the mesh triangle orientations, ie triangle (a,b,c) becomes (b,a,c) | |
| static | UPARAM
(
DisplayName |
Set all tangents in the TargetMesh Tangents Overlays to the specified per-vertex tangents | |
| static | UPARAM
(
DisplayName |
Recompute Tangents for the TargetMesh, using the method and settings specified by FGeometryScriptTangentsOptions | |
| static | UPARAM
(
DisplayName |
Remove any existing Tangents Attribute Layer from the TargetMesh | |
| static | UPARAM
(
DisplayName |
Check if the TargetMesh has a Tangents Attribute Layer enabled | |
| static | UPARAM
(
DisplayName |
Get a list of single normal vectors for each mesh vertex in the TargetMesh, derived from the Normals Overlay. | |
| static | UPARAM
(
DisplayName |
Set all normals in the TargetMesh Normals Overlay to the specified per-vertex normals | |
| static | UPARAM
(
DisplayName |
Get a list of single tangent vectors for each mesh vertex in the TargetMesh, derived from the Tangents Overlays. | |
| static | UPARAM
(
DisplayName |
Set the triangle-vertex normals for the given TriangleID on the TargetMesh. | |
| static | UPARAM
(
DisplayName |
Recompute hard edges / split-normals for TargetMesh based on the provided SplitOptions, and then recompute the new shared triangle-vertex normals using the given CalculateOptions. | |
| static | UPARAM
(
DisplayName |
Recompute the normals of TargetMesh on all the triangles/vertices of the given Selection using the given CalculateOptions. | |
| static | UPARAM
(
DisplayName |
Recompute the normals of TargetMesh using the given CalculateOptions. | |
| static | UPARAM
(
DisplayName |
Recompute the normals of TargetMesh by setting the normals of each triangle vertex to the triangle/face normal. | |
| static | UPARAM
(
DisplayName |
Recompute the normals of TargetMesh by averaging the triangle/face normals around each vertex, using combined area and angle weighting. | |
| static | UPARAM
(
DisplayName |
Attempt to repair inconsistent normals in TargetMesh. | |
| static | UPARAM
(
DisplayName |
Set or remove split normals (aka sharp normals) for all edges in the Selection | |
| static | UPARAM
(
DisplayName |
Update the Normals and/or Tangents at VertexID of TargetMesh. |