Skip to content
On this page

struct FMappingImageSettings

No description available.

Members

TypeMemberDescription
uint8AllowTransparencyMappingIf true, the remeshing processor will allow mapped transparency in the generated mapping image. This allows material casting where gaps filled by the remeshing processor will be cast as transparent.
uint8ApplyNewMaterialIdsIf true, and also generating one or more mapping images for material casting, the material IDs in the process geometry will be updated to reflect the new, not yet cast output materials. This means the output scene will be temporarily invalid before the materialtable has been updated to reflect the new changes.
floatAutomaticTextureSizeMultiplierTexture dimension length multiplier for the automatic texture size.
FChartAggregatorSettingsChartAggregatorSettingsNo description available.
uint8ForcePower2TextureIf automatic_texture_size is enabled, then force the texture sizes to be a power of 2.
uint8GenerateMappingImageIf set, the aggregation processor, reduction processor, or remeshing processor will create a mapping image that maps triangles on the reduced geometry back to triangles on the original geometry. The texture is insert into the MappingImage object. The image data will contain two fields: * RidArray, 'TriangleIds', TupleSize:1, The id of the triangle * UnsignedShortArray, 'BarycentricCoords', TupleSize:2, Items A & B of the barycentric coordinate on the triangle. The user can control the size of the mapped texture using the values MappingTextureWidth and MappingTextureHeight.
uint8GenerateTangentsIf true, generates a new tangent space fields at position specified by TexCoordLevel, based on the vertex normals and texture coordinates. Tangent space fields will always be created if missing, and GenerateMappingImage is enabled. If GenerateTexCoords is enabled, new tangents will always be generated.
uint8GenerateTexCoordsIf true, generates a new texcoords field at the position specified by TexCoordLevel. Will be ignored and always generate texcoords if none are available in the Geometry if GenerateMappingImage is enabled.
intInputMaterialCountThe number of input materials used in the original geometry for mapping to multiple output materials. This needs to be set before you can set any specific in-out material mapping. 0 signifies that no in-out material mapping is used, ie. the process will produce one resulting mapping image.
TArray<FInputMaterialSettings>InputMaterialSettingsNo description available.
intMaximumLayersThe maximum number of layers in the mapping image. If a remeshed geometry has a lot of transparent triangles, use a higher number to be able to find intersections on the inside of parts of the geometry. This setting only has effect in the remeshing, when running reduction the number of layers is always 1.
uint8OnlyParameterizeInvalidUVsIf enabled, will aggregate all the valid original UVs. If there are invalid original UVs, those parts will receive new parameterized UVs.
intOutputMaterialCountThe number of output mapping images that are to be generated. If this is set to more than 1, the material mapping also needs to be set.
TArray<FOutputMaterialSettings>OutputMaterialSettingsNo description available.
FParameterizerSettingsParameterizerSettingsNo description available.
uint8ReplaceMappingImagesWhether to replace already existing mapping images in the scene.
ETexCoordGeneratorTypeTexCoordGeneratorTypeDetermines which method to use when generating the texture coordinates. Parameterizer generate from scratch based on the geometry. ChartAggregator generate based on the original texture coordinates.
intTexCoordLevelThe texture coordinate level used for mapping image and texture generation. If the TexCoordName has been set, the TexCoordLevel is not used.
class FStringTexCoordNameThe texture coordinate level name used for mapping image and texture generation. If new UVs are created, they will replace the old coordinates in the texture channel with the TexCoordName. If no texture level with this name exists. It will be created. If the TexCoordName is not set, the TexCoordLevel (index) will be used instead.
uint8UseAutomaticTextureSizeThe UseAutomaticTextureSize flag. If true, then texture sizes will be computed for the reduced mesh depending on its pixel size on screen.
uint8UseFullRetexturingIf set, all original texcoord sets are replaced by a single new one which will be used for the mapping image. This means the output scene will be temporarily invalid before the materialtable has been updated to reflect the new changes. This flag has no effect on the remeshing, which always does a full retexturing.