VirtualButtonGroup Class
Namespace: Stride.InputAssembly: Stride.Input.dll
Derived from VirtualButtonGroup:
public class VirtualButtonGroup : Collection<IVirtualButton>, IList<IVirtualButton>, ICollection<IVirtualButton>, IReadOnlyList<IVirtualButton>, IReadOnlyCollection<IVirtualButton>, IEnumerable<IVirtualButton>, IList, ICollection, IEnumerable, IVirtualButton
Name | Description | |
---|---|---|
Constructors | ||
VirtualButtonGroup(Boolean) | ||
Properties | ||
IsDisjunction | ||
Methods | ||
GetValue(InputManager) | ||
InsertItem(Int32, IVirtualButton) | ||
IsDown(InputManager) | ||
IsPressed(InputManager) | ||
IsReleased(InputManager) | ||
SetItem(Int32, IVirtualButton) | ||
ToString() | ||
Operators | ||
Addition(VirtualButtonGroup, IVirtualButton) | Implements the + operator. |
Constructors
VirtualButtonGroup(Boolean)
public VirtualButtonGroup(bool isDisjunction = false)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | isDisjunction |
Properties
IsDisjunction
public bool IsDisjunction { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
GetValue(InputManager)
public virtual float GetValue(InputManager manager)
Parameters
Type | Name | Description |
---|---|---|
InputManager | manager |
Returns
Type | Description |
---|---|
System.Single |
InsertItem(Int32, IVirtualButton)
protected override void InsertItem(int index, IVirtualButton item)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | |
IVirtualButton | item |
Overrides
System.Collections.ObjectModel.Collection<Stride.Input.IVirtualButton>.InsertItem(System.Int32, Stride.Input.IVirtualButton)
IsDown(InputManager)
public bool IsDown(InputManager manager)
Parameters
Type | Name | Description |
---|---|---|
InputManager | manager |
Returns
Type | Description |
---|---|
System.Boolean |
IsPressed(InputManager)
public bool IsPressed(InputManager manager)
Parameters
Type | Name | Description |
---|---|---|
InputManager | manager |
Returns
Type | Description |
---|---|
System.Boolean |
IsReleased(InputManager)
public bool IsReleased(InputManager manager)
Parameters
Type | Name | Description |
---|---|---|
InputManager | manager |
Returns
Type | Description |
---|---|
System.Boolean |
SetItem(Int32, IVirtualButton)
protected override void SetItem(int index, IVirtualButton item)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | |
IVirtualButton | item |
Overrides
System.Collections.ObjectModel.Collection<Stride.Input.IVirtualButton>.SetItem(System.Int32, Stride.Input.IVirtualButton)
ToString()
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()
|
Improve this Doc
View Source
Operators
Addition(VirtualButtonGroup, IVirtualButton)
Implements the + operator.
public static VirtualButtonGroup operator +(VirtualButtonGroup combination, IVirtualButton virtualButton)
Parameters
Type | Name | Description |
---|---|---|
VirtualButtonGroup | combination | The combination. |
IVirtualButton | virtualButton | The virtual button. |
Returns
Type | Description |
---|---|
VirtualButtonGroup | The result of the operator. |
Inherited Members
System.Collections.ObjectModel.Collection<Stride.Input.IVirtualButton>.System.Collections.IList.get_Item(System.Int32)
System.Collections.ObjectModel.Collection<Stride.Input.IVirtualButton>.System.Collections.IList.set_Item(System.Int32, System.Object)
System.Collections.ObjectModel.Collection<Stride.Input.IVirtualButton>.Add(Stride.Input.IVirtualButton)
System.Collections.ObjectModel.Collection<Stride.Input.IVirtualButton>.Clear()
System.Collections.ObjectModel.Collection<Stride.Input.IVirtualButton>.ClearItems()
System.Collections.ObjectModel.Collection<Stride.Input.IVirtualButton>.Contains(Stride.Input.IVirtualButton)
System.Collections.ObjectModel.Collection<Stride.Input.IVirtualButton>.CopyTo(Stride.Input.IVirtualButton[], System.Int32)
System.Collections.ObjectModel.Collection<Stride.Input.IVirtualButton>.GetEnumerator()
System.Collections.ObjectModel.Collection<Stride.Input.IVirtualButton>.IndexOf(Stride.Input.IVirtualButton)
System.Collections.ObjectModel.Collection<Stride.Input.IVirtualButton>.Insert(System.Int32, Stride.Input.IVirtualButton)
System.Collections.ObjectModel.Collection<Stride.Input.IVirtualButton>.Remove(Stride.Input.IVirtualButton)
System.Collections.ObjectModel.Collection<Stride.Input.IVirtualButton>.RemoveAt(System.Int32)
System.Collections.ObjectModel.Collection<Stride.Input.IVirtualButton>.RemoveItem(System.Int32)
System.Collections.ObjectModel.Collection<Stride.Input.IVirtualButton>.System.Collections.ICollection.CopyTo(System.Array, System.Int32)
System.Collections.ObjectModel.Collection<Stride.Input.IVirtualButton>.System.Collections.IEnumerable.GetEnumerator()
System.Collections.ObjectModel.Collection<Stride.Input.IVirtualButton>.System.Collections.IList.Add(System.Object)
System.Collections.ObjectModel.Collection<Stride.Input.IVirtualButton>.System.Collections.IList.Contains(System.Object)
System.Collections.ObjectModel.Collection<Stride.Input.IVirtualButton>.System.Collections.IList.IndexOf(System.Object)
System.Collections.ObjectModel.Collection<Stride.Input.IVirtualButton>.System.Collections.IList.Insert(System.Int32, System.Object)
System.Collections.ObjectModel.Collection<Stride.Input.IVirtualButton>.System.Collections.IList.Remove(System.Object)
System.Collections.ObjectModel.Collection<Stride.Input.IVirtualButton>.Count
System.Collections.ObjectModel.Collection<Stride.Input.IVirtualButton>.Item[System.Int32]
System.Collections.ObjectModel.Collection<Stride.Input.IVirtualButton>.Items
System.Collections.ObjectModel.Collection<Stride.Input.IVirtualButton>.System.Collections.Generic.ICollection<Stride.Input.IVirtualButton>.IsReadOnly
System.Collections.ObjectModel.Collection<Stride.Input.IVirtualButton>.System.Collections.ICollection.IsSynchronized
System.Collections.ObjectModel.Collection<Stride.Input.IVirtualButton>.System.Collections.ICollection.SyncRoot
System.Collections.ObjectModel.Collection<Stride.Input.IVirtualButton>.System.Collections.IList.IsFixedSize
System.Collections.ObjectModel.Collection<Stride.Input.IVirtualButton>.System.Collections.IList.IsReadOnly
System.Collections.ObjectModel.Collection<Stride.Input.IVirtualButton>.System.Collections.IList.Item[System.Int32]