Search in sources :

Example 6 with DrawableValue

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);
}
Also used : SpriteAnimationDrawable(com.talosvfx.talos.runtime.render.drawables.SpriteAnimationDrawable) DrawableValue(com.talosvfx.talos.runtime.values.DrawableValue)

Example 7 with DrawableValue

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);
}
Also used : PolylineRenderer(com.talosvfx.talos.runtime.render.drawables.PolylineRenderer) DrawableValue(com.talosvfx.talos.runtime.values.DrawableValue)

Aggregations

DrawableValue (com.talosvfx.talos.runtime.values.DrawableValue)7 NinePatchDrawable (com.talosvfx.talos.runtime.render.drawables.NinePatchDrawable)1 PolylineRenderer (com.talosvfx.talos.runtime.render.drawables.PolylineRenderer)1 RibbonRenderer (com.talosvfx.talos.runtime.render.drawables.RibbonRenderer)1 ShadedDrawable (com.talosvfx.talos.runtime.render.drawables.ShadedDrawable)1 SpriteAnimationDrawable (com.talosvfx.talos.runtime.render.drawables.SpriteAnimationDrawable)1