com.gempukku.libgdx.graph.pipeline.config.math.common.FractionalPartPipelineNodeConfiguration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of libgdx-graph Show documentation
Show all versions of libgdx-graph Show documentation
libGDX-graph runtime library for pipeline rendering
The newest version!
package com.gempukku.libgdx.graph.pipeline.config.math.common;
import com.gempukku.libgdx.graph.config.SameTypeOutputTypeFunction;
import com.gempukku.libgdx.graph.data.NodeConfigurationImpl;
import com.gempukku.libgdx.graph.pipeline.PipelineFieldType;
import com.gempukku.libgdx.graph.pipeline.producer.node.GraphNodeInputImpl;
import com.gempukku.libgdx.graph.pipeline.producer.node.GraphNodeOutputImpl;
public class FractionalPartPipelineNodeConfiguration extends NodeConfigurationImpl {
public FractionalPartPipelineNodeConfiguration() {
super("Fract", "Fractional part", "Math/Common");
addNodeInput(
new GraphNodeInputImpl("input", "Input", true, PipelineFieldType.Color, PipelineFieldType.Vector3, PipelineFieldType.Vector2, PipelineFieldType.Float));
addNodeOutput(
new GraphNodeOutputImpl("output", "Result",
new SameTypeOutputTypeFunction("input"),
PipelineFieldType.Float, PipelineFieldType.Vector2, PipelineFieldType.Vector3, PipelineFieldType.Color));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy