Class GltfObject
- Namespace
- ReFuel.IO.Model.Gltf
- Assembly
- ReFuel.dll
public abstract class GltfObject
- Inheritance
-
GltfObject
- Derived
-
- Inherited Members
-
Constructors
GltfObject()
GltfObject(GltfDocument)
protected GltfObject(GltfDocument document)
Parameters
document
GltfDocument
Properties
Document
public GltfDocument Document { get; protected set; }
Property Value
- GltfDocument
Extension
public GltfCollection Extension { get; protected set; }
Property Value
- GltfCollection
public GltfCollection Extras { get; protected set; }
Property Value
- GltfCollection
Kind
public abstract GltfObjectKind Kind { get; }
Property Value
- GltfObjectKind
Methods
AssertArray(JsonElement, string)
protected void AssertArray(JsonElement element, string property)
Parameters
element
JsonElement
property
string
AssertObject(JsonElement)
protected void AssertObject(JsonElement element)
Parameters
element
JsonElement
DeserializeCommon(JsonElement)
protected void DeserializeCommon(JsonElement element)
Parameters
element
JsonElement
protected void PropertyFormatFail(string name, string? message)
Parameters
name
string
message
string
RequiredProperty(string)
protected void RequiredProperty(string name)
Parameters
name
string