use of com.gempukku.libgdx.graph.ui.part.Vector2BoxPart in project gdx-graph by MarcinSc.
the class PropertyVector2BoxProducer method createPropertyBox.
@Override
public PropertyBox createPropertyBox(Skin skin, String name, PropertyLocation location, JsonValue jsonObject, PropertyLocation[] propertyLocations) {
PropertyBoxImpl result = new PropertyBoxImpl(name, ShaderFieldType.Vector2, location, propertyLocations);
result.addPropertyBoxPart(new Vector2BoxPart("Vector2", "x", "y", 0, 0, null, null));
result.initialize(jsonObject);
return result;
}
Aggregations