这是indexloc提供的服务,不要输入任何密码
Skip to content

Add documentation to [Raster], [Blob] and [RoundedRect] #354

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Jan 27, 2024

Conversation

sioda-ie
Copy link
Contributor

@sioda-ie sioda-ie commented Jan 24, 2024

Also renamed some parameters to be more consistent, and altered the layout of [Raster] to group similar parameters together. I won't be doing many more layout changes in the near future though, since we don't have a convention for them yet.

},
{
"InputId": "d2401798-593b-4cc3-85d8-3570ddec1f2a"/*Scale*/,
"Position": {
"X": -212.96689,
"Y": 167.20885
},
"Description": "Scales the shape uniformly.",
Copy link
Contributor

@ylmrx ylmrx Jan 25, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

be consistant w/ line 44 : use "Stretches" here.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've used "stretches" for nonuniform scaling and "scales" for uniform scaling, to match the parameters' names. If it would be better to use the same word throughout, I'll change both to "scales".

@@ -1,68 +1,77 @@
{
"Id": "4f89b41b-1643-442b-bec8-9f9ef2173baa"/*Raster*/,
"Description": "Generates a wide range of different raster patterns. You can also connect an input texture to drive various aspects of the pattern.",
"Description": "Generates a wide range of patterns of dots and lines.\n\nConnecting a texture to the Image input will allow the pattern to be influenced differently at different parts of the texture.\n\nAKA: polkadot, pattern, grid, crosshair",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"The image input let the pattern be influenced by its content (reference the channel" (texture is redundant, and the passive form is a bit confusing)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, this line is very clunky in hindsight... Thanks for catching that! Will revise it (might be able to just remove it entirely in fact.)

@pixtur pixtur merged commit 3ed80e1 into tixl3d:dev Jan 27, 2024
@pixtur
Copy link
Collaborator

pixtur commented Jan 27, 2024

Thanks a lot for that great contribution!

@sioda-ie sioda-ie deleted the feat/imgdocs branch March 25, 2024 22:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants