Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetSettingsImplementingInterface<TSettingsInterfaceType>(out List<TSettingsInterfaceType>)

Get all settings for the currently active pipeline that implement TSettingsInterfaceType.
Read time 1 minuteLast updated 6 days ago

Definition

GetSettingsImplementingInterface<T>(List<T>)

protected bool GetSettingsImplementingInterface<TSettingsInterfaceType>(out List<TSettingsInterfaceType> settings) where TSettingsInterfaceType : class, IRenderPipelineGraphicsSettings

Parameters

settings

A list of settings of type
TSettingsInterfaceType
. If none were found, the list is empty.

Returns

Type

Description

boolReturns true if any settings of type
TSettingsInterfaceType
were found, false otherwise.