Module |
|
Header |
/Engine/Source/Editor/PropertyEditor/Public/PropertyCustomizationHelpers.h |
Include |
#include "PropertyCustomizationHelpers.h" |
void AddSection
(
int32 LodIndex,
int32 SectionIndex,
FName InMaterialSlotName,
int32 InMaterialSlotIndex,
FName InOriginalMaterialSlotName,
const TMap< int32, FName > & InAvailableMaterialSlotName,
const UMaterialInterface * Material,
bool IsSectionUsingCloth,
bool bIsChunkSection,
int32 DefaultMaterialIndex
)
Adds a new Section to the list
Parameter |
Description |
---|---|
SlotIndex |
The slot (usually mesh element index) where the Section is located on the component |
Section |
The Section being used |
bCanBeReplced |
Whether or not the Section can be replaced by a user |