Jump to content

Contributing to documentation 101


GameMonetize
 Share

Recommended Posts

19 hours ago, Zephos said:

For example, creating a primitive mesh requires a scene object in its constructor, so you can't create a mesh and add it to the scene later... it has to be added immediately.

You can also loaded  it and hide it with setEnabled (false) or isVisible = false

Then display it only when you need it.

Link to comment
Share on other sites

6 minutes ago, Dad72 said:

You can also loaded  it and hide it with setEnabled (false) or isVisible = false

Then display it only when you need it.

I realize that, but there are times when I might want to store a bunch of meshes that may or may not be added, and having to add them to the scene and hide them seems less efficient. Maybe I am wrong though... not sure how much overhead a mesh adds to processing if it is hidden.

Link to comment
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...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...