动画编码完成

This commit is contained in:
xsl
2025-10-31 14:22:08 +08:00
parent dfbef7caf1
commit 2555047190
80 changed files with 332 additions and 92 deletions
@@ -1,23 +1,18 @@
package com.hmwl.face_sdk;
import org.json.JSONObject;
import java.util.ArrayList;
import java.util.List;
public class Motion {
public String type = "no";
public String technique = "no";
public String step = "no";
public String show_type = "no";
public String png_name = "no";
public int png_num;
public List<String> png_names = new ArrayList<>();
public JSONObject toJsonObject() {
try {
JSONObject jsonObject = new JSONObject();
jsonObject.put("type", type);
jsonObject.put("technique", technique);
jsonObject.put("step", step);
jsonObject.put("show_type", show_type);
jsonObject.put("png_name", png_name);
jsonObject.put("png_num", png_num);
jsonObject.put("png_names", png_names);
return jsonObject;
} catch (Exception e) {
e.printStackTrace();