Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
types-extra
Introduce MeshMaterialWithColor
and `MeshMaterialWith…
…EnvMap` (#200) This way the type of Material can be further narrowed for common use cases: - `MeshMaterialWithColor`: can be used with functions which assign / alter Material's color - `MeshMaterialWithEnvMap`: can be used with functions which assign / alter Material's environment map, e.g. the `CubeCamera` component.
- Loading branch information