Synced
MaterialPropertyBlock.TryGet
Section titled “MaterialPropertyBlock.TryGet”
- Tries to read one frame-local override.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Rendering.Assets
Scope: Runtime
Declaration
Section titled “Declaration”public bool InnoEngine.Rendering.MaterialPropertyBlock.TryGet(InnoEngine.Rendering.ShaderPropertyId id, out InnoEngine.Rendering.MaterialValue value)Parameters
Section titled “Parameters”Parameter id: Stable shader property identifier.
Parameter value: The concrete value read or transformed by this operation.
Returns
Section titled “Returns”true when the override exists.