From 170ea8536f494bca2728beade25ff782b01a1b88 Mon Sep 17 00:00:00 2001 From: Digvijaysinh Gohil Date: Fri, 13 Oct 2023 21:01:41 +0530 Subject: [PATCH] Update README.md Documentation of Rectangle node --- README.md | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b5783b3..ad9afdd 100644 --- a/README.md +++ b/README.md @@ -88,7 +88,7 @@ ___

Shapes

Ellipse node

-Generates an ellipse shape based on input UV at the size specified by inputs width and height. The generated shape can be offset or tiled by connecting a TilingAndOffset node. Note that in order to preserve the ability to offset the shape within the UV space the shape will not automatically repeat if tiled. To achieve a repeating dot effect first connect your TilingAndOffset output through a Fraction node. +Generates an ellipse shape based on input UV at the size specified by inputs width and height. The generated shape can be offset or tiled by connecting a TilingAndOffset node. Note that in order to preserve the ability to offset the shape within the UV space the shape will not automatically repeat if tiled. To achieve a repeating dot effect first connect your TilingAndOffset output through a Fract node.
**Inputs** @@ -104,6 +104,24 @@ Generates an ellipse shape based on input UV at the size specified by inputs |output|float|None|Output ellipse value| ___
+
+

Rectangle node

+Generates a rectangle shape based on input UV at the size specified by inputs width and height. The generated shape can be offset or tiled by connecting a TilingAndOffset node. Note that in order to preserve the ability to offset the shape within the UV space the shape will not automatically repeat if tiled. To achieve a repeating rectangle effect first connect your TilingAndOffset output through a Fract node. +
+ +**Inputs** +|Name|Type|Binding|Description| +|---|---|---|---| +|uv|vec2|UV|Input UV value| +|width|float|none|Rectangle width| +|height|float|none|Rectangle height| + +**Outputs** +|Name|Type|Binding|Description| +|---|---|---|---| +|output|float|None|Output rectangle value| +___ +