文档

Unity Engine

Unity Engine

GetRenderPipelineSettingsFromInterface<TSettingsInterfaceType>()

Get all settings for the currently active pipeline that implement TSettingsInterfaceType.
阅读时间1 分钟最后更新于 1 个月前

Definition

GetRenderPipelineSettingsFromInterface<T>()

public static TSettingsInterfaceType[] GetRenderPipelineSettingsFromInterface<TSettingsInterfaceType>() where TSettingsInterfaceType : class, IRenderPipelineGraphicsSettings

Returns

Type

Description

<TSettingsInterfaceType>[]Returns an array of settings of type
TSettingsInterfaceType
. If none were found, the array is empty.