Ejemplo n.º 1
0
 public static Posef GetNodeAcceleration(Node nodeId)
 {
     if (version >= v0130)
     {
         return(OVRP0130.ovrp_GetNodeAcceleration(nodeId));
     }
     else
     {
         return(new Posef());
     }
 }
Ejemplo n.º 2
0
 private static bool GetCap(Caps cap)
 {
     if (version >= v0130)
     {
         return(OVRP0130.ovrp_GetCaps2((uint)(1 << (int)cap)) != 0);
     }
     else
     {
         return(((int)OVRP0100.ovrp_GetCaps() & (1 << (int)cap)) != 0);
     }
 }
Ejemplo n.º 3
0
 public static Posef GetNodeVelocity(Node nodeId)
 {
     if (version >= v0130)
     {
         return(OVRP0130.ovrp_GetNodeVelocity(nodeId));
     }
     else
     {
         return(new Posef());
     }
 }