@reearth/core 0.0.7-alpha.20 → 0.0.7-alpha.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/core.js +3 -3
- package/dist/core.umd.cjs +2 -2
- package/dist/index.d.ts +1 -1
- package/package.json +1 -1
- package/src/engines/Cesium/common.ts +2 -2
- package/src/mantle/types/appearance.ts +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -163,7 +163,7 @@ export declare type Cesium3DTilesAppearance = {
|
|
|
163
163
|
color?: string;
|
|
164
164
|
styleUrl?: string;
|
|
165
165
|
shadows?: "disabled" | "enabled" | "cast_only" | "receive_only";
|
|
166
|
-
colorBlendMode?: "highlight" | "replace" | "mix"
|
|
166
|
+
colorBlendMode?: "highlight" | "replace" | "mix";
|
|
167
167
|
edgeWidth?: number;
|
|
168
168
|
edgeColor?: string;
|
|
169
169
|
selectedFeatureColor?: string;
|
package/package.json
CHANGED
|
@@ -546,7 +546,7 @@ export const colorBlendMode = (colorBlendMode?: "highlight" | "replace" | "mix"
|
|
|
546
546
|
)[colorBlendMode || ""];
|
|
547
547
|
|
|
548
548
|
export const colorBlendModeFor3DTile = (
|
|
549
|
-
colorBlendMode
|
|
549
|
+
colorBlendMode: "highlight" | "replace" | "mix" = "highlight",
|
|
550
550
|
) =>
|
|
551
551
|
(
|
|
552
552
|
({
|
|
@@ -554,7 +554,7 @@ export const colorBlendModeFor3DTile = (
|
|
|
554
554
|
replace: Cesium3DTileColorBlendMode.REPLACE,
|
|
555
555
|
mix: Cesium3DTileColorBlendMode.MIX,
|
|
556
556
|
}) as { [key in string]?: Cesium3DTileColorBlendMode }
|
|
557
|
-
)[colorBlendMode
|
|
557
|
+
)[colorBlendMode]
|
|
558
558
|
|
|
559
559
|
export const heightReference = (
|
|
560
560
|
heightReference?: "none" | "clamp" | "relative",
|
|
@@ -194,7 +194,7 @@ export type Cesium3DTilesAppearance = {
|
|
|
194
194
|
color?: string;
|
|
195
195
|
styleUrl?: string;
|
|
196
196
|
shadows?: "disabled" | "enabled" | "cast_only" | "receive_only";
|
|
197
|
-
colorBlendMode?: "highlight" | "replace" | "mix"
|
|
197
|
+
colorBlendMode?: "highlight" | "replace" | "mix";
|
|
198
198
|
edgeWidth?: number;
|
|
199
199
|
edgeColor?: string;
|
|
200
200
|
selectedFeatureColor?: string; // This doesn't support expression
|