protected void setPropertyForMaterial(Material material, float value){
            if (this == METALNESS){
                material.setMetalness(value);
            } else if (this == ROUGHNESS){
                material.setRoughness(value);
            }
        }
Enum properties represented within a PBR material.
android/viro_bridge/src/main/java/com/viromedia/bridge/module/MaterialManager.java