Esempio n. 1
1
 /// <summary>
 /// 
 /// </summary>
 /// <param name="game"></param>
 public GraphSystem( Game game )
     : base(game)
 {
     Config = new ParticleConfig();
     HighlightNodeColor = new Vector4(0, 1, 0, 1);
     HighlightEdgeColor = new Vector4(0, 1, 0, 1);
 }
Esempio n. 2
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="game"></param>
        public GraphSystem(Game game) : base(game)
        {
            Config             = new ParticleConfig();
            HighlightNodeColor = new Vector4(0, 1, 0, 1);
            HighlightEdgeColor = new Vector4(0, 1, 0, 1);
            BackgroundColor    = Color.White;
            BlendMode          = BlendState.Additive;
            AnchorToNodes      = false;

            highlightNodesList = new List <Tuple <StructuredBuffer, HighlightParams> >();
            highlightEdgesList = new List <Tuple <StructuredBuffer, HighlightParams> >();
        }
Esempio n. 3
0
        /// <summary>
        /// 
        /// </summary>
        /// <param name="game"></param>
        public GraphSystem( Game game )
            : base(game)
        {
            Config = new ParticleConfig();
            HighlightNodeColor	= new Vector4(0, 1, 0, 1);
            HighlightEdgeColor	= new Vector4(0, 1, 0, 1);
            BackgroundColor		= Color.White;
            BlendMode			= BlendState.Additive;
            AnchorToNodes		= false;

            highlightNodesList = new List<Tuple<StructuredBuffer, HighlightParams>>();
            highlightEdgesList = new List<Tuple<StructuredBuffer, HighlightParams>>();
        }
Esempio n. 4
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="game"></param>
 public ParticleSystem(Game game)
     : base(game)
 {
     cfg = new ParticleConfig();
 }