Skip to content

setAnchor causes all nodes and their children to get enabled by default? #318

Answered by ThomasGorisse
sarimmehdi asked this question in Q&A
Discussion options

You must be logged in to vote

However, I was wondering what exactly is the intuition behind enabling the anchor node and its children whenever the setAnchor method is called with the anchor node as its argument. For reference, I am linking to the relevant code segment from Sceneform.

What is sure is that we removed this behavior from SceneView-android. But I can't remember why it was there.
Couldn't you make your nodes invisible instead of disable?

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@sarimmehdi
Comment options

@ThomasGorisse
Comment options

Answer selected by ThomasGorisse
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants