1.0.0-beta.32 (2021-06-01)
Features
This pipe is mainly used for parameters
that accepts a THREE.Color
only instead of a string | number | THREE.Color
.
<!-- most materials accept all types of argument that THREE.Color accepts -->
<ngt-mesh-basic-material [parameters]='{color: 'black'}'></ngt-mesh-basic-material>
<!-- However, in the case of ngt-canvas, the background property only accepts THREE.Color -->
<ngt-canvas [scene]='{ background: ["black"] | color }'></ngt-canvas>
<!-- same idea as ColorPipe -->
<ngt-canvas [scene]='{ fog: ['000000', 1, 15000] | fog}'></ngt-canvas>
Bug Fixes
- core: move MathConstantPipe to SCAM (e9dc69c)
- core: move MathPipe to SCAM (1495645)
- core: move RepeatDirective to SCAM (95d2e78)
Refactor
- core: remove MathConstantPipe and MathPipe from CoreModule (a970375)
Documentations