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

スクリプト言語

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

Plane.GetDistanceToPoint

public function GetDistanceToPoint(inPt: Vector3): float;

Description

指定したポイントから、平面との距離を返します

The value returned is positive if the point is on the side of the plane into which the plane's normal is facing, and negative otherwise.