Navigation
API > API/Plugins > API/Plugins/PlanarCut
Deprecated * Use the BoxProjectUVs variant that takes ETargetFaces instead
References
| Module | PlanarCut |
| Header | /Engine/Plugins/Experimental/PlanarCutPlugin/Source/PlanarCut/Public/FractureAutoUV.h |
| Include | #include "FractureAutoUV.h" |
namespace UE
{
namespace PlanarCut
{
bool UE&58;&58;PlanarCut&58;&58;BoxProjectUVs
&40;
int32 TargetUVLayer,
FGeometryCollection & Collection,
const FVector3d & BoxDimensions,
EUseMaterials MaterialsPattern,
TArrayView< int32 > WhichMaterials,
FVector2f OffsetUVs,
bool bOverrideBoxDimensionsWithBounds,
bool bCenterBoxAtPivot,
bool bUniformProjectionScale
&41;
}
}
Remarks
Box project UVs
Parameters
| Name | Description |
|---|---|
| TargetUVLayer | Which UV layer to update |
| Collection | The collection to be box projected |
| BoxDimensions | Scale of projection box |
| MaterialsPattern | Which pattern of material IDs to automatically consider for box projection |
| WhichMaterials | If non-empty, consider listed material IDs for UV box projection |