Initializer

init(parameterID:value:relativeTime:)

Creates a dynamic parameter from its ID, value, and start time.

Declaration

init(parameterID: CHHapticDynamicParameter.ID, value: Float, relativeTime time: TimeInterval)

Parameters

parameterID

The ID indicating the type of the dynamic parameter.

value

The value of the dynamic parameter.

time

The time at which to send the dynamic parameter.

See Also

Creating a Dynamic Parameter

struct CHHapticDynamicParameter.ID

The identifier that reveals the type of property associated with a dynamic parameter.