Lib.image.generate.basic.BoxGradient - tixl3d/tixl GitHub Wiki
A box gradient using the signed distance field "Box - Exact" described in the "2D distance functions" article on Inigo Quilez's website.
Based on [RadialGradient]
2D, SDF, sdBox, [RoundedRect]
| Name (Relevancy & Type) | Description |
|---|---|
| Image (Texture2D) | - |
| Rotation (Single) | - |
| Center (Vector2) | - |
| Size (Vector2) | - |
| UniformScale (Single) | - |
| CornersRadius (Vector4) | top left, top right, bottom right, bottom left |
| Gradient (Gradient) | - |
| GradientWidth (Single) | - |
| Offset (Single) | - |
| PingPong (Boolean) | - |
| Repeat (Boolean) | - |
| GainAndBias (Vector2) | - |
| BlendMode (Int32) | - |
| Resolution (Int2) | - |
| Name | Type |
|---|---|
| TextureOutput | T3.Core.DataTypes.Texture2D |
⚠ Everything else is automatically generated and will be overwritten regularly.