API Reference · Model and texture loading
GltfDiagnostic
public sealed record class GltfDiagnosticOne thing the reader could not carry over from a file, and why.
The reader is tolerant by default: a primitive it cannot build is left out and the rest of the model loads, because a character with one broken accessory is more useful than no character. That tolerance would be a trap without this list — it is how a caller finds out that the model on screen is not quite the model in the file. GltfLoadOptions.Validate turns the list into an exception.
Constructors
| Member | Description |
|---|---|
| One thing the reader could not carry over from a file, and why. The reader is tolerant by default: a primitive it cannot build is left out and the rest of the model loads, because a character with one broken accessory is more useful than no character. That tolerance would be a trap without this list — it is how a caller finds out that the model on screen is not quite the model in the file.
|
Properties
| Member | Description |
|---|---|
| The glTF index of the element concerned; which array it indexes depends on |
| What was dropped or substituted. |
| What happened, in words. |