コード例 #1
0
 public CurveControlPointRenderer(CurveEditor.Styles style)
 {
     this.m_UnselectedPointRenderer = new ControlPointRenderer(style.pointIcon);
     this.m_SelectedPointRenderer = new ControlPointRenderer(style.pointIconSelected);
     this.m_SelectedPointOverlayRenderer = new ControlPointRenderer(style.pointIconSelectedOverlay);
     this.m_SemiSelectedPointOverlayRenderer = new ControlPointRenderer(style.pointIconSemiSelectedOverlay);
 }
コード例 #2
0
 public CurveControlPointRenderer(CurveEditor.Styles style)
 {
     this.m_UnselectedPointRenderer          = new ControlPointRenderer(style.pointIcon);
     this.m_SelectedPointRenderer            = new ControlPointRenderer(style.pointIconSelected);
     this.m_SelectedPointOverlayRenderer     = new ControlPointRenderer(style.pointIconSelectedOverlay);
     this.m_SemiSelectedPointOverlayRenderer = new ControlPointRenderer(style.pointIconSemiSelectedOverlay);
 }