use of com.talosvfx.talos.runtime.values.DrawableValue in project talos by rockbite.
the class FlipbookModule method defineSlots.
@Override
protected void defineSlots() {
phaseVal = createInputSlot(PHASE);
spriteAnimation = new SpriteAnimationDrawable();
outputValue = (DrawableValue) createOutputSlot(OUTPUT, new DrawableValue());
userDrawable = new DrawableValue();
userDrawable.setEmpty(true);
}
use of com.talosvfx.talos.runtime.values.DrawableValue 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