unreal.PCGSchedulingPolicyDistanceAndDirection¶
- class unreal.PCGSchedulingPolicyDistanceAndDirection(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
PCGSchedulingPolicyBaseSchedulingPolicyDistanceAndDirection uses distance from the generating volume and alignment with view direction to choose the most important volumes to generate.
Distance and Direction are calculated with respect to the Generation Source.
C++ Source:
Plugin: PCG
Module: PCG
File: PCGSchedulingPolicyDistanceAndDirection.h
Editor Properties: (see get_editor_property/set_editor_property)
cleanup_bounds_modifier(float): [Read-Write] Multiplier to scale bounds by when comparing against the view frustum for clean up.direction_weight(float): [Read-Write] Scalar value used to increase/decrease the impact of direction in the scheduling priority.distance_weight(float): [Read-Write] Scalar value used to increase/decrease the impact of distance in the scheduling priority.generate_bounds_modifier(float): [Read-Write] Multiplier to scale bounds by when comparing against the view frustum for generation. Can help if components on the edge of the frustum are not generating as soon as you would like.use_direction(bool): [Read-Write] Toggle whether or not direction is used to calculate the scheduling priority.use_distance(bool): [Read-Write] Toggle whether or not distance is used to calculate the scheduling priority.use_frustum_culling(bool): [Read-Write] With frustum culling enabled, only components whose bounds overlap the view frustum will be generated.
- property cleanup_bounds_modifier: float¶
[Read-Write] Multiplier to scale bounds by when comparing against the view frustum for clean up.
- Type:
(float)
- property direction_weight: float¶
[Read-Write] Scalar value used to increase/decrease the impact of direction in the scheduling priority.
- Type:
(float)
- property distance_weight: float¶
[Read-Write] Scalar value used to increase/decrease the impact of distance in the scheduling priority.
- Type:
(float)
- property generate_bounds_modifier: float¶
[Read-Write] Multiplier to scale bounds by when comparing against the view frustum for generation. Can help if components on the edge of the frustum are not generating as soon as you would like.
- Type:
(float)
- property use_direction: bool¶
[Read-Write] Toggle whether or not direction is used to calculate the scheduling priority.
- Type:
(bool)