Search in sources :

Example 1 with PolylineRenderer

use of com.talosvfx.talos.runtime.render.drawables.PolylineRenderer in project talos by rockbite.

the class PolylineModule method defineSlots.

@Override
protected void defineSlots() {
    offset = createInputSlot(OFFSET);
    thickness = createInputSlot(THICKNESS);
    color = createInputSlot(COLOR);
    transparency = createInputSlot(TRANSPARENCY);
    leftTangent = createInputSlot(LEFT_TANGENT);
    rightTangent = createInputSlot(RIGHT_TANGENT);
    polylineDrawable = new PolylineRenderer();
    outputValue = (DrawableValue) createOutputSlot(OUTPUT, new DrawableValue());
    outputValue.setDrawable(polylineDrawable);
}
Also used : PolylineRenderer(com.talosvfx.talos.runtime.render.drawables.PolylineRenderer) DrawableValue(com.talosvfx.talos.runtime.values.DrawableValue)

Aggregations

PolylineRenderer (com.talosvfx.talos.runtime.render.drawables.PolylineRenderer)1 DrawableValue (com.talosvfx.talos.runtime.values.DrawableValue)1