IN THIS ARTICLE
Vegetation Shape Intersection Filter Component
Add the Vegetation Shape Intersection Filter component to contain vegetation or blocker instance placement within the bounds of a Shape component.
Provider
Dependencies
Add one of the following required components when using the Vegetation Shape Intersection Filter component:
- Vegetation Layer Blender
- Vegetation Layer Blocker
- Vegetation Layer Blocker (Mesh)
- Vegetation Layer Spawner
Vegetation Shape Intersection Filter properties
Property | Description | Values | Default |
---|---|---|---|
Filter Stage | Defines if filters are applied before or after modifiers. | PreProcess , PostProcess , or Default | Default |
Shape Entity Id | Selects an entity with a shape component. Instances are placed only within the bounds of the shape. | EntityId | None |
ShapeIntersectionFilterRequestBus
Use the following request functions with the ShapeIntersectionFilterRequestBus
EBus interface to communicate with Vegetation Shape Intersection Filter components in your game.
Method Name | Description | Parameter | Return | Scriptable |
---|---|---|---|---|
GetShapeEntityId | Returns the Shape Entity Id property of a Shape Intersection Filter. | None | EntityId | Yes |
SetShapeEntityId | Sets the Shape Entity Id property of a Shape Intersection Filter. | EntityId | None | Yes |