Sets the opacity value at a specific time within the time range of the instruction.
- iOS 4.0+
- macOS 10.7+
- Mac Catalyst 13.0+
- tvOS 9.0+
The opacity to be applied at
time. The value must be between
A time value within the time range of the composition instruction.
Sets a fixed opacity to apply from the specified time until the next time at which an opacity is set; this is the same as setting a flat ramp for that time range. Before the first time for which an opacity is set, the opacity is held constant at
1; after the last specified time, the opacity is held constant at the last value.