Class

CHHapticParameterCurve.ControlPoint

A single control point in a parameter curve.

Declaration

class ControlPoint : NSObject

Topics

Creating a Control Point

init(relativeTime: TimeInterval, value: Float)

Creates a control point from its time and value.

Specifying Control Point Coordinates

var relativeTime: TimeInterval

The time at which the associated parameter reaches this value, relative to the start time of the parameter curve.

var value: Float

The parameter value of the point.

Relationships

Inherits From

Conforms To

See Also

Creating a Curve