Skip to content
Discussion options

You must be logged in to vote

Hi @carschno , we do indeed use CVLightTool (as well as the rest of the tools) in the Tools and Settings toolbar of Voyager Explorer.

That class will show you one example of how to grab a list of light components in the scene:

this.lights = next ? next.getInnerComponents(CLight) : [];

Taking a look at component creation:

fromDocument(document: IDocument, nodeIndex: number, pathMap: Map<string, Component>)

we see that the scenegraph component hierarchy is mapped directly to the document. And the document schema defines a 'li…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@gjcope
Comment options

Answer selected by carschno
@carschno
Comment options

@gjcope
Comment options

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