Actor Outline
Actors can opt into outline by tagging one or more mesh components:
- Component tag:
ED_Outline
The interactable component exposes outline configuration:
FEDOutlineInfobEnabledOutlineID(custom depth stencil value)bDetailedOutlineForMaskedMaterials
How it works
When an actor is focused:
- The player component calls
AEDInteractionOutliner::ShowOutlineOfInteractableActor(...) - The outliner finds all mesh components on the target actor tagged
ED_Outline - It spawns a matching mesh component per original mesh
- It attaches the outline meshes to the original meshes
- It enables custom depth and sets the stencil to
OutlineID
Detailed vs transparent material
If bDetailedOutlineForMaskedMaterials is enabled:
- The outline mesh copies the original materials, which can improve masked-material outlines.
Otherwise:
- The outliner applies the plugin’s transparent outline material (
/EDInteractionSystem/M_OutlineTransparent) to all slots.
Requirements
- CustomDepth must be enabled in the project renderer settings to see stencil-based outlines.
- A post-process outline material must read the stencil value (plugin provides
/EDInteractionSystem/Materials/PostProcess/M_Outline_Masterand/EDInteractionSystem/Materials/PostProcess/MI_Outline_Generic).