예제 #1
0
 public override void SetState(BaseSplineState state)
 {
     m_controlPoints = state.ControlPoints.ToArray();
     m_isLooping     = state.IsLooping;
     m_isSelectable  = state.IsSelectable;
     m_renderer.Refresh();
 }
예제 #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();
 }
예제 #3
0
 public abstract void SetState(BaseSplineState state);