Skip to main content

Rect.NormalizedToPoint(Rect rectangle , Vector2 normalizedRectCoordinates)

Returns a point inside a rectangle, given normalized coordinates.

Parameters:

NameTypeDescription
rectangleRectRectangle to get a point inside.
normalizedRectCoordinatesVector2Normalized coordinates to get a point for.

Returns:

typeDescription
Vector2point inside a rectangle, given normalized coordinates.

Usage

---@type Rect
local rectangle ;

---@type Vector2
local normalizedRectCoordinates;


local val0 = Rect:NormalizedToPoint(rectangle , normalizedRectCoordinates)