Class RotateCmd.RotateSubcommand
Container object for representing a single rotation command on a device that may have multiple independent rotating features.
Inherited Members
Namespace: Buttplug.Core.Messages
Assembly: Buttplug.dll
Syntax
public class RotateSubcommand : GenericMessageSubcommand
Constructors
RotateSubcommand(UInt32, Double, Boolean)
Initializes a new instance of the RotateCmd.RotateSubcommand class.
Declaration
public RotateSubcommand(uint index, double speed, bool clockwise)
Parameters
| Type | Name | Description |
|---|---|---|
| UInt32 | index | Rotation feature index. |
| Double | speed | Rotation speed. |
| Boolean | clockwise | Rotation direction. |
Fields
Clockwise
Rotation direction.
Declaration
public bool Clockwise
Field Value
| Type | Description |
|---|---|
| Boolean |
Properties
Speed
Gets/sets rotation speed.
Declaration
public double Speed { get; set; }
Property Value
| Type | Description |
|---|---|
| Double |