use of com.gempukku.libgdx.graph.ui.graph.property.PropertyBoxImpl in project gdx-graph by MarcinSc.
the class PropertyTextureBoxProducer method createPropertyBox.
@Override
public PropertyBox createPropertyBox(Skin skin, String name, PropertyLocation location, JsonValue jsonObject, PropertyLocation[] propertyLocations) {
PropertyBoxImpl result = new PropertyBoxImpl(name, ShaderFieldType.TextureRegion, location, propertyLocations);
result.addPropertyBoxPart(new FileSelectorBoxPart("Preview texture ", "previewPath"));
result.initialize(jsonObject);
return result;
}
use of com.gempukku.libgdx.graph.ui.graph.property.PropertyBoxImpl in project gdx-graph by MarcinSc.
the class BoneTransformPropertyBoxProducer method createPropertyBox.
@Override
public PropertyBox createPropertyBox(Skin skin, String name, PropertyLocation location, JsonValue jsonObject, PropertyLocation[] propertyLocations) {
PropertyBoxImpl result = new PropertyBoxImpl(name, BoneTransformFieldType.type, location, propertyLocations);
result.addPropertyBoxPart(new IntegerBoxPart("Max bone count", "maxBoneCount", 12, new Validators.GreaterThanValidator(0)));
result.initialize(jsonObject);
return result;
}
use of com.gempukku.libgdx.graph.ui.graph.property.PropertyBoxImpl in project gdx-graph by MarcinSc.
the class BoneWeightPropertyBoxProducer method createPropertyBox.
@Override
public PropertyBox createPropertyBox(Skin skin, String name, PropertyLocation location, JsonValue jsonObject, PropertyLocation[] propertyLocations) {
PropertyBoxImpl result = new PropertyBoxImpl(name, BoneWeightFieldType.type, location, propertyLocations);
result.addPropertyBoxPart(new IntegerBoxPart("Max bone weights", "maxBoneWeightCount", 4, new Validators.GreaterThanValidator(0)));
result.initialize(jsonObject);
return result;
}
use of com.gempukku.libgdx.graph.ui.graph.property.PropertyBoxImpl 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;
}
Aggregations