20 lines
		
	
	
		
			459 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			459 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
---
 | 
						||
title: Untitled
 | 
						||
date: 2024-11-14 12:19:36
 | 
						||
excerpt: 
 | 
						||
tags: 
 | 
						||
rating: ⭐
 | 
						||
---
 | 
						||
# 前言
 | 
						||
探索思路:
 | 
						||
 | 
						||
# 问题解决方法
 | 
						||
添加相关性overrider,将bDynamicRelevance设置成true。
 | 
						||
```c++
 | 
						||
FPrimitiveViewRelevance FOutlineSkeletalMeshSceneProxy::GetViewRelevance(const FSceneView* View) const  
 | 
						||
{  
 | 
						||
    FPrimitiveViewRelevance Result = FSkeletalMeshSceneProxy::GetViewRelevance(View);  
 | 
						||
    Result.bDynamicRelevance = true;  
 | 
						||
    return Result;  
 | 
						||
}
 | 
						||
``` |