<!--
{
  "availability" : [
    "FxPlug: 4.1.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "professional_video_applications",
  "identifier" : "/documentation/professional_video_applications/FxKeyframe/init(version:time:segmentStyle:inTangentX:inTangentY:outTangentX:outTangentY:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Professional Video Applications"
    ],
    "preciseIdentifier" : "s:So10FxKeyframeV7version4time12segmentStyle10inTangentX0gH1Y03outH1X0iH1YABSi_So6CMTimeaSo0ab7SegmentF0VS4dtcfc"
  },
  "title" : "init(version:time:segmentStyle:inTangentX:inTangentY:outTangentX:outTangentY:)"
}
-->

# init(version:time:segmentStyle:inTangentX:inTangentY:outTangentX:outTangentY:)

Contains information about a single keyframe.

```
init(version: Int, time: CMTime, segmentStyle: FxKeyframeSegmentStyle, inTangentX: Double, inTangentY: Double, outTangentX: Double, outTangentY: Double)
```

## Parameters

`version`

Which version of the keyframe structure this is.

`time`

The CMTime at which this information is valid.

`segmentStyle`

The type of segment between this keyframe and the next.

`inTangentX`

The incoming tangent’s x coordinate.

`inTangentY`

The incoming tangent’s y coordinate.

`outTangentX`

The outgoing tangent’s x coordinate.

`outTangentY`

The outgoing tangent’s y coordinate.

## Discussion

Note that this is not an FxKeyframeInfo type and should only be used for FxPlug 4 style plug-ins.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)