コード例 #1
0
ファイル: CatmullRomSpline.cs プロジェクト: lbm7926/Imp
 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
ファイル: CatmullRomSpline.cs プロジェクト: lbm7926/Imp
 public abstract void SetState(BaseSplineState state);