set_rvt_volume_bounds
Fit an existing Runtime Virtual Texture volume's bounds to a landscape or actor, recomputing its transform to cover that actor and any primitives writing to its RVT.
Instructions
Fit an existing ARuntimeVirtualTextureVolume's bounds to an actor -- the engine "Set Bounds" button (RuntimeVirtualTexture::SetBounds). Sets the volume's BoundsAlignActor and recomputes its transform to cover that actor (a landscape uses its complete bounds) plus any primitives writing to the volume's RVT. The volume must already have its RVT bound (create_rvt_volume). Optional landscape texel-snap + bounds expansion.
Returns: { volume_name, bounds_align_actor, snap_to_landscape, expand_bounds, applied }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| volume_name | Yes | Required. Actor name/label of the ARuntimeVirtualTextureVolume. | |
| expand_bounds | No | Optional float >= 0. Amount to expand the computed bounds. | |
| snap_to_landscape | No | Optional bool. Snap virtual-texture texels to landscape vertices (only meaningful when the align actor is a landscape). | |
| bounds_align_actor | Yes | Required. Name/label of the actor (usually the ALandscape) to fit the bounds to. |