FVoxelWaterPulseOnError
FVoxelWaterPulseOnError belongs to the VoxelWaterPulse runtime module.
Sit veniam nisi eiusmod nisi ipsum cillum laboris. Magna ad ex esse enim reprehenderit occaecat elit. Lorem nulla consectetur incididunt incididunt aliqua do esse laboris veniam nulla ex elit quis sit. Voluptate ullamco ullamco quis ad adipiscing nostrud irure voluptate minim nisi irure incididunt aliqua dolore. Ullamco nisi exercitation tempor ea ipsum commodo in reprehenderit consequat ea adipiscing nisi consequat.
Declaration
1# Plugin configuration (VoxelWaterPulse.yaml)
2plugin:
3 name: VoxelWaterPulse
4 version: 2.0
5 settings:
6 max_pool_size: 100
7 tick_rate: 60.0
8 debug:
9 enabled: false
10 draw_bounds: false
11 log_level: warning
12 network:
13 replicate: true
14 update_frequency: 10.0
Members
| Parameter | Type | Default | Description |
|---|---|---|---|
| MaxPoolSize | int32 | 100 | Maximum number of pooled objects |
| TickRate | float | 60.0 | Update frequency in Hz |
| bAutoActivate | bool | true | Activate on BeginPlay |
| LogVerbosity | ELogVerbosity | Warning | Minimum log level |
| ReplicationMode | ERepMode | Reliable | Network replication strategy |
Example
1// Query the subsystem for nearby actors with filtering
2TArray<AActor*> Results;
3FMyQueryParams Params;
4Params.Origin = GetActorLocation();
5Params.Radius = 1000.0f;
6Params.MaxResults = 10;
7Params.bIncludeHidden = false;
8Params.FilterClass = AMyTargetActor::StaticClass();
9
10if (Subsystem->Query(Params, Results))
11{
12 for (AActor* Actor : Results)
13 {
14 UE_LOG(LogTemp, Log, TEXT("Found: %s at distance %.1f"),
15 *Actor->GetName(),
16 FVector::Dist(Params.Origin, Actor->GetActorLocation()));
17 }
18}
Warning: Modifying these settings at runtime may cause unexpected behavior. Always set configuration before calling Initialize().