PopulateContextMenu(IRenderPipelineGraphicsSettings, SerializedProperty, ref GenericMenu)
Populate a context menu with custom methods for all IRenderPipelineGraphicsSettings.
阅读时间1 分钟最后更新于 2 小时前
Definition
- Type: Method
- Namespace: UnityEditor.Rendering
- Assembly: UnityEditor
PopulateContextMenu(IRenderPipelineGraphicsSettings, SerializedProperty, GenericMenu)
void PopulateContextMenu(IRenderPipelineGraphicsSettings setting, SerializedProperty property, ref GenericMenu menu)
Parameters
The IRenderPipelineGraphicsSettings that the contextual menu changed.
The SerializedProperty targeting the drawn IRenderPipelineGraphicsSettings.
The GenericMenu being constructed, to be amended with some custom commands.