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

            return(new Bounds());
        }