Skip to content

UnsupportedModelException

Namespace Nfty.Model in assembly Nfty.Model.

public sealed class UnsupportedModelException : Exception

A model file uses something GltfReader does not read. The reader understands exactly the shape ModelWriter writes, so anything else is refused by naming the feature, never guessed at.

Constructors

UnsupportedModelException(string)

public UnsupportedModelException(string feature);

Creates the exception.

Parameters

  • feature (string) - The unsupported feature, worded for a reader (e.g. "more than one mesh").

Properties

Feature

public string Feature { get; }

The feature that was refused.