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