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);
}
Aggregations