Interface IGltfReadable<TRoot>
Provides read-only access to a glTF (schema and imported Unity resources)
Inherited Members
Namespace: GLTFast
Assembly: solution.dll
Syntax
public interface IGltfReadable<out TRoot> : IGltfReadable 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 |