기술 자료

Unity Engine

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.
읽는 시간 1분최근 업데이트: 한 달 전

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.