Rect.NormalizedToPoint(Rect rectangle , Vector2 normalizedRectCoordinates)
Returns a point inside a rectangle, given normalized coordinates.
Parameters:
Name | Type | Description |
---|---|---|
rectangle | Rect | Rectangle to get a point inside. |
normalizedRectCoordinates | Vector2 | Normalized coordinates to get a point for. |
Returns:
type | Description |
---|---|
Vector2 | point inside a rectangle, given normalized coordinates. |
Usage
---@type Rect
local rectangle ;
---@type Vector2
local normalizedRectCoordinates;
local val0 = Rect:NormalizedToPoint(rectangle , normalizedRectCoordinates)