We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

X-ray enable/disable dinamically

Home Forums Puzzles X-ray enable/disable dinamically

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #66972
    kuze
    Customer

    Hi all,
    is there any way to enable/disable the x-ray option on “when hovered” or “when clicked” events dynamically?
    I need to do this to load/unload a (transparent) glTF file surrounding the objects I want to click on.
    In detail, I would like x-ray option to be enabled after loading the glTF file and disabled after unloading it.

    Thank you very much for your support.

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.