146 — Planar Capture Profile Data Asset (DA_PlanarCaptureProfile)
Purpose
Designer-configurable capture profile for individual surfaces. Defines default mode, quality profile overrides, actor lists, and surface material. Referenced by BP_PlanarCaptureActor at BeginPlay.
Dependencies
- Requires:
PlanarCaptureCommon.h (C++ enums/structs)
- Required By: All capture surface actors (139-143)
- Engine/Plugin Requirements: None
Class Info
| Property |
Value |
| Parent Class |
PrimaryDataAsset (C++ may extend) |
| Class Type |
Data Asset |
| Asset Path |
Content/Framework/Capture/DA_PlanarCaptureProfile.uasset |
| C++ Status |
N/A (Data Asset) |
| Asset to Create |
Data Asset in UE5 editor |
1. Variables
| Variable |
Type |
Default |
Description |
DefaultMode |
EPlanarCaptureMode |
Mirror |
Default capture mode |
QualityProfileOverrides |
TArray〈FPlanarCaptureQualityProfile〉 |
— |
Override specific quality tier settings (0=Low, 1=Medium, 2=High, 3=Hero) |
DefaultShowOnlyActors |
TArray〈FPlanarCaptureActorListEntry〉 |
— |
Pre-configured ShowOnly actors |
DefaultHiddenActors |
TArray〈FPlanarCaptureActorListEntry〉 |
— |
Pre-configured Hidden actors |
bStartEnabled |
bool |
true |
Surface starts active |
bDestructible |
bool |
false |
Can be destroyed |
SurfaceMaterialOverride |
TSoftObjectPtr〈UMaterialInterface〉 |
— |
Override surface material |
SurfaceMPCOverride |
TSoftObjectPtr〈UMaterialParameterCollection〉 |
— |
Override MPC reference |
DefaultFOV |
float |
90.0 |
Override capture FOV |
MaxViewDistance |
float |
5000.0 |
Override max view distance |
2. Usage Pattern
At BeginPlay (BP_PlanarCaptureActor)
This allows placing 20 BP_Mirror instances in a level, each referencing a different DA_PlanarCaptureProfile — no per-instance variable tweaking needed.
3. Profile Examples
Profile: HeroMirror
| Variable |
Value |
| DefaultMode |
Mirror |
| QualityProfileOverrides[3] |
Hero: RT 2048, 60fps, Full Lumen, Post |
| bStartEnabled |
true |
| bDestructible |
false |
Profile: SecurityMonitor
| Variable |
Value |
| DefaultMode |
Monitor |
| DefaultFOV |
70.0 |
| QualityProfileOverrides[0] |
Low: RT 256, 5fps |
| MaxViewDistance |
3000.0 |
Profile: HorrorMirror_ScareReady
| Variable |
Value |
| DefaultMode |
HorrorMirror |
| QualityProfileOverrides[3] |
Hero: RT 2048, 12fps, DelayedFrame=5 |
| bDestructible |
true |
| SurfaceMaterialOverride |
MI_Mirror_Horror |
4. Manual Implementation Guide
- Create Data Asset: Parent =
PrimaryDataAsset, Name = DA_PlanarCaptureProfile
- Add variables as listed in Section 1 (create struct for QualityProfileOverrides if needed)
- Create multiple profile instances per surface type
- In each BP_* child, add variable:
CaptureProfile: DA_PlanarCaptureProfile (Instance Editable, Expose on Spawn)
- In BeginPlay override, read profile and apply all settings before EnableSurface()
5. Build Checklist