Module |
|
Header |
/Engine/Plugins/Editor/EditorScriptingUtilities/Source/EditorScriptingUtilities/Public/EditorStaticMeshLibrary.h |
Include |
#include "EditorStaticMeshLibrary.h" |
Source |
/Engine/Plugins/Editor/EditorScriptingUtilities/Source/EditorScriptingUtilities/Private/EditorStaticMeshLibrary.cpp |
[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category="Editor Scripting | StaticMesh")
static bool GeneratePlanarUVChannel
(
UStaticMesh * StaticMesh,
int32 LODIndex,
int32 UVChannelIndex,
const FVector & Position,
const FRotator & Orientation,
const FVector2D & Tiling
)
Generates planar UV mapping in the specified UV channel on the given LOD of a StaticMesh.
true if the UV mapping was generated.
Parameter |
Description |
---|---|
StaticMesh |
Static mesh on which to generate the UV mapping. |
LODIndex |
Index of the StaticMesh LOD. |
UVChannelIndex |
Channel where to save the UV mapping. |
Position |
Position of the center of the projection gizmo. |
Orientation |
Rotation to apply to the projection gizmo. |
Tiling |
The UV tiling to use to generate the UV mapping. |