Link Search Menu Expand Document

πŸ– Bounds

PCGEx | Filter : Bounds

Checks if a point is inside or outside the provided bounds, with options for bounds types and an epsilon adjustment.

-


Bounds
Set of points which bounds will be checked against.
Filter
A single filter definition

Table of content


The Bounds Filter checks whether the test points are inside the provided bounds.

details/filter-ecosystem/filter-bounds-lead.png


Properties


Property Description
Bounds Source Defines the bounds to be used for tested points.
Bounds Target Defines the bounds to be used for the input Bounds points.
Check Type The type of bounds x bounds check the filter will do.
Inside Epsilon Lets you set a small value that will be used to expand the target bounds.

Bounds types


Bounds type Β 
Scaled Bounds Point’ bounds scaled by point’ scale.
These are the bounds shown by default when using the debug node in extent mode.
Density Bounds Point’ bounds scaled by point’ scale, expanded by point’ steepness property.
These are the bounds used by a lot of vanilla PCG nodes.
Bounds Raw, unscaled point’ bounds.

Point bounds are determined by its BoundsMin and BoundsMax properties.


Check Type

Defines how source bounds are checked against the target bounds. These are fairly standard box/box operations.

Note that the source bounds are first transformed by their point’ transform, and then inverse transformed by the target’ point transform; meaning there can be some artifacts and mathematical variations as a result of applying the matrices.

Check Type
details/filter-ecosystem/enum-check-type-intersect.png Intersect
TBD
details/filter-ecosystem/enum-check-type-is-inside.png Is Inside
TBD
details/filter-ecosystem/enum-check-type-is-inside-or-on.png Is Inside or On
TBD
details/filter-ecosystem/enum-check-type-is-inside-or-intersect.png Is Inside or On
TBD