hide hands if passthrough
This commit is contained in:
parent
28e1d81aeb
commit
148d2d3429
1 changed files with 4 additions and 2 deletions
|
@ -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()
|
||||||
{
|
{
|
||||||
Input.HandVisible(Handed.Max, false);
|
if (SK.GetStepper<PassthroughFBExt>().Enabled) {
|
||||||
|
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);
|
||||||
|
|
Loading…
Add table
Reference in a new issue