VirtualButtonConfig Class
Namespace: Stride.InputAssembly: Stride.Input.dll
Describes the configuration composed by a collection of VirtualButtonBinding.
System.Object → FastCollection<VirtualButtonBinding> → TrackingCollection<VirtualButtonBinding> →
VirtualButtonConfig
Derived from VirtualButtonConfig:
public class VirtualButtonConfig : TrackingCollection<VirtualButtonBinding>, IList<VirtualButtonBinding>, ICollection<VirtualButtonBinding>, IReadOnlyList<VirtualButtonBinding>, IReadOnlyCollection<VirtualButtonBinding>, IEnumerable<VirtualButtonBinding>, IEnumerable, ITrackingCollectionChanged
Name | Description | |
---|---|---|
Constructors | ||
VirtualButtonConfig() | Initializes a new instance of the VirtualButtonConfig class. |
|
Properties | ||
BindingNames | Gets the binding names. |
|
Methods | ||
GetValue(InputManager, Object) |
Constructors
VirtualButtonConfig()
Initializes a new instance of the VirtualButtonConfig class.
public VirtualButtonConfig()
Properties
BindingNames
Gets the binding names.
public IEnumerable<object> BindingNames { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.Object> | The binding names. |
Methods
GetValue(InputManager, Object)
public virtual float GetValue(InputManager inputManager, object name)
Parameters
Type | Name | Description |
---|---|---|
InputManager | inputManager | |
System.Object | name |
Returns
Type | Description |
---|---|
System.Single |