Class Asset
Implements
Inherited Members
Namespace: GLTFast.Newtonsoft.Schema
Assembly: solution.dll
Syntax
public class Asset : Asset, IJsonObject
Constructors
Asset()
Declaration
[Preserve]
public Asset()
Fields
extensions
Declaration
public UnclassifiedData extensions
Field Value
Type | Description |
---|---|
UnclassifiedData |
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 |