Returns true if the tracked controller role is allowed to be a hand */
| 332 | |
| 333 | /** Returns true if the tracked controller role is allowed to be a hand */ |
| 334 | inline bool IsRoleAllowedAsHand( ETrackedControllerRole eRole ) |
| 335 | { |
| 336 | switch ( eRole ) |
| 337 | { |
| 338 | case TrackedControllerRole_Invalid: |
| 339 | case TrackedControllerRole_LeftHand: |
| 340 | case TrackedControllerRole_RightHand: |
| 341 | return true; |
| 342 | default: |
| 343 | return false; |
| 344 | } |
| 345 | } |
| 346 | |
| 347 | |
| 348 | /** describes a single pose for a tracked object */ |
nothing calls this directly
no outgoing calls
no test coverage detected