Beispiel #1
0
 public override void SetState(BaseSplineState state)
 {
     m_controlPoints = state.ControlPoints.ToArray();
     m_isLooping     = state.IsLooping;
     m_isSelectable  = state.IsSelectable;
     m_renderer.Refresh();
 }
Beispiel #2
0
 public override void SetState(BaseSplineState state)
 {
     m_controlPoints = state.ControlPoints.ToArray();
     m_settings      = state.Settings.Select(s => new ControlPointSettings(s)).ToArray();
     m_isSelectable  = state.IsSelectable;
     m_renderer.Refresh();
 }
Beispiel #3
0
 public abstract void SetState(BaseSplineState state);