Synced
MaterialAsset.TryGet
Section titled “MaterialAsset.TryGet”
- Tries to read one material property.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Rendering.Assets
Declaration
Section titled “Declaration”public bool Inno.Rendering.Assets.MaterialAsset.TryGet(Inno.Rendering.ShaderPropertyId id, out Inno.Rendering.Assets.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.