Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Rect.NormalizedToPoint

static function NormalizedToPoint(rectangle: Rect, normalizedRectCoordinates: Vector2): Vector2;
static Vector2 NormalizedToPoint(Rect rectangle, Vector2 normalizedRectCoordinates);
static def NormalizedToPoint(rectangle as Rect, normalizedRectCoordinates as Vector2) as Vector2

Parameters

rectangleRectangle to get a point inside.
normalizedRectCoordinatesNormalized coordinates to get a point for.

Description

Returns a point inside a rectangle, given normalized coordinates.