PruneOptions

Properties

keepAttributes: boolean

Whether to keep unused vertex attributes, such as UVs without an assigned texture.

keepExtras: boolean

Whether custom extras should prevent pruning a property.

keepIndices: boolean

Whether to keep redundant mesh indices, where vertex count equals index count.

keepLeaves: boolean

Whether to keep empty leaf nodes.

keepSolidTextures: boolean

Whether to keep single-color textures that can be converted to material factors.

propertyTypes: string[]

List of PropertyType identifiers to be de-duplicated.

Function symbol, where the argument and output are a box labeled 'glTF'.

Made by Don McCurdy. Documentation built with greendoc and published under Creative Commons Attribution 3.0.