Contents

isAnalog

A Boolean value that indicates whether the element provides analog data.

Declaration

var isAnalog: Bool { get }

Mentioned in

Discussion

If this property is true, the input value defined by the element can return a range (from a minimum to maximum) of possible values. For example, this element might be a pressure-sensitive button or an axis of a thumbstick that allows for a range of physical movement. If this property is false, the input value is a discrete value, such as 0 if the element is off, and 1 if the element is on.