This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"createTime": 1457625703, // Coordinated Universal Time(UTC), based from 1970-01-01 00:00:00, Type - long | |
"dataSet":[ | |
{ | |
"id":"user1", // 使用者 ID, Type String | |
"data":{ | |
"rightHand":{ "x":0, "y":0, "z":0 }, // 身體各節點的旋轉角度資料 | |
"leftHand":{ "x":0, "y":0, "z":0 }, // 節點名稱請參考下面圖片說明 | |
... | |
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"createTime": 1457625703, // Coordinated Universal Time(UTC), based from 1970-01-01 00:00:00, Type - long | |
"dataSet":[ | |
{ | |
"id":"user1", // 使用者 ID, String | |
"position":{ "x":0.0, "y":0.0, "z":0.0 } // 數字單位為公尺 | |
}, | |
{ | |
"id":"user2", // user id | |
"position":{ "x":0.0, "y":0.0, "z":0.0 } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"id":"user1", // 使用者 ID | |
"data":{ | |
"rightHand": { // 肢體節點名稱 | |
"action":{ | |
"vibrate":{ | |
"duration": 1000, // Type - long for ms | |
"interval": 1000, // Type - long for ms | |
"times": 1000 // Type - int | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using System.Collections; | |
public class RenderTextureToBlend : MonoBehaviour { | |
public RenderTexture _texture; | |
public Colorful.Blend _blend; | |
// Use this for initialization | |
void Start () { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"createTime":"8/25/2017 10:13:50 PM", | |
"dataSet":[ | |
{ | |
"id":"thetestman", | |
"data":{ | |
"hips":{ | |
"x":"0", | |
"y":"270", | |
"z":"0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* (c) Facebook, Inc. and its affiliates. Confidential and proprietary. | |
*/ | |
//============================================================================== | |
// Welcome to scripting in Spark AR Studio! Helpful links: | |
// | |
// Scripting Basics - https://fb.me/spark-scripting-basics | |
// Reactive Programming - https://fb.me/spark-reactive-programming | |
// Scripting Object Reference - https://fb.me/spark-scripting-reference |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Quaternion _preRotation; | |
public Vector3 newRotation = Vector3.zero; | |
void Awake () { | |
_preRotation = transform.rotation; | |
} | |
void Update () { | |
transform.rotation = _preRotation * Quaternion.Euler(newRotation); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title></title> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> | |
</head> | |
<body> | |
<div> | |
<input type="button" value="print" onmousedown="printArray();" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
query HoldTokenList($token: bigint = "") { | |
hic_et_nunc_token_holder(where: {holder_id: {_eq: "tz1RPZp6NLzn7x4g7jhqHtCkhCQVnhbVMj8y"}, quantity: {_gte: "1"}}) { | |
holder_id | |
quantity | |
token_id | |
} | |
hic_et_nunc_swap(where: {creator_id: {_eq: "tz1RPZp6NLzn7x4g7jhqHtCkhCQVnhbVMj8y"}, status: {_eq: "0"}}) { | |
status | |
price | |
token_id |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang=""> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<style> | |
iframe { | |
display: block; | |
margin: 0 auto; |
OlderNewer