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 {}
41
41
- Custom Element tags follow this rule: ` ngt- ` + THREE classes in ** kebab-case** . ` Mesh ` -> ` ngt-mesh `
42
42
- ` schemas: [CUSTOM_ELEMENTS_SCHEMA] ` allows us to use custom tags on the template. This is Angular's limitation at the moment
43
43
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> `
45
45
46
46
``` html
47
- <ngt-canvas [scene ] =" Scene" />
47
+ <ngt-canvas [sceneGraph ] =" Scene" />
48
48
```
49
49
50
50
- ` 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