Esempio n. 1
0
 public Bounds GetGizmoBounds(VisualEffect component)
 {
     if (m_Context == null)
     {
         m_Context = new ParameterGizmoContext(this);
     }
     return(VFXGizmoUtility.GetGizmoBounds(m_Context, component));
 }
Esempio n. 2
0
        public Bounds GetGizmoBounds(VisualEffect component)
        {
            if (m_GizmoContext != null)
            {
                return(VFXGizmoUtility.GetGizmoBounds(m_GizmoContext, component));
            }

            return(new Bounds());
        }