Vector4.LengthSquared Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Retourne la longueur du vecteur carré.
public:
float LengthSquared();
public float LengthSquared();
public readonly float LengthSquared();
member this.LengthSquared : unit -> single
Public Function LengthSquared () As Single
Retours
Longueur carrée du vecteur.
Remarques
Cette opération offre de meilleures performances qu’un appel à la Length méthode.