Skip to content

Commit 6e7e365

Browse files
committed
docs: update angular three readme
1 parent 6fc9aac commit 6e7e365

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libs/angular-three/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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`

0 commit comments

Comments
 (0)