Show / Hide Table of Contents

Class ScalarCmd.ScalarSubcommand

Container object for representing a single scalar value on a device that may have multiple independent scalar actuators.

Inheritance
Object
GenericMessageSubcommand
ScalarCmd.ScalarSubcommand
Inherited Members
GenericMessageSubcommand.Index
Namespace: Buttplug.Core.Messages
Assembly: Buttplug.dll
Syntax
public class ScalarSubcommand : GenericMessageSubcommand

Constructors

ScalarSubcommand(UInt32, Double, ActuatorType)

Initializes a new instance of the ScalarCmd.ScalarSubcommand class.

Declaration
public ScalarSubcommand(uint index, double scalar, ActuatorType actuatorType)
Parameters
Type Name Description
UInt32 index

Scalar feature index.

Double scalar

Scalar value.

ActuatorType actuatorType

Fields

ActuatorType

Declaration
public readonly ActuatorType ActuatorType
Field Value
Type Description
ActuatorType

Properties

Scalar

Gets/sets vibration speed (0.0-1.0).

Declaration
public double Scalar { get; set; }
Property Value
Type Description
Double
In This Article
Back to top Generated by DocFX