Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


TryGetRenderPipelineSettingsFromInterface<TSettingsInterfaceType>(out TSettingsInterfaceType[])

Retrieves the array of the settings objects of type TSettingsInterfaceType for the active Render Pipeline if they are registered.
Read time 1 minuteLast updated 10 days ago

Definition

TryGetRenderPipelineSettingsFromInterface<T>(`<>[])

public static bool TryGetRenderPipelineSettingsFromInterface<TSettingsInterfaceType>(out TSettingsInterfaceType[] settings) where TSettingsInterfaceType : class, IRenderPipelineGraphicsSettings

Parameters

The array of the settings objects of type
TSettingsInterfaceType
if found, or
null
.

Returns

Type

Description

boolTrue if any settings of type
TSettings
are available for the active Render Pipeline.