Skip to content
Version 2.11.0
↓ Get the launcher

RenderTextureHostElement.OnDrag property

Optional: called with pointer-drag deltas (dx,dy in px) while the box is dragged — e.g. to orbit a 3D preview camera. Null = the box ignores drags.

public Action<float, float>? OnDrag { get; set; }