Navigation
API > API/Editor > API/Editor/StaticMeshEditor > API/Editor/StaticMeshEditor/UStaticMeshEditorSubsystem
References
| Module | StaticMeshEditor |
| Header | /Engine/Source/Editor/StaticMeshEditor/Public/StaticMeshEditorSubsystem.h |
| Include | #include "StaticMeshEditorSubsystem.h" |
| Source | /Engine/Source/Editor/StaticMeshEditor/Private/StaticMeshEditorSubsystem.cpp |
bool GenerateBoxUVChannel
&40;
UStaticMesh &42; StaticMesh,
int32 LODIndex,
int32 UVChannelIndex,
const FVector & Position,
const FRotator & Orientation,
const FVector & Size
&41;
Remarks
Generates box UV mapping in the specified UV channel on the given LOD of a StaticMesh. true if the UV mapping was generated.
Parameters
| Name | 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. |
| Size | The size of the box projection gizmo. |