protected virtual void Initialize() { trackingOffsets = GetDefaultTrackingOffsets(); loadedButtonDefs = TBInput.LoadButtonDefs <T>(GetDefaultDefs(), fileName); lookupTable = TBInput.NewLookupTableFromDefs <T>(loadedButtonDefs); loaded = true; }
protected override HandTrackingOffsets GetDefaultTrackingOffsets() { HandTrackingOffsets newTrackingOffsets = new HandTrackingOffsets(); newTrackingOffsets.positionOffset = new Vector3(0f, -0.02f, -0.07f); newTrackingOffsets.rotationOffset = Vector3.zero; return(newTrackingOffsets); }
protected override HandTrackingOffsets GetDefaultTrackingOffsets() { HandTrackingOffsets newTrackingOffsets = new HandTrackingOffsets(); newTrackingOffsets.positionOffset = new Vector3(0f, 0f, -0.015f); newTrackingOffsets.rotationOffset = new Vector3(33, 0, 0); return(newTrackingOffsets); }
protected override HandTrackingOffsets GetDefaultTrackingOffsets() { HandTrackingOffsets newTrackingOffsets = new HandTrackingOffsets(); newTrackingOffsets.positionOffset = new Vector3(-0.03f, -0.08f, -0.1f); newTrackingOffsets.rotationOffset = Vector3.right * 30f; return(newTrackingOffsets); }
protected virtual HandTrackingOffsets GetDefaultTrackingOffsets() { HandTrackingOffsets newTrackingOffsets = new HandTrackingOffsets(); newTrackingOffsets.positionOffset = Vector3.zero; newTrackingOffsets.rotationOffset = Vector3.zero; return(newTrackingOffsets); }