Deprecate hexadecimal getters/setters
donmccurdy opened this issue · 1 comments
donmccurdy commented
For baseColorFactor
and all other material color inputs (including extensions), I've provided getters/setters for both factors and hexadecimal values. This affects most new material extensions, has started to feel like an unnecessary bit of clutter.
glTF-Transform/packages/core/src/properties/material.ts
Lines 193 to 222 in 5f27fbd
In v4, perhaps the hexadecimal-based getters/setters should be deprecated or removed, leaving just factors. Conversion to/from hex is easy with https://gltf-transform.dev/modules/core/classes/ColorUtils.
donmccurdy commented
I'll deprecate these methods in v3.10, and remove them in v4.0.