Object Outline Manager¶
Overview¶
UMIPObjectOutlineManager applies a stencil-based outline to an object (e.g. hover/target highlight). It listens to cursor hit target and sets/removes outline by object; default stencil value is configurable.
Key traits:
- Attachment: PlayerController (client).
- API:
SetObjectOutline(InObject, InStencilValue)(default 252),RemoveObjectOutline(InObject). - Flow: Subscribes to cursor hit;
OnCursorHitTarget(InCursorHitInfo)updates which object is outlined.
All paths below are relative to Plugins/ModularInventoryPlus/Source/ModularInventoryPlus/.
Key Classes & Files¶
| Class | File |
|---|---|
UMIPObjectOutlineManager |
Public/Outline/MIPObjectOutlineManager.h |
UMIPObjectOutlineManager¶
- Base: UMIPClientPlayerControllerComponent.
- Properties:
DefaultStencilValue(EditDefaultsOnly),OutliningObject(current). - Integration: Used with UMIPTopDownPlayerControllerComponent cursor hit delegate for hover/target outline.