Documentation

Unity Engine

Download Unity

Unity Engine

SetMotionVectorScale(XeSSNativeContext, Vector2)

Sets motion vector scaling factor for the given context. Useful when the motion vector texture stores motion vector values in units other than pixels.
Read time 1 minuteLast updated 4 hours ago

Definition

public bool SetMotionVectorScale(XeSSNativeContext xessContext, Vector2 scale)

Parameters

The XeSS context to set motion vector scale.

scale

The motion vector scale value to set.

Returns

Type

Description

booltrue if successful, false otherwise.