Interface IGltfReadable<TRoot>
Provides read-only access to a glTF (schema and imported Unity resources)
Inherited Members
Namespace: GLTFast
Assembly: glTFast.dll
Syntax
public interface IGltfReadable<out TRoot> : IGltfReadable, IMaterialProvider, IMaterialsVariantsProvider where TRoot : RootBase
Type Parameters
Name | Description |
---|---|
TRoot | glTF root (de-serialized glTF JSON) class type |
Methods
GetSourceRoot()
Get source root (de-serialized glTF JSON). This is intended for read-only access. Changes might corrupt data and break subsequent scene instantiation.
Declaration
TRoot GetSourceRoot()
Returns
Type | Description |
---|---|
TRoot | De-serialized glTF root object |