文档

Unity Engine

Unity Engine

RenderPipelineEditorUtility

Helper class that contains a utility function on ScriptableRenderPipeline for Editor.
阅读时间1 分钟最后更新于 1 个月前

Definition

public static class RenderPipelineEditorUtility

Static Methods

Method

Description

GetDerivedTypesSupportedOnCurrentPipelineReturns the types that're children of
T
and have a SupportedOnRenderPipelineAttribute corresponding to the render pipeline you're using. Order of the return types is arbitrary.
GetPipelineTypeFromPipelineAssetTypeGiven a RenderPipelineAsset type, returns the corresponding RenderPipeline type.
TryAddRenderingLayerNameAdd a new Layer to Rendering Layers in the Tags and Layers manager.
TryRemoveLastRenderingLayerNameRemove a last Layer to Rendering Layers in the Tags and Layers manager. The default Rendering Layer cannot be removed.
TrySetRenderingLayerNameGive a possibility to change a Rendering Layer name.