Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
using Leap.Unity.UserContext;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Leap.Unity.Apps.Paint6 {
public class Tool_SendMatrix : MonoBehaviour {
[Header("Ucon Matrix Channel Output")]
public MatrixChannel worldFrameChannel = new MatrixChannel("tool/frame");
private void Update() {
worldFrameChannel.Set(this.transform.worldToLocalMatrix);
}
}
}
d2871d28eThis file is pinned to the selected release. Download the original to open it in your design tool.