Conditional Bandwidth Optimization¶
文档版本:1.21.50.25
Defines the Conditional Spatial Update Bandwidth Optimizations of this entity.
架构¶
conditional_bandwidth_optimization:
{
array "conditional_values" : opt
{
object "<any array element>" : opt
{
integer "max_dropped_ticks" : opt
number "max_optimized_distance" : opt
boolean "use_motion_prediction_hints" : opt
array "conditional_values" : opt
{
filters "<any array element>"
}
}
}
object "default_values" : opt
{
integer "max_dropped_ticks" : opt
number "max_optimized_distance" : opt
boolean "use_motion_prediction_hints" : opt
}
}
conditional_values
:array- The object containing the conditional bandwidth optimization values.
conditional_values
<any array element>
:object- The object containing the conditional bandwidth optimization values.
<any array element>
max_dropped_ticks
:integer- In relation to the optimization value, determines the maximum ticks spatial update packets can be not sent.
max_optimized_distance
:number- The maximum distance considered during bandwidth optimizations. Any value below the Maximum is interpolated to find optimization, and any value greater than or equal to this Maximum results in Maximum optimization.
use_motion_prediction_hints
:boolean- When set to true, smaller motion packets will be sent during drop packet intervals, resulting in the same amount of packets being sent as without optimizations but with much less data being sent. This should be used when actors are travelling very quickly or teleporting to prevent visual oddities.
conditional_values
:array- Conditions that must be met for these optimization values to be used.
conditional_values
<any array element>
:filters- 一个过滤器组。
default_values
:object- The object containing the default bandwidth optimization values.
default_values
max_dropped_ticks
:integer- In relation to the optimization value, determines the maximum ticks spatial update packets can be not sent.
max_optimized_distance
:number- The maximum distance considered during bandwidth optimizations. Any value below the Maximum is interpolated to find optimization, and any value greater than or equal to this Maximum results in Maximum optimization.
use_motion_prediction_hints
:boolean- When set to true, smaller motion packets will be sent during drop packet intervals, resulting in the same amount of packets being sent as without optimizations but with much less data being sent. This should be used when actors are travelling very quickly or teleporting to prevent visual oddities.