言語: 日本語
  • C#
  • JS
  • Boo

スクリプト言語

お好みのスクリプト言語を選択すると、サンプルコードがその言語で表示されます。

Rect.PointToNormalized

public static function PointToNormalized(rectangle: Rect, point: Vector2): Vector2;

Parameters

rectangle Rectangle to get normalized coordinates inside.
point A point inside the rectangle to get normalized coordinates for.

Description

Returns the normalized coordinates cooresponding the the point.