Deltakosh

Contributing to documentation 101

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.

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.