语言

Vector3.LastIndexOfWhereAllBitsSet(Vector3) 方法

定义

确定已设置所有位的向量中最后一个元素的索引。

public:
 static int LastIndexOfWhereAllBitsSet(System::Numerics::Vector3 vector);
public static int LastIndexOfWhereAllBitsSet(System.Numerics.Vector3 vector);
static member LastIndexOfWhereAllBitsSet : System.Numerics.Vector3 -> int
Public Shared Function LastIndexOfWhereAllBitsSet (vector As Vector3) As Integer

参数

vector
Vector3

要检查其元素的向量。

返回

表示 vector 已设置所有位的最后一个元素的索引;否则, -1 如果不存在此类元素。

适用于