예제 #1
0
 public PSMoveSharpState()
 {
     serverConfig  = new PSMoveSharpServerConfig();
     gemStatus     = new PSMoveSharpStatus[PSMoveSharpNumMoveControllers];
     gemStates     = new PSMoveSharpGemState[PSMoveSharpNumMoveControllers];
     imageStates   = new PSMoveSharpImageState[PSMoveSharpNumMoveControllers];
     pointerStates = new PSMoveSharpPointerState[PSMoveSharpNumMoveControllers];
     sphereStates  = new PSMoveSharpSphereState[PSMoveSharpNumMoveControllers];
     for (int i = 0; i < PSMoveSharpNumMoveControllers; i++)
     {
         sphereStates[i] = new PSMoveSharpSphereState();
     }
     cameraState = new PSMoveSharpCameraState();
     padData     = new PSMoveSharpNavPadData[PSMoveSharpNavInfo.PSMoveSharpNumNavControllers];
     for (int i = 0; i < PSMoveSharpNavInfo.PSMoveSharpNumNavControllers; i++)
     {
         padData[i] = new PSMoveSharpNavPadData();
     }
     navInfo = new PSMoveSharpNavInfo();
     positionPointerStates = new PSMoveSharpPositionPointerState[PSMoveSharpNumMoveControllers];
     for (int i = 0; i < PSMoveSharpNumMoveControllers; i++)
     {
         positionPointerStates[i] = new PSMoveSharpPositionPointerState();
     }
 }
예제 #2
0
 public PSMoveSharpState()
 {
     serverConfig = new PSMoveSharpServerConfig();
     gemStatus = new PSMoveSharpStatus[PSMoveSharpNumMoveControllers];
     gemStates = new PSMoveSharpGemState[PSMoveSharpNumMoveControllers];
     imageStates = new PSMoveSharpImageState[PSMoveSharpNumMoveControllers];
     pointerStates = new PSMoveSharpPointerState[PSMoveSharpNumMoveControllers];
     sphereStates = new PSMoveSharpSphereState[PSMoveSharpNumMoveControllers];
     for (int i = 0; i < PSMoveSharpNumMoveControllers; i++)
     {
         sphereStates[i] = new PSMoveSharpSphereState();
     }
     cameraState = new PSMoveSharpCameraState();
     padData = new PSMoveSharpNavPadData[PSMoveSharpNavInfo.PSMoveSharpNumNavControllers];
     for (int i = 0; i < PSMoveSharpNavInfo.PSMoveSharpNumNavControllers; i++)
     {
         padData[i] = new PSMoveSharpNavPadData();
     }
     navInfo = new PSMoveSharpNavInfo();
     positionPointerStates = new PSMoveSharpPositionPointerState[PSMoveSharpNumMoveControllers];
     for (int i = 0; i < PSMoveSharpNumMoveControllers; i++)
     {
         positionPointerStates[i] = new PSMoveSharpPositionPointerState();
     }
 }