Jump to content

Line Visibility


d13
 Share

Recommended Posts

Hiya d13, good to see you again.

https://www.babylonjs-playground.com/#1RQXG5#11

Lines 31 or 32 should do you well.  Party on.

Found via line 29... which dumps the guts of the lines mesh... to console.

I just went scrolling down thru the 'object inspector' list shown on the JS console... looking for interesting property names.

.visibility is there, too, but it doesn't seem to work... using my tests.  So, .isVisible and .alpha... works fine.

If you wish, we could go "source diving" and see if we can determine why .visibility is not working.  Just holler, we'll pack a sandwich and dive-in.  :)  It might have something to do with 'alpha blending'.

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...