Table of Contents

Method NormalizedToPoint

Namespace
Pinwheel.Vista
Assembly
Pinwheel.Vista.Runtime.dll

NormalizedToPoint(Rect, Vector2)

Converts normalized coordinates back into a point inside or outside a rect.

public static Vector2 NormalizedToPoint(Rect r, Vector2 p)

Parameters

r Rect

Reference rect.

p Vector2

Normalized coordinates, not clamped to the 0..1 range.

Returns

Vector2