Skip to content

PartitionState

Guribo edited this page Jul 11, 2026 · 2 revisions

PartitionState

Advanced — Internal component. World builders typically do not need this page.

Packages/tlp.udonvoiceutils/Runtime/Core/WorldAudio/PartitionState.cs

Holds partition configuration for the time-sliced emitter update system.

Overview

PartitionState stores partition settings that control how emitters are distributed across update buckets. Partitions divide emitters into priority groups so distant/low-priority sources are updated less frequently.

Part of the WorldAudio subsystem. Used internally by WorldAudioController — world creators do not interact with this component directly.

Configuration

Field Default Range Description
Partitions 3 1–10 Number of priority partitions. Earlier = high priority, later = low priority
PartitionGrowthFactor 4 Recommended: 2–6 Each partition is this many times larger than the previous. Higher = more skewed toward distant sources

Partition Size Example

With Partitions = 3 and PartitionGrowthFactor = 4, emitters are distributed in a 1:4:16 ratio across partitions. The exact count depends on total emitters:

Total Emitters Partition 0 Partition 1 Partition 2
21 1 4 16
50 3 9 38
100 5 19 76

Partition 0 (highest priority) gets the fewest emitters; Partition 2 (lowest priority) gets the most.

Important Limitation

Do not directly control this component. It is managed by the WorldAudio system.

Related

Clone this wiki locally