Vector4.LengthSquared 方法

定义

返回向量长度平方值。

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

返回

Single

向量长度平方值。

注解

此操作的性能优于对方法的 Length 调用。

适用于

另请参阅