Version: 2023.2

SupportedOnRenderPipelineAttribute.IsTypeSupportedOnRenderPipeline

切换到手册
public static bool IsTypeSupportedOnRenderPipeline (Type type, Type renderPipelineAssetType);

参数

type The type you want to check.
renderPipelineAssetType RenderPipelineAsset type.

返回

bool Returns true if the provided type is supported on the provided RenderPipelineAsset type.

描述

Use this method to determine whether a type has the SupportedOnRenderPipelineAttribute attribute and determine whether a RenderPipelineAsset type supports that attribute.

Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961