Navigation
API > API/Plugins > API/Plugins/InterchangePipelines
Inheritance Hierarchy
- UInterchangePipelineBase
- UInterchangeGenericMeshPipeline
References
| Module | InterchangePipelines |
| Header | /Engine/Plugins/Interchange/Runtime/Source/Pipelines/Public/InterchangeGenericMeshPipeline.h |
| Include | #include "InterchangeGenericMeshPipeline.h" |
Syntax
UCLASS (BlueprintType, HideDropDown)
class UInterchangeGenericMeshPipeline : public UInterchangePipelineBase
Remarks
Hide drop down will make sure the class is not showing in the class picker
Variables
| Type | Name | Description | |
|---|---|---|---|
| UInterchangeBaseNodeContainer * | BaseNodeContainer | ||
| bool | bAutoComputeLODScreenSizes | If enabled, LOD Screen Sizes would be auto-computed. | |
| bool | bBuildNanite | If enabled, imported meshes will be rendered by Nanite at runtime. | |
| bool | bBuildReversedIndexBuffer | If enabled, builds a reversed index buffer for each static mesh. | |
| bool | bCollision | If enabled, custom collision will be imported. | |
| bool | bCombineStaticMeshes | If enabled, all translated static mesh nodes will be imported as a single static mesh. | |
| bool | bCreatePhysicsAsset | If enabled, create new PhysicsAsset if one doesn't exist. | |
| bool | bGenerateDistanceFieldAsIfTwoSided | Determines whether to generate the distance field treating every triangle hit as a front face. | |
| bool | bGenerateLightmapUVs | If enabled, generates lightmap UVs for each static mesh. | |
| bool | bImportCollisionAccordingToMeshName | If enabled, meshes with certain prefixes will be imported as collision primitives for the mesh with the corresponding unprefixed name. | |
| bool | bImportMorphTargets | If enabled, imports all morph target shapes found in the source. | |
| bool | bImportSkeletalMeshes | If enabled, imports all skeletal mesh assets found in the sources. | |
| bool | bImportStaticMeshes | If enabled, imports all static mesh assets found in the sources. | |
| bool | bImportVertexAttributes | If enabled, imports per-vertex attributes from the FBX file. | |
| bool | bMergeMorphTargetsWithSameName | If enabled, all morph target shapes with the same name will be merge together. | |
| bool | bOneConvexHullPerUCX | If enabled, each UCX collision mesh will be imported as a single convex hull. | |
| int32 | BoneInfluenceLimit | The maximum number of bone influences to allow each vertex in this mesh to use. | |
| bool | bSupportFaceRemap | If enabled, imported static meshes are set up for use with physical material masks. | |
| FVector | BuildScale3D | The local scale applied when building the mesh. | |
| bool | bUpdateSkeletonReferencePose | Enable this option to update the reference pose of the Skeleton (of the mesh). | |
| bool | bUseHighPrecisionSkinWeights | If enabled, imported skin weights use 16 bits instead of 8 bits. | |
| EInterchangeMeshCollision | Collision | Type used to generate a collision when no custom collisions are present in the file. | |
| TWeakObjectPtr< UInterchangeGenericCommonMeshesProperties > | CommonMeshesProperties | Common Meshes Properties Settings Pointer. | |
| TWeakObjectPtr< UInterchangeGenericCommonSkeletalMeshesAndAnimationsProperties > | CommonSkeletalMeshesAndAnimationsProperties | Common SkeletalMeshes And Animations Properties Settings Pointer. | |
| TWeakObjectPtr< class UStaticMesh > | DistanceFieldReplacementMesh | If set, replaces the distance field for all imported meshes with the distance field of the specified Static Mesh. | |
| float | DistanceFieldResolutionScale | Scale to apply to the mesh when allocating the distance field volume texture. | |
| int32 | DstLightmapIndex | Specifies the index of the UV channel that will store generated lightmap UVs. | |
| EInterchangeSkeletalMeshContentType | LastSkeletalMeshImportContentType | The value of the content type during the last import. | |
| FName | LodGroup | The LOD group that will be assigned to this mesh. | |
| TArray< float > | LODScreenSizes | This setting is only used if the Auto Compute LOD Screen Sizes setting is disabled. | |
| int32 | MaxLumenMeshCards | The maximum number of Lumen mesh cards to generate for this mesh. | |
| int32 | MinLightmapResolution | When generating lightmaps, determines the amount of padding used to pack UVs. | |
| float | MorphThresholdPosition | Threshold to compare vertex position equality when computing morph target deltas. | |
| TWeakObjectPtr< UPhysicsAsset > | PhysicsAsset | If set, use the specified PhysicsAsset. | |
| EInterchangeSkeletalMeshContentType | SkeletalMeshImportContentType | Determines what types of information are imported for skeletal meshes. | |
| TArray< const UInterchangeSourceData * > | SourceDatas | ||
| int32 | SrcLightmapIndex | Specifies the index of the UV channel that will be used as the source when generating lightmaps. | |
| float | ThresholdPosition | Threshold value that is used to decide whether two vertex positions are equal. | |
| float | ThresholdTangentNormal | Threshold value that is used to decide whether two normals, tangents, or bi-normals are equal. | |
| float | ThresholdUV | Threshold value that is used to decide whether two UVs are equal. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AdjustSettingsForContext
(
const FInterchangePipelineContextParams& ContextParams |
||
| bool | CanExecuteOnAnyThread
(
EInterchangePipelineTask PipelineTask |
||
| UInterchangePipelineMeshesUtilities * | CreateMeshPipelineUtilities
(
UInterchangeBaseNodeContainer* InBaseNodeContainer, |
||
| bool | DoClassesIncludeAllEditableStructProperties
(
const TArray< const UClass* >& Classes, |
This function return true if all UPROPERTYs of the @Struct exist in the provided @Classes. | |
| void | ExecutePipeline
(
UInterchangeBaseNodeContainer* InBaseNodeContainer, |
||
| void | ExecutePostImportPipeline
(
const UInterchangeBaseNodeContainer* InBaseNodeContainer, |
||
| bool | |||
| FString | GetPipelineCategory
(
UClass* AssetClass |
||
| bool | GetPropertyPossibleValues
(
const FName PropertyPath, |
||
| void | GetSupportAssetClasses
(
TArray< UClass* >& PipelineSupportAssetClasses |
||
| void | ImplementUseSourceNameForAssetOptionSkeletalMesh
(
const int32 MeshesImportedNodeCount, |
Specialize for skeletalmesh | |
| bool | IsPropertyChangeNeedRefresh
(
const FPropertyChangedEvent& PropertyChangedEvent |
||
| void | PostLoad () |
||
| void | PreDialogCleanup
(
const FName PipelineStackName |
||
| void | SetCombineSkeletalMeshes
(
bool InbCombineSkeletalMeshes |
||
| void | SetReimportSourceIndex
(
UClass* ReimportObjectClass, |
Deprecated Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bCombineSkeletalMeshes_DEPRECATED | If enabled, all skinned mesh nodes that belong to the same skeleton root joint are combined into a single skeletal mesh. | |
| bool | bImportCollision_DEPRECATED |