handle5 fields
SceneLensDistortion
The scene's lens-distortion post-processing. Read/write its fields, or set scene.lens_distortion = nil to disable.
- Obtained from
Scene.lens_distortion- Accepted by
Scene.lens_distortion
Fields 5
| Field | Type | Access | Description |
|---|---|---|---|
intensity | number | read/write | Distortion strength; positive bulges (barrel), negative pinches (pincushion). |
scale | number | read/write | Zoom applied to the distorted image; raise to crop edge artifacts. |
multiplier | Vec2 | read/write | Per-axis distortion scale; (1, 1) is uniform, a 0 axis disables that axis. |
center | Vec2 | read/write | Distortion center in UV space (0..1; screen center is (0.5, 0.5)). |
edge_curvature | number | read/write | Additional curvature applied toward the screen edges. |