コード例 #1
0
 public VRHead(GraphicsDeviceManager graphicsDeviceManager,
               OSVR.ClientKit.ClientContext context,
               OSVR.ClientKit.IInterface <XnaPose> pose)
 {
     this.pose = pose;
     this.graphicsDeviceManager = graphicsDeviceManager;
     this.context = context;
     // TODO: Provide a way to pass in an explicit json value?
     GetDeviceDescription();
 }
コード例 #2
0
ファイル: InterfaceAdapters.cs プロジェクト: lexdunlap/Group6
 public Location2DAdapter(OSVR.ClientKit.IInterface <OSVR.ClientKit.Vec2> iface) : base(iface)
 {
 }
コード例 #3
0
ファイル: InterfaceAdapters.cs プロジェクト: lexdunlap/Group6
 public PoseAdapter(OSVR.ClientKit.IInterface <OSVR.ClientKit.Pose3> iface) : base(iface)
 {
 }
コード例 #4
0
ファイル: InterfaceAdapters.cs プロジェクト: lexdunlap/Group6
 public PositionAdapter(OSVR.ClientKit.IInterface <OSVR.ClientKit.Vec3> iface) : base(iface)
 {
 }
コード例 #5
0
ファイル: InterfaceAdapters.cs プロジェクト: lexdunlap/Group6
 public OrientationAdapter(OSVR.ClientKit.IInterface <OSVR.ClientKit.Quaternion> iface) : base(iface)
 {
 }
コード例 #6
0
ファイル: InterfaceAdapters.cs プロジェクト: lexdunlap/Group6
 public EyeTracker3DAdapter(OSVR.ClientKit.IInterface <OSVR.ClientKit.EyeTracker3DState> iface) : base(iface)
 {
 }
コード例 #7
0
 public XnaOrientationInterface(OSVR.ClientKit.IInterface <OSVRQuaternion> iface)
     : base(iface)
 {
 }
コード例 #8
0
 public VREye(OSVR.ClientKit.IInterface <XnaPose> pose, Eye eye, DeviceDescriptor deviceDescriptor)
 {
     this.pose             = pose;
     this.Eye              = eye;
     this.deviceDescriptor = deviceDescriptor;
 }