Class ScalarCmd
Sent to server, generic message that can control any device that takes a single value and staticly sets an actuator to that value (speed, oscillation frequency, instanteous position, etc).
Inherited Members
Namespace: Buttplug.Core.Messages
Assembly: Buttplug.dll
Syntax
public class ScalarCmd : ButtplugDeviceMessage
Constructors
ScalarCmd(List<ScalarCmd.ScalarSubcommand>)
Initializes a new instance of the ScalarCmd class.
Declaration
public ScalarCmd(List<ScalarCmd.ScalarSubcommand> scalars)
Parameters
| Type | Name | Description |
|---|---|---|
| List<ScalarCmd.ScalarSubcommand> | scalars | List of per-actuator scalar commands. |
ScalarCmd(UInt32, List<ScalarCmd.ScalarSubcommand>, UInt32)
Initializes a new instance of the ScalarCmd class.
Declaration
public ScalarCmd(uint deviceIndex, List<ScalarCmd.ScalarSubcommand> scalars, uint id = null)
Parameters
| Type | Name | Description |
|---|---|---|
| UInt32 | deviceIndex | Device index. |
| List<ScalarCmd.ScalarSubcommand> | scalars | List of per-actuator scalar commands. |
| UInt32 | id | Message ID. |
Fields
Scalars
List of vibrator speeds.
Declaration
public List<ScalarCmd.ScalarSubcommand> Scalars
Field Value
| Type | Description |
|---|---|
| List<ScalarCmd.ScalarSubcommand> |