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

[g-plugin-device-renderer] 公告牌效果支持配置旋转角度 #1445

Closed
xiaoiver opened this issue Jul 31, 2023 · 1 comment
Closed

[g-plugin-device-renderer] 公告牌效果支持配置旋转角度 #1445

xiaoiver opened this issue Jul 31, 2023 · 1 comment
Assignees
Labels

Comments

@xiaoiver
Copy link
Contributor

xiaoiver commented Jul 31, 2023

在使用了公告牌效果后,坐标轴 label、title 会丢失旋转信息。

text.style.isBillboard = true;
// in radians
text.style.billboardRotation = 0;

参考:https://threejs.org/docs/#api/en/materials/SpriteMaterial.rotation

@xiaoiver
Copy link
Contributor Author

xiaoiver commented Aug 3, 2023

xiaoiver added a commit that referenced this issue Aug 4, 2023
@xiaoiver xiaoiver moved this from In Progress to Done in Polishing WebGL & WebGPU implementation Aug 4, 2023
@xiaoiver xiaoiver closed this as completed Aug 4, 2023
xiaoiver added a commit that referenced this issue Aug 4, 2023
* fix: support rotation when applying billboard effect #1445

* chore: commit changeset

* fix: polyline should support 3D points #1457

* chore: commit changeset

* fix: support size attenuation #1445

* fix: calc dash correctly in 3D

* chore: commit changeset
xiaoiver added a commit that referenced this issue Aug 4, 2023
* fix: support rotation when applying billboard effect (#1456)

* fix: support rotation when applying billboard effect #1445

* chore: commit changeset

* fix: polyline should support 3D points #1457

* chore: commit changeset

* fix: support size attenuation #1445

* fix: calc dash correctly in 3D

* chore: commit changeset

* chore(release): bump version (#1459)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

1 participant