//separated to add enum popup on default frame settings internal static CED.IDrawer InspectorInnerbox(bool withOverride = true) { return(CED.Group( SectionRenderingPasses(withOverride), SectionRenderingSettings(withOverride), SectionLightingSettings(withOverride), SectionAsyncComputeSettings(withOverride), CED.Select( (serialized, owner) => serialized.lightLoopSettings, LightLoopSettingsUI.SectionLightLoopSettings(withOverride) ) )); }
//separated to add enum popup on default frame settings internal static CED.IDrawer InspectorInnerbox(bool withOverride = true) { return(CED.Group( SectionRenderingPasses(withOverride), SectionRenderingSettings(withOverride), SectionLightingSettings(withOverride), CED.Select( (s, d, o) => s.lightLoopSettings, (s, d, o) => d.lightLoopSettings, LightLoopSettingsUI.SectionLightLoopSettings(withOverride) ) )); }
//separated to add enum popup on default frame settings internal static CED.IDrawer InspectorInnerbox(bool withOverride = true, bool withXR = true) { return(CED.Group( SectionRenderingPasses(withOverride), SectionRenderingSettings(withOverride), CED.FadeGroup( (s, d, o, i) => new AnimBool(withXR), FadeOption.None, SectionXRSettings(withOverride)), SectionLightingSettings(withOverride), CED.Select( (s, d, o) => s.lightLoopSettings, (s, d, o) => d.lightLoopSettings, LightLoopSettingsUI.SectionLightLoopSettings(withOverride) ) )); }