기술 자료

Unity Engine

Unity Engine

RenderPipelineEditorUtility

Helper class that contains a utility function on ScriptableRenderPipeline for Editor.
읽는 시간 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.