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