Hey Gusy! I followed the tutorial to implement outline for actor successful, but I want to enable/disable to set this property, and have no success :(. Any ideas?
I tried these ways not working.
Comp.bRenderCustomDepth = true or Comp.SetRenderCustomDepth(true)
Just noticed, after call to SetRenderCustomDepth(true) you do not need to set anything else. SetRenderCustomDepth inside sets bRenderCustomDepth and calls MarkRenderStateDirty();
But I wander, why do you call CreateDefaultSubobject? You need to highlight a mesh, right? So call it on a mesh.
Yeah, you are right. I set it wrong method which is construction method, I changed it to overlap, and call it by mes, finally it works. thanks for the solution.