use of com.talosvfx.talos.runtime.values.DrawableValue in project talos by rockbite.
the class RibbonModule method defineSlots.
@Override
protected void defineSlots() {
mainDrawableValue = (DrawableValue) createInputSlot(MAIN_REGION, new DrawableValue());
ribbonDrawableValue = (DrawableValue) createInputSlot(RIBBON_REGION, new DrawableValue());
thicknessValue = createInputSlot(THICKNESS);
transparencyValue = createInputSlot(TRANSPARENCY);
colorValue = createInputSlot(COLOR);
RibbonRenderer renderer = new RibbonRenderer();
outputValue = (DrawableValue) createOutputSlot(OUTPUT, new DrawableValue());
outputValue.setDrawable(renderer);
}
use of com.talosvfx.talos.runtime.values.DrawableValue in project talos by rockbite.
the class ShadedSpriteModule method defineSlots.
@Override
protected void defineSlots() {
outputValue = (DrawableValue) createOutputSlot(OUTPUT, new DrawableValue());
outputValue.setDrawable(new ShadedDrawable());
}
use of com.talosvfx.talos.runtime.values.DrawableValue in project talos by rockbite.
the class TextureModule method defineSlots.
@Override
protected void defineSlots() {
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 NinePatchModule method defineSlots.
@Override
protected void defineSlots() {
inputDrawable = (DrawableValue) createInputSlot(INPUT, new DrawableValue());
NinePatchDrawable patchDrawable = new NinePatchDrawable();
outputValue = (DrawableValue) createOutputSlot(OUTPUT, new DrawableValue());
outputValue.setDrawable(patchDrawable);
}
use of com.talosvfx.talos.runtime.values.DrawableValue in project talos by rockbite.
the class ParticleModule method defineSlots.
@Override
protected void defineSlots() {
drawable = (DrawableValue) createInputSlot(DRAWABLE, new DrawableValue());
offset = createInputSlot(OFFSET);
life = createInputSlot(LIFE);
velocity = createInputSlot(VELOCITY);
gravity = createInputSlot(GRAVITY);
rotation = createInputSlot(ROTATION);
target = createInputSlot(TARGET);
color = createInputSlot(COLOR);
transparency = createInputSlot(TRANSPARENCY);
angle = createInputSlot(ANGLE);
mass = createInputSlot(MASS);
size = createInputSlot(SIZE);
position = createInputSlot(POSITION);
pivot = createInputSlot(PIVOT);
rotation.setFlavour(NumericalValue.Flavour.ANGLE);
angle.setFlavour(NumericalValue.Flavour.ANGLE);
}
Aggregations