FVoxelCameraQueryParams

v2.0
View as Markdown

FVoxelCameraQueryParams belongs to the VoxelCamera runtime module.

Nostrud quis in excepteur enim nisi exercitation cillum excepteur in elit. Excepteur quis reprehenderit ut tempor occaecat occaecat cillum consequat voluptate. Pariatur occaecat quis et incididunt magna sint voluptate do aliqua. Velit et sint labore aliqua in velit consequat.

Declaration

 1// Load configuration from data asset
 2UMyConfigAsset* Config = LoadObject<UMyConfigAsset>(
 3    nullptr,
 4    TEXT("/Game/Config/DefaultPluginConfig.DefaultPluginConfig")
 5);
 6
 7if (Config)
 8{
 9    Settings.MaxPoolSize = Config->MaxPoolSize;
10    Settings.TickRate = Config->TickRate;
11    Settings.bEnableDebugDraw = Config->bEnableDebugDraw;
12    Settings.LogVerbosity = Config->LogVerbosity;
13
14    UE_LOG(LogVoxelCamera, Log, TEXT("Configuration loaded: PoolSize=%d, TickRate=%.2f"),
15        Settings.MaxPoolSize, Settings.TickRate);
16}

Members

Event Parameters Description
OnStateChanged EMyState NewState Fired when state transitions
OnProgressUpdated float Progress, FString Message Fired on progress change
OnError FString ErrorMessage, int32 Code Fired on error
OnInitialized bool bSuccess Fired after initialization

Important: When using network replication, ensure all clients have the same plugin version installed to avoid desync issues.