Skip to main content

Actor Outline

Actors can opt into outline by tagging one or more mesh components:

  • Component tag: ED_Outline

The interactable component exposes outline configuration:

  • FEDOutlineInfo
    • bEnabled
    • OutlineID (custom depth stencil value)
    • bDetailedOutlineForMaskedMaterials

How it works

When an actor is focused:

  1. The player component calls AEDInteractionOutliner::ShowOutlineOfInteractableActor(...)
  2. The outliner finds all mesh components on the target actor tagged ED_Outline
  3. It spawns a matching mesh component per original mesh
  4. It attaches the outline meshes to the original meshes
  5. 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 to all slots.

Requirements

  • CustomDepth must be enabled in the project renderer settings to see stencil-based outlines.
  • Your post-process outline solution must read the stencil value, if you use one.