Struct glowygraph::render2::Node [] [src]

pub struct Node {
    pub position: [f32; 2],
    pub inner_color: [f32; 4],
    pub falloff: f32,
    pub falloff_color: [f32; 4],
    pub falloff_radius: f32,
    pub inner_radius: f32,
}

Node is used to pass nodes into the renderer.

Fields

Decreasing falloff makes the nodes brightness more centered at the middle and increasing it makes it consistent.

Trait Implementations

impl Copy for Node
[src]

impl Clone for Node
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Node
[src]

[src]

Formats the value using the given formatter.

impl From<Point2<f32>> for Node
[src]

[src]

Performs the conversion.

impl Vertex for Node

Builds the VertexFormat representing the layout of this element.

[src]

Returns true if the backend supports this vertex format.