Synced
MaterialAsset.TryGet
Section titled “MaterialAsset.TryGet”
- Tries to read one material property.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Rendering.Assets
Scope: Runtime
Declaration
Section titled “Declaration”public bool InnoEngine.Rendering.MaterialAsset.TryGet(InnoEngine.Rendering.ShaderPropertyId id, out InnoEngine.Rendering.MaterialValue value)Parameters
Section titled “Parameters”Parameter id: Stable shader property identifier.
Parameter value: Receives the neutral value when present.
Returns
Section titled “Returns”true when the property exists.