CzmMaterialJsonType:
| { color?: ESJVector4D; type: "Color" }
| { color?: ESJVector4D; type: "PolylineArrow" }
| {
color?: ESJVector4D;
dashLength?: number;
dashPattern?: number;
gapColor?: ESJVector4D;
type: "PolylineDash";
}
| {
color?: ESJVector4D;
glowPower?: number;
taperPower?: number;
type: "PolylineGlow";
}
| {
color?: ESJVector4D;
outlineColor?: ESJVector4D;
outlineWidth?: number;
type: "PolylineOutline";
}
| {
color?: ESJVector4D;
image?: string;
repeat?: ESJVector2D;
type: "Image";
}
| {
channels?: string;
image?: string;
repeat?: ESJVector2D;
type: "DiffuseMap";
}
| {
channel?: string;
image?: string;
repeat?: ESJVector2D;
type: "AlphaMap";
}
| {
channel?: string;
image?: string;
repeat?: ESJVector2D;
type: "SpecularMap";
}
| {
channels?: string;
image?: string;
repeat?: ESJVector2D;
type: "EmissionMap";
}
| {
channel?: string;
image?: string;
repeat?: ESJVector2D;
strength?: number;
type: "BumpMap";
}
| {
channels?: string;
image?: string;
repeat?: ESJVector2D;
strength?: number;
type: "NormalMap";
}
| {
cellAlpha?: number;
color?: ESJVector4D;
lineCount?: ESJVector2D;
lineOffset?: ESJVector2D;
lineThickness?: ESJVector2D;
type: "Grid";
}
| {
evenColor?: ESJVector4D;
horizontal?: boolean;
oddColor?: ESJVector4D;
offset?: number;
repeat?: number;
type: "Stripe";
}
| {
darkColor?: ESJVector4D;
lightColor?: ESJVector4D;
repeat?: ESJVector2D;
type: "Checkerboard";
}
| {
darkColor?: ESJVector4D;
lightColor?: ESJVector4D;
repeat?: ESJVector2D;
type: "Dot";
}
| {
amplitude?: number;
animationSpeed?: number;
baseWaterColor?: ESJVector4D;
blendColor?: ESJVector4D;
fadeFactor?: number;
frequency?: number;
normalMap?: string;
specularIntensity?: number;
specularMap?: string;
type: "Water";
}
| {
color?: ESJVector4D;
rimColor?: ESJVector4D;
type: "RimLighting";
width?: number;
}
| {
fadeDirection?: [boolean, boolean];
fadeInColor?: ESJVector4D;
fadeOutColor?: ESJVector4D;
maximumDistance?: number;
repeat?: boolean;
time?: ESJVector2D;
type: "Fade";
}
| {
color?: ESJVector4D;
spacing?: number;
type: "ElevationContour";
width?: number;
}
| {
image?: string;
maximumHeight?: number;
minimumHeight?: number;
type: "ElevationRamp";
}
| { image?: string; type: "AspectRamp" }
| { colors?: string; heights?: string; type: "ElevationBand" }
| XbsjCustomMaterial