vault backup: 2025-01-07 14:03:16

This commit is contained in:
BlueRose 2025-01-07 14:03:16 +08:00
parent 85645d08ca
commit d22c1e64f4

View File

@ -24,7 +24,16 @@ rating: ⭐
aiMaterial *material = scene->mMaterials[mesh->mMaterialIndex];
```
# UProceduralMeshComponent
# 可用组件
## URuntimeMeshComponent
第三方插件实现。
## UDynamicMeshComponent
1. https://zhuanlan.zhihu.com/p/506779703
2. https://www.bilibili.com/opus/798754326935764996
3. https://zhuanlan.zhihu.com/p/649062059
## UProceduralMeshComponent
使用现在StaticMesh构建PMCPMC的MaterialSection是正常的。
1. UKismetProceduralMeshLibrary::CopyProceduralMeshFromStaticMeshComponent()
@ -168,4 +177,8 @@ static int32 GetNewIndexForOldVertIndex(int32 MeshVertIndex, TMap<int32, int32>&
}
}
```
## CreateMeshSection_LinearColor
Editor转换成StaticMesh逻辑
FProceduralMeshComponentDetails::ClickedOnConvertToStaticMesh()
https://forums.unrealengine.com/t/procedural-mesh-not-saving-all-of-its-sections-to-static-mesh/382319/10