Vertex

Vertex class

Vertex reference, used to access the raw vertex in TriMesh. @hideconstructor

Methods

compareTo

NameDescription
compareTo(other)Compare the vertex with another vertex instance

Parameters:

NameTypeDescription
otheVertexnull

Result: Number


readVector4

NameDescription
readVector4(field)Read the vector4 field

Parameters:

NameTypeDescription
fieldVertexFieldThe field with a Vector4/FVector4 data type

Result: Vector4


readFVector4

NameDescription
readFVector4(field)Read the vector4 field

Parameters:

NameTypeDescription
fieldVertexFieldThe field with a Vector4/FVector4 data type

Result: FVector4


readVector3

NameDescription
readVector3(field)Read the vector3 field

Parameters:

NameTypeDescription
fieldVertexFieldThe field with a Vector3/FVector3 data type

Result: Vector3


readFVector3

NameDescription
readFVector3(field)Read the vector3 field

Parameters:

NameTypeDescription
fieldVertexFieldThe field with a Vector3/FVector3 data type

Result: FVector3


readVector2

NameDescription
readVector2(field)Read the vector2 field

Parameters:

NameTypeDescription
fieldVertexFieldThe field with a Vector2/FVector2 data type

Result: Vector2


readFVector2

NameDescription
readFVector2(field)Read the vector2 field

Parameters:

NameTypeDescription
fieldVertexFieldThe field with a Vector2/FVector2 data type

Result: FVector2


readDouble

NameDescription
readDouble(field)Read the double field

Parameters:

NameTypeDescription
fieldVertexFieldThe field with a float/double compatible data type

Result: Number


readFloat

NameDescription
readFloat(field)Read the float field

Parameters:

NameTypeDescription
fieldVertexFieldThe field with a float/double compatible data type

Result: Number