C# 클래스 UnityEditor.Rendering.VolumeParameterDrawer

A base class to implement to draw custom editors for custom VolumeParameter. You must use a VolumeParameterDrawerAttribute to let the editor know which parameter this drawer is for.
If you do not provide a custom editor for a VolumeParameter, Unity uses the buil-in property drawers to draw the property as-is.
파일 보기 프로젝트 열기: m0nsky/hdrp_dxr_dlss

공개 메소드들

메소드 설명
IsAutoProperty ( ) : bool

Override this and return false if you want to customize the position of the override checkbox. If you don't, Unity automatically draws the checkbox and puts the property content in a horizontal scope.

OnGUI ( UnityEditor.Rendering.SerializedDataParameter parameter, GUIContent title ) : bool

Draws the parameter in the editor. If the input parameter is invalid you should return false so that Unity displays the default editor for this parameter.

메소드 상세

IsAutoProperty() 공개 메소드

Override this and return false if you want to customize the position of the override checkbox. If you don't, Unity automatically draws the checkbox and puts the property content in a horizontal scope.
public IsAutoProperty ( ) : bool
리턴 bool

OnGUI() 공개 추상적인 메소드

Draws the parameter in the editor. If the input parameter is invalid you should return false so that Unity displays the default editor for this parameter.
public abstract OnGUI ( UnityEditor.Rendering.SerializedDataParameter parameter, GUIContent title ) : bool
parameter UnityEditor.Rendering.SerializedDataParameter The parameter to draw.
title GUIContent The label and tooltip of the parameter.
리턴 bool