Skip to content
Version 2.11.0
↓ Get the launcher

RenderTextureHostElement.OnPan property

Optional: called with pointer-drag deltas (dx,dy in px) while the box is dragged with Shift held — e.g. to pan a 3D preview camera. Null = Shift+drag falls back to OnDrag.

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