RotationTrait.RotationFeature

data class RotationTrait.RotationFeature : ClusterBitmap


Rotation trait FeatureMap.

Summary

Public constructors

RotationFeature(
    supportsDegreesRotation: Boolean,
    supportsPercentRotation: Boolean,
    supportsContinuousRotation: Boolean
)

Creates the RotationFeature data class.

Public functions

open ULong

Public properties

Boolean

Indicates if this device supports continuous rotation.

Boolean

Indicates if this device supports rotation by degrees.

Boolean

Indicates if this device supports rotation by percentage.

Public constructors

RotationFeature

RotationFeature(
    supportsDegreesRotation: Boolean = false,
    supportsPercentRotation: Boolean = false,
    supportsContinuousRotation: Boolean = false
)

Creates the RotationFeature data class.

Public functions

toRaw

open fun toRaw(): ULong

Public properties

supportsContinuousRotation

val supportsContinuousRotationBoolean

Indicates if this device supports continuous rotation.

supportsDegreesRotation

val supportsDegreesRotationBoolean

Indicates if this device supports rotation by degrees.

supportsPercentRotation

val supportsPercentRotationBoolean

Indicates if this device supports rotation by percentage.