TestController Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Utility class to use a simulated controller
public ref class TestController abstract
public abstract class TestController
type TestController = class
Public MustInherit Class TestController
- Inheritance
-
TestController
- Derived
Constructors
TestController(Handedness) |
Fields
handedness | |
position | |
rotation | |
simulationService |
Methods
Click() |
Perform a sequence of actions that represent a click for the controller |
GetPointer<T>() |
Return the first pointer of given type that is associated with this controller |
GetVelocity() |
Return the velocity of the simulated controller |
Hide(Boolean) |
Hide the controller |
Move(Vector3, Int32) |
Move the controller by some given delta |
MoveTo(Vector3, Int32, Boolean) |
Move controller to given position over some number of frames |
SetRotation(Quaternion, Int32) |
Rotate the controller to new rotation |
Show(Vector3, Boolean) |
Show the controller at a specified position |