VisualInteractionSource.DeltaPosition 属性

定义

在即将到来的帧中要应用的位置更改量。 默认值为 0。 只能通过表达式/动画读取。

public:
 property float3 DeltaPosition { float3 get(); };
float3 DeltaPosition();
public Vector3 DeltaPosition { get; }
var vector3 = visualInteractionSource.deltaPosition;
Public ReadOnly Property DeltaPosition As Vector3

属性值

Vector3 Vector3

float3

交互源的位置更改。

Windows 要求

设备系列
Windows 10 Creators Update (在 10.0.15063.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v4.0 中引入)

适用于