Contents

getFontName(_:fromParameter:at:)

Retrieves the family and typeface of a given font.

Declaration

func getFontName(_ fontName: AutoreleasingUnsafeMutablePointer<NSString?>, fromParameter parameterID: UInt32, at time: CMTime) -> Bool

Parameters

  • fontName:

    Pointer to the font’s name (such as Helvetica, and so on).

  • parameterID:

    Unique identifier for the parameter.

  • time:

    Specified time to get the value.

Return Value

Returns YES if the fontName value is retrieved successfully; NO otherwise.

Discussion

Depending on the host application, the time value may be relative to the start of the timeline or to the start of the clip. See Understanding time in FxPlug.

See Also

Instance Methods