Search in sources :

Example 1 with Vector3BoxPart

use of com.gempukku.libgdx.graph.ui.part.Vector3BoxPart in project gdx-graph by MarcinSc.

the class PropertyVector3BoxProducer method createPropertyBox.

@Override
public PropertyBox createPropertyBox(Skin skin, String name, PropertyLocation location, JsonValue jsonObject, PropertyLocation[] propertyLocations) {
    PropertyBoxImpl result = new PropertyBoxImpl(name, ShaderFieldType.Vector3, location, propertyLocations);
    result.addPropertyBoxPart(new Vector3BoxPart("Vector3", "x", "y", "z", 0, 0, 0, null, null, null));
    result.initialize(jsonObject);
    return result;
}
Also used : Vector3BoxPart(com.gempukku.libgdx.graph.ui.part.Vector3BoxPart) PropertyBoxImpl(com.gempukku.libgdx.graph.ui.graph.property.PropertyBoxImpl)

Aggregations

PropertyBoxImpl (com.gempukku.libgdx.graph.ui.graph.property.PropertyBoxImpl)1 Vector3BoxPart (com.gempukku.libgdx.graph.ui.part.Vector3BoxPart)1