Skip to content
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

THREE.TextGeometry: .height -> .depth #27949

Merged
merged 2 commits into from
Mar 20, 2024
Merged

THREE.TextGeometry: .height -> .depth #27949

merged 2 commits into from
Mar 20, 2024

Conversation

zz85
Copy link
Contributor

@zz85 zz85 commented Mar 20, 2024

Extracting out api changes of { height } -> { depth } from Editor Text's PR to this, where examples and documentation is updated to reflect the new parameters. I've ran most if not all the files that referenced TextGeometry (surprisingly more than just a handful of files) and check that the examples no longer print the depreciated console warnings.

Related issue: #27931

Description

  • depreciating height parameter in TextGeometry options for depth for consistency with ExtrudeGeometry, which refers to the thickness the Text will be extruded. using height is still supported but will emit a warning in the console
  • updated examples, manual and docs

- depreciating `height` parameter in TextGeometry options for `depth`
  for consistency with ExtrudeGeometry, which refers to the thickness
  the Text will be extruded. using `height` is still supported but
  will emit a warning in the console
- updated examples, manual and docs
@Mugen87 Mugen87 added this to the r163 milestone Mar 20, 2024
@Mugen87 Mugen87 merged commit 027b25f into mrdoob:dev Mar 20, 2024
11 checks passed
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