Esempio n. 1
0
 /// <summary>
 /// Gets the localized name of the device that the action corresponds to.
 /// </summary>
 /// <param name="localizedParts">
 /// <list type="bullet">
 /// <item><description>VRInputString_Hand - Which hand the origin is in. E.g. "Left Hand"</description></item>
 /// <item><description>VRInputString_ControllerType - What kind of controller the user has in that hand.E.g. "Vive Controller"</description></item>
 /// <item><description>VRInputString_InputSource - What part of that controller is the origin. E.g. "Trackpad"</description></item>
 /// <item><description>VRInputString_All - All of the above. E.g. "Left Hand Vive Controller Trackpad"</description></item>
 /// </list>
 /// </param>
 public string GetLocalizedName(params EVRInputStringBits[] localizedParts)
 {
     if (vector3Action != null)
     {
         return(vector3Action.GetLocalizedOriginPart(inputSource, localizedParts));
     }
     return(null);
 }