vault backup: 2025-06-25 14:59:46
This commit is contained in:
parent
80f3341cc0
commit
9a2df3566b
@ -19,6 +19,30 @@ rating: ⭐
|
|||||||
## ASWorld
|
## ASWorld
|
||||||
## AShaderWorldActor
|
## AShaderWorldActor
|
||||||
|
|
||||||
|
### PreEditChange() / PostEditChangeProperty()
|
||||||
|
**PreEditChange()** 主要针对以下两个变量的设置:
|
||||||
|
- PreventReRegistration:防止重新注册。
|
||||||
|
- RuntimePropertyEditing:实时属性修改。
|
||||||
|
|
||||||
|
**PostEditChangeProperty()**
|
||||||
|
里面比较关键的逻辑有:
|
||||||
|
- EditRebuildVegetation.AtomicSet(true);
|
||||||
|
- 在Setup()中清空Bioms数组。
|
||||||
|
- EditRebuild.AtomicSet(true);
|
||||||
|
- 在SetupCollisions()设置rebuild = true。
|
||||||
|
|
||||||
|
如果RuntimePropertyEditing为true,在最后会将RuntimePropertyEditing设置为false。PreventReRegistration也会设置为false。
|
||||||
|
|
||||||
|
### Rebuild变量
|
||||||
|
主要出现在:
|
||||||
|
- Setup():调用RebuildCleanup()清空所有数据。
|
||||||
|
- SetupCollision(): RedbuildCollisionContext = true。
|
||||||
|
- ProcessSpawnablePending():如果处于重建状态就直接返回。
|
||||||
|
- InitiateClipMapMeshes():如果处于重建状态就直接返回。
|
||||||
|
- FinalizeAsyncWork():如果处于重建状态就直接返回。
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Tick()
|
### Tick()
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user