<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: 16.0.0 -",
    "macOS: 13.0.0 -",
    "tvOS: 27.1.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MetalFX",
  "identifier" : "/documentation/MetalFX/MTLFXTemporalScalerBase/motionVectorScaleY",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "MetalFX"
    ],
    "preciseIdentifier" : "c:objc(pl)MTLFXTemporalScalerBase(py)motionVectorScaleY"
  },
  "title" : "motionVectorScaleY"
}
-->

# motionVectorScaleY

The vertical scale factor the scaler applies to the input motion texture.

```
var motionVectorScaleY: Float { get set }
```

## Discussion

The scaler converts the horizontal component of each value in [`motionTexture`](/documentation/MetalFX/MTLFXTemporalScalerBase/motionTexture) into fragment (pixel)
coordinates by multiplying it by this property’s value.

If you set this property’s value to `1.0`, this temporal scaler expects that each pixel’s motion vector points
to that pixel’s location in the [`colorTexture`](/documentation/MetalFX/MTLFXTemporalScalerBase/colorTexture) at the time of the last call to encode this scaler’s work. For example,
in Metal’s standard device coordinates, where `(0,0)` represents the upper-left corner of the framebuffer, the motion
vectors for an object that moves down and to the right in the [`colorTexture`](/documentation/MetalFX/MTLFXTemporalScalerBase/colorTexture) by `10` pixels would be `(-10,-10)`.

---

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)