ControllerList Class |
Namespace: ImmerseSDK.Interaction
public class ControllerList : IList<Controller>, ICollection<Controller>, IEnumerable<Controller>, IEnumerable, IReadOnlyList<Controller>, IReadOnlyCollection<Controller>
The ControllerList type exposes the following members.
Name | Description | |
---|---|---|
ControllerList |
Constructs a new instance
|
Name | Description | |
---|---|---|
Count |
Number of controllers in the list
| |
IsReadOnly |
Is this read-only?
| |
Item |
Indexer
|
Name | Description | |
---|---|---|
Add |
Add a controller
| |
Clear |
Clears the list
| |
Contains |
Searches for an item
| |
CopyTo |
Copies the list
| |
GetAngularVelocity |
Gets the average controller angular velocity.
Angular Velocity in world coordinates (scaled)
| |
GetAveragePosition |
Gets the average controller position
| |
GetAverageRotation |
Gets the average controller rotation
| |
GetAverageSourcePosition |
Gets the average interaction source position
| |
GetAverageSourceRotation |
Gets the average interaction target rotation
| |
GetAverageTargetPosition |
Gets the average interaction target position
| |
GetAverageTargetRotation |
Gets the average interaction target rotation
| |
GetAverageVelocity |
Gets the average controller velocity.
Velocity in world coordinates (scaled).
| |
GetEnumerator |
Enumerates
| |
GetInteractionDirection |
Gets the combined interaction direction
| |
GetInteractionDirection(Int32) |
Gets the interaction source position for controller at the index specified
| |
GetPosition |
Gets the position for controller at the index specified
| |
GetSourcePosition |
Gets the interaction source position for controller at the index specified
| |
GetTargetPosition |
Gets the interaction target position for controller at the index specified
| |
GetVelocity |
Gets the velocity for controller at the index specified
Velocity in world coordinates (scaled).
| |
IndexOf |
Searches for the specified object and returns its index
| |
Insert |
Inserts an element
| |
Remove |
Removes a controller
| |
RemoveAt |
Inserts an element at the specified index
|
Name | Description | |
---|---|---|
ShuffleController |
Shuffles an IList of type T (Does not create a copy)
(Defined by ListExtensions.) |