Ejemplo n.º 1
0
 public bool TryGetFeatureValue(InputFeatureUsage <Vector3> usage, DateTime time, out Vector3 value)
 {
     if (CheckValidAndSetDefault(out value))
     {
         return(InputDevices.TryGetFeatureValueAtTime_Vector3f(m_DeviceId, usage.name, TimeConverter.LocalDateTimeToUnixTimeMilliseconds(time), out value));
     }
     return(false);
 }
Ejemplo n.º 2
0
        public bool TryGetFeatureValue(InputFeatureUsage <Vector3> usage, DateTime time, out Vector3 value)
        {
            bool flag = this.CheckValidAndSetDefault <Vector3>(out value);

            return(flag && InputDevices.TryGetFeatureValueAtTime_Vector3f(this.m_DeviceId, usage.name, TimeConverter.LocalDateTimeToUnixTimeMilliseconds(time), out value));
        }