File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -41,10 +41,10 @@ export class Scene {}
4141- Custom Element tags follow this rule: ` ngt- ` + THREE classes in ** kebab-case** . ` Mesh ` -> ` ngt-mesh `
4242- ` schemas: [CUSTOM_ELEMENTS_SCHEMA] ` allows us to use custom tags on the template. This is Angular's limitation at the moment
4343
44- 2 . Render ` <ngt-canvas> ` component, use ` Scene ` component above to pass into ` [scene ] ` input on ` <ngt-canvas> `
44+ 2 . Render ` <ngt-canvas> ` component, use ` Scene ` component above to pass into ` [sceneGraph ] ` input on ` <ngt-canvas> `
4545
4646``` html
47- <ngt-canvas [scene ] =" Scene" />
47+ <ngt-canvas [sceneGraph ] =" Scene" />
4848```
4949
5050- ` ngt-canvas ` creates the basic building blocks of THREE.js: a default ` WebGLRenderer ` , a default ` Scene ` , and a default ` PerspectiveCamera `
You can’t perform that action at this time.
0 commit comments