---
title: "init(version:time:segmentStyle:inTangentX:inTangentY:outTangentX:outTangentY:)"
framework: Professional Video Applications
role: symbol
role_heading: Initializer
platforms: [fxplug 4.1+]
path: "professional_video_applications/fxkeyframe/init(version:time:segmentstyle:intangentx:intangenty:outtangentx:outtangenty:)"
---

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

Contains information about a single keyframe.

## Declaration

```swift
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

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

## See Also

### Initializers

- [init()](professional_video_applications/fxkeyframe/init().md)
