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

Node: Introduce onUpdate #27964

Merged
merged 3 commits into from
Mar 22, 2024
Merged

Node: Introduce onUpdate #27964

merged 3 commits into from
Mar 22, 2024

Conversation

sunag
Copy link
Collaborator

@sunag sunag commented Mar 21, 2024

Description

Introduce simple logic for anyone who wants to update a uniform or node in general using TSL and not extending a class.

const timer = uniform( 0 ).onFrameUpdate( () => performance.now() / 1000 );

@sunag sunag added this to the r163 milestone Mar 21, 2024
@sunag sunag marked this pull request as ready for review March 22, 2024 00:07
@sunag sunag merged commit 05a1c42 into mrdoob:dev Mar 22, 2024
11 checks passed
@sunag sunag deleted the dev-onUpdate branch March 22, 2024 00:07
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.

1 participant