Class Root
Inheritance
RootBase<Accessor, Animation, Asset, Buffer, BufferView, Camera, RootExtensions, Image, Material, Mesh, Node, Sampler, Scene, Skin, Texture>
Root
Implements
Inherited Members
Namespace: GLTFast.Newtonsoft.Schema
Assembly: solution.dll
Syntax
public class Root : RootBase<Accessor, Animation, Asset, Buffer, BufferView, Camera, RootExtensions, Image, Material, Mesh, Node, Sampler, Scene, Skin, Texture>, IJsonObject
Constructors
Root()
Declaration
[Preserve]
public Root()
Fields
extras
Declaration
public UnclassifiedData extras
Field Value
Type | Description |
---|---|
UnclassifiedData |
Methods
TryGetValue<T>(string, out T)
Tries find a property of a key and cast its value to type T.
Declaration
public bool TryGetValue<T>(string key, out T value)
Parameters
Type | Name | Description |
---|---|---|
string | key | Property key |
T | value | Resulting value |
Returns
Type | Description |
---|---|
bool | True if the property was found and successfully cast to type T. False otherwise. |
Type Parameters
Name | Description |
---|---|
T | Desired target type |