• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

DomCR / ACadSharp / 10546434957

25 Aug 2024 11:09AM UTC coverage: 75.832% (-0.2%) from 75.987%
10546434957

push

github

web-flow
Merge pull request #428 from DomCR/UnknownNonGraphicalObject

Unknown None Graphical Object

4853 of 7047 branches covered (68.87%)

Branch coverage included in aggregate %.

54 of 62 new or added lines in 11 files covered. (87.1%)

69 existing lines in 25 files now uncovered.

19285 of 24784 relevant lines covered (77.81%)

33698.64 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/ACadSharp/Objects/Material.cs
1
namespace ACadSharp.Objects
2
{
3
        public class Material : NonGraphicalObject
4
        {
5
                /// <inheritdoc/>
UNCOV
6
                public override ObjectType ObjectType => ObjectType.UNLISTED;
×
7

8
                /// <inheritdoc/>
UNCOV
9
                public override string ObjectName => DxfFileToken.ObjectMaterial;
×
10

11
                /// <inheritdoc/>
UNCOV
12
                public override string SubclassMarker => DxfSubclassMarker.Material;
×
13

14
                //1        Material name(string)
15

16
                //2        Description(string, default null string)
17

18
                //70
19

20
                //Ambient color method(default = 0) :
21

22
                //0 = Use current color
23

24
                //1 = Override current color
25

26
                //40
27

28
                //Ambient color factor(real, default = 1.0; valid range is 0.0 to 1.0)
29

30
                //90
31

32
                //Ambient color value(unsigned 32-bit integer representing an AcCmEntityColor)
33

34
                //71
35

36
                //Diffuse color method(default = 0) :
37

38
                //0 = Use current color
39

40
                //1 = Override current color
41

42
                //41
43

44
                //Diffuse color factor(real, default = 1.0; valid range is 0.0 to 1.0)
45

46
                //91
47

48
                //Diffuse color value(unsigned 32-bit integer representing an AcCmEntityColor)
49

50
                //42
51

52
                //Diffuse map blend factor(real, default = 1.0)
53

54
                //72
55

56
                //Diffuse map source(default = 1) :
57

58
                //0 = Use current scene
59

60
                //1 = Use image file(specified by file name; null file name specifies no map)
61

62
                //3
63

64
                //Diffuse map file name(string, default = null string)
65

66
                //73
67

68
                //Projection method of diffuse map mapper(default = 1):
69

70
                //1 = Planar
71

72
                //2 = Box
73

74
                //3 = Cylinder
75

76
                //4 = Sphere
77

78
                //74
79

80
                //Tiling method of diffuse map mapper(default = 1):
81

82
                //1 = Tile
83

84
                //2 = Crop
85

86
                //3 = Clamp
87

88
                //75
89

90
                //Auto transform method of diffuse map mapper(bitset, default = 1) :
91

92
                //1= No auto transform
93

94
                //2 = Scale mapper to current entity extents; translate mapper to entity origin
95

96
                //4 = Include current block transform in mapper transform
97

98
                //43
99

100
                //Transform matrix of diffuse map mapper(16 reals; row major format; default = identity matrix)
101

102
                //44
103

104
                //Specular gloss factor(real, default = 0.5)
105

106
                //76
107

108
                //Specular color method(default = 0) :
109

110
                //0 = Use current color
111

112
                //1 = Override current color
113

114
                //45
115

116
                //Specular color factor(real, default = 1.0; valid range is 0.0 to 1.0)
117

118
                //92
119

120
                //Specular color value(unsigned 32-bit integer representing an AcCmEntityColor)
121

122
                //46
123

124
                //Specular map blend factor(real; default = 1.0)
125

126
                //77
127

128
                //Specular map source(default = 1) :
129

130
                //0 = Use current scene
131

132
                //1 = Use image file(specified by file name; null file name specifies no map)
133

134
                //4
135

136
                //Specular map file name(string; default = null string)
137

138
                //78
139

140
                //Projection method of specular map mapper(default = 1):
141

142
                //1 = Planar
143

144
                //2 = Box
145

146
                //3 = Cylinder
147

148
                //4 = Sphere
149

150
                //79
151

152
                //Tiling method of specular map mapper(default = 1):
153

154
                //1 = Tile
155

156
                //2 = Crop
157

158
                //3 = Clamp
159

160
                //170
161

162
                //Auto transform method of specular map mapper(bitset; default = 1):
163

164
                //1 = No auto transform
165

166
                //2 = Scale mapper to current entity extents; translate mapper to entity origin
167

168
                //4 = Include current block transform in mapper transform
169

170
                //47
171

172
                //Transform matrix of specular map mapper(16 reals; row major format; default = identity matrix)
173

174
                //48
175

176
                //Blend factor of reflection map(real, default = 1.0)
177

178
                //171
179

180
                //Reflection map source(default = 1) :
181

182
                //0 = Use current scene
183

184
                //1 = Use image file(specified by file name; null file name specifies no map)
185

186
                //6
187

188
                //Reflection map file name(string; default = null string)
189

190
                //172
191

192
                //Projection method of reflection map mapper(default = 1):
193

194
                //1 = Planar
195

196
                //2 = Box
197

198
                //3 = Cylinder
199

200
                //4 = Sphere
201

202
                //173
203

204
                //Tiling method of reflection map mapper(default = 1):
205

206
                //1 = Tile
207

208
                //2 = Crop
209

210
                //3 = Clamp
211

212
                //174
213

214
                //Auto transform method of reflection map mapper(bitset; default = 1):
215

216
                //1 = No auto transform
217

218
                //2 = Scale mapper to current entity extents; translate mapper to entity origin
219

220
                //4 = Include current block transform in mapper transform
221

222
                //49
223

224
                //Transform matrix of reflection map mapper(16 reals; row major format; default = identity matrix)
225

226
                //140
227

228
                //Opacity percent(real; default = 1.0)
229

230
                //141
231

232
                //Blend factor of opacity map(real; default = 1.0)
233

234
                //175
235

236
                //Opacity map source(default = 1) :
237

238
                //0 = Use current scene
239

240
                //1 = Use image file(specified by file name; null file name specifies no map)
241

242
                //7
243

244
                //Opacity map file name(string; default = null string)
245

246
                //176
247

248
                //Projection method of opacity map mapper(default = 1):
249

250
                //1 = Planar
251

252
                //2 = Box
253

254
                //3 = Cylinder
255

256
                //4 = Sphere
257

258
                //177
259

260
                //Tiling method of opacity map mapper(default = 1):
261

262
                //1 = Tile
263

264
                //2 = Crop
265

266
                //3 = Clamp
267

268
                //178
269

270
                //Auto transform method of opacity map mapper(bitset; default = 1):
271

272
                //1 = No auto transform
273

274
                //2 = Scale mapper to current entity extents; translate mapper to entity origin
275

276
                //4 = Include current block transform in mapper transform
277

278
                //142
279

280
                //Transform matrix of opacity map mapper(16 reals; row major format; default = identity matrix)
281

282
                //143
283

284
                //Blend factor of bump map(real; default = 1.0)
285

286
                //179
287

288
                //Bump map source(default = 1) :
289

290
                //0 = Use current scene
291

292
                //1 = Use image file(specified by file name; null file name specifies no map)
293

294
                //8
295

296
                //Bump map file name(string; default = null string)
297

298
                //270
299

300
                //Projection method of bump map mapper(default = 1):
301

302
                //1 = Planar
303

304
                //2 = Box
305

306
                //3 = Cylinder
307

308
                //4 = Sphere
309

310
                //271
311

312
                //Tiling method of bump map mapper(default = 1):
313

314
                //1 = Tile
315

316
                //2 = Crop
317

318
                //3 = Clamp
319

320
                //272
321

322
                //Auto transform method of bump map mapper(bitset; default = 1):
323

324
                //1 = No auto transform
325

326
                //2 = Scale mapper to current entity extents; translate mapper to entity origin
327

328
                //4 = Include current block transform in mapper transform
329

330
                //144
331

332
                //Transform matrix of bump map mapper(16 reals; row major format; default = identity matrix)
333

334
                //145
335

336
                //Refraction index(real; default = 1.0)
337

338
                //146
339

340
                //Blend factor of refraction map(real; default = 1.0)
341

342
                //273
343

344
                //Refraction map source(default = 1) :
345

346
                //0 = Use current scene
347

348
                //1 = Use image file(specified by file name; null file name specifies no map)
349

350
                //9
351

352
                //Refraction map file name(string; default = null string)
353

354
                //274
355

356
                //Projection method of refraction map mapper(default = 1):
357

358
                //1 = Planar
359

360
                //2 = Box
361

362
                //3 = Cylinder
363

364
                //4 = Sphere
365

366
                //275
367

368
                //Tiling method of refraction map mapper(default = 1):
369

370
                //1 = Tile
371

372
                //2 = Crop
373

374
                //3 = Clamp
375

376
                //276
377

378
                //Auto transform method of refraction map mapper(bitset; default = 1):
379

380
                //1 = No auto transform
381

382
                //2 = Scale mapper to current entity extents; translate mapper to entity origin
383

384
                //4 = Include current block transform in mapper transform
385

386
                //147
387

388
                //Transform matrix of refraction map mapper(16 reals; row major format; default = identity matrix)
389

390
                //460
391

392
                //Color Bleed Scale
393
                //461        Indirect Dump Scale
394
                //462        Reflectance Scale
395
                //463
396

397
                //Transmittance Scale
398
                //290        Two-sided Material
399
                //464        Luminance
400
                //270        Luminance Mode
401
                //271
402

403
                //Normal Map Method
404
                //465        Normal Map Strength
405
                //42        Normal Map Blend Factor
406
                //72
407

408
                //Normal Map Source
409
                //3        Normal Map Source File Name
410
                //73        Normal Mapper Projection
411
                //74        Normal Mapper Tiling
412
                //75        Normal Mapper Auto Transform
413
                //43        Normal Mapper Transform
414
                //293        Materials Anonymous
415
                //272        Global Illumination Mode
416
                //273        Final Gather Mode
417
                //300
418

419
                //GenProcName
420
                //291        GenProcValBool
421
                //271        GenProcValInt
422
                //469        GenProcValReal
423
                //301        GenProcValText
424
                //292        GenProcTableEnd
425
                //62        GenProcValColorIndex
426
                //420        GenProcValColorRGB
427
                //430        GenProcValColorName
428
                //270        Map UTile
429
                //148        Translucence
430
                //90        Self-Illuminaton
431
                //468        Reflectivity
432
                //93        Illumination Model
433
                //94        Channel Flags
434
        }
435
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc