Skip to content

Add option to GltfExporter to strip unused attributes#7153

Merged
willeastcott merged 3 commits intomainfrom
strip-attributes
Nov 29, 2024
Merged

Add option to GltfExporter to strip unused attributes#7153
willeastcott merged 3 commits intomainfrom
strip-attributes

Conversation

@willeastcott
Copy link
Copy Markdown
Contributor

Adds options.stripUnusedAttributes to GltfExporter which strips out any unreferenced vertex attributes. Defaults to false.

Partially addresses #7144

I confirm I have read the contributing guidelines and signed the Contributor License Agreement.

* @param {object} options - Object for passing optional arguments.
* @param {number} [options.maxTextureSize] - Maximum texture size. Texture is resized if over
* the size.
* @param {number} [options.maxTextureSize] - Maximum texture size. Texture is resized if over the size.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

glad we're going over the 80 column limit.

@willeastcott willeastcott merged commit 0cc2a2d into main Nov 29, 2024
@willeastcott willeastcott deleted the strip-attributes branch November 29, 2024 10:17
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.

2 participants