@@ -45,6 +45,7 @@ define([
45
45
'./BillboardGraphics' ,
46
46
'./BoxGraphics' ,
47
47
'./CallbackProperty' ,
48
+ './CheckerboardMaterialProperty' ,
48
49
'./ColorMaterialProperty' ,
49
50
'./CompositeMaterialProperty' ,
50
51
'./CompositePositionProperty' ,
@@ -134,6 +135,7 @@ define([
134
135
BillboardGraphics ,
135
136
BoxGraphics ,
136
137
CallbackProperty ,
138
+ CheckerboardMaterialProperty ,
137
139
ColorMaterialProperty ,
138
140
CompositeMaterialProperty ,
139
141
CompositePositionProperty ,
@@ -1168,6 +1170,14 @@ define([
1168
1170
processPacketData ( Color , existingMaterial , 'gapColor' , materialData . gapColor , undefined , undefined , entityCollection ) ;
1169
1171
processPacketData ( Number , existingMaterial , 'dashLength' , materialData . dashLength , undefined , sourceUri , entityCollection ) ;
1170
1172
processPacketData ( Number , existingMaterial , 'dashPattern' , materialData . dashPattern , undefined , sourceUri , entityCollection ) ;
1173
+ } else if ( defined ( packetData . checkerboard ) ) {
1174
+ if ( ! ( existingMaterial instanceof CheckerboardMaterialProperty ) ) {
1175
+ existingMaterial = new CheckerboardMaterialProperty ( ) ;
1176
+ }
1177
+ materialData = packetData . checkerboard ;
1178
+ processPacketData ( Color , existingMaterial , 'evenColor' , materialData . evenColor , undefined , sourceUri , entityCollection ) ;
1179
+ processPacketData ( Color , existingMaterial , 'oddColor' , materialData . oddColor , undefined , sourceUri , entityCollection ) ;
1180
+ processPacketData ( Cartesian2 , existingMaterial , 'repeat' , materialData . repeat , undefined , sourceUri , entityCollection ) ;
1171
1181
}
1172
1182
1173
1183
if ( defined ( existingInterval ) ) {
0 commit comments