Class Material
Inheritance
MaterialBase<MaterialExtensions, NormalTextureInfo, OcclusionTextureInfo, PbrMetallicRoughness, TextureInfo, TextureInfoExtensions>
Material
Implements
Inherited Members
Namespace: GLTFast.Newtonsoft.Schema
Assembly: solution.dll
Syntax
public class Material : MaterialBase<MaterialExtensions, NormalTextureInfo, OcclusionTextureInfo, PbrMetallicRoughness, TextureInfo, TextureInfoExtensions>, IJsonObject
Constructors
Material()
Declaration
[Preserve]
public Material()
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 |