Vector4.LengthSquared メソッド

定義

ベクトルの 2 乗の長さを返します。

public:
 float LengthSquared();
public float LengthSquared();
public readonly float LengthSquared();
member this.LengthSquared : unit -> single
Public Function LengthSquared () As Single

返品

ベクトルの長さを 2 乗します。

注釈

この操作は、 Length メソッドの呼び出しよりも優れたパフォーマンスを提供します。

適用対象

こちらもご覧ください