開發者資訊
iFacialMocap 允許第三方工具開發者不經由 PC 軟體,直接使用 UDP 或 TCP/IP 接收臉部資料。
透過 UDP 接收資料
從 PC 端向 iOS 端的 49983 port 傳送指定字串後,iFacialMocap 會以約 60 FPS 回傳資料。
DstPort = 49983 SendVersion = v1 / v2 BlendShape = ARKit compatible names
透過 TCP 接收資料
使用 TCP 時,請先建立連線並依照封包格式讀取表情、頭部旋轉、眼睛與 BlendShape 資料。
DstPort = 49983 SendVersion = v1 / v2 BlendShape = ARKit compatible names
BlendShape 與封包格式
資料包含 ARKit 相容的表情權重、頭部資訊與相關參數。請保留大小寫、名稱與數值範圍。
DstPort = 49983 SendVersion = v1 / v2 BlendShape = ARKit compatible names
外部整合注意事項
請讓使用者自行設定 IP address、port、防火牆許可與 Send-Version。整合 VRM 或 VMC Protocol 時,請確認接收端支援的格式。
DstPort = 49983 SendVersion = v1 / v2 BlendShape = ARKit compatible names