KarimALatif

What is the Best Method for mesh rendering (update)

Recommended Posts

Hello guys ,

As i unity developer i just want to ask a quick question

Which method in mesh class  Match update function in unity .. What it means i want each mesh to have it's own update method rather use scene.registerBeforeRender() Which controls every update/render happens  in the scene


I've used those func's 

mesh.onBeforeDrawObservable()

mesh.onAfterRenderObservable()

But Explicitly i don't know if it's best choice or not and i have little problem with it ..  Also those methods can't  be executed behind camera view (the mesh must be in the view of camera to allow those type of functions to be executed) 

so guys what do u think ?
Thanks in advance

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.