hide hands if passthrough

This commit is contained in:
ethan merchant 2024-12-07 18:44:50 -05:00
parent 28e1d81aeb
commit 148d2d3429

View file

@ -1,6 +1,6 @@
using System.Collections.Generic;
using StereoKit;
using StereoKit.Framework;
namespace dofdemo;
static class Arts
@ -47,7 +47,9 @@ static class Arts
public static void Frame()
{
Input.HandVisible(Handed.Max, false);
if (SK.GetStepper<PassthroughFBExt>().Enabled) {
Input.HandVisible(Handed.Max, false);
}
// world
// Matrix m4_dof = Mono.dof_pose.ToMatrix(Mono.dof_scl);