Lib.image.generate.basic.BoxGradient - tixl3d/tixl GitHub Wiki

BoxGradient

in Lib.image.generate.basic


A box gradient using the signed distance field "Box - Exact" desbribed in the "2D distance functions" article on Inigo Quilez's website.

Based on [RadialGradient]

2D, SDF, sdBox, [RoundedRect]


Input Parameters

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) -

Outputs

Name Type
TextureOutput T3.Core.DataTypes.Texture2D

Please help use to improve this documentation. Feel free to improve the description.

⚠ Everything else is automatically generated and will be overwritten regularly.

⚠️ **GitHub.com Fallback** ⚠️