Skip to content

Graphs.md

cfloutier edited this page Apr 29, 2024 · 4 revisions

image

K2GraphLine

This Visual Element should be placed in a parent Visual Element container. It will fit the whole place.

Atributes

image

  • Min X, Max X, Min Y, Max Y : the 2D Window of visibles values.

  • Line Color and Line Widh : the line rendering

  • Test Seed is used only in UI Builder, it will set up the lines values with a simple Perlin Noise (in the ranges x : [0-100] y [0-1])

setPoints

use the setPoints function to defines X,Y coordinates of the line.


see the TestGraph.cs class in the test_k2ui project

Clone this wiki locally