Vertex

A vertex object

Vertex.setNormal

Sets the normal vector of this vertex
overload 1:
Vertex:setNormal(normal)
Method Property Fluent Description Representation
normal accepts a Vector3
Return Value a Vertex
overload 2:
Vertex:setNormal(x, y, z)
Method Property Fluent Description Representation
x accepts a Number
y accepts a Number
z accepts a Number
Return Value a Vertex

Vertex.setPos

Sets the position vector of this vertex
overload 1:
Vertex:setPos(pos)
Method Property Fluent Description Representation
pos accepts a Vector3
Return Value a Vertex
overload 2:
Vertex:setPos(x, y, z)
Method Property Fluent Description Representation
x accepts a Number
y accepts a Number
z accepts a Number
Return Value a Vertex

Vertex.getNormal

Returns the normal vector of this vertex
overload 1:
Vertex:getNormal()
Method Property Fluent Description Representation
Return Value a Vector3

Vertex.getUV

Returns the UV vector of this vertex
overload 1:
Vertex:getUV()
Method Property Fluent Description Representation
Return Value a Vector2

Vertex.setUV

Sets the UV vector of this vertex
overload 1:
Vertex:setUV(UV)
Method Property Fluent Description Representation
UV accepts a Vector2
Return Value a Vertex
overload 2:
Vertex:setUV(u, v)
Method Property Fluent Description Representation
u accepts a Number
v accepts a Number
Return Value a Vertex

Vertex.getPos

Returns the position vector of this vertex
overload 1:
Vertex:getPos()
Method Property Fluent Description Representation
Return Value a Vector3

Vertex.normal

Sets the normal vector of this vertex
overload 1:
Vertex:normal(normal)
Method Property Fluent Description Representation
normal accepts a Vector3
Return Value a Vertex
overload 2:
Vertex:normal(x, y, z)
Method Property Fluent Description Representation
x accepts a Number
y accepts a Number
z accepts a Number
Return Value a Vertex

Vertex.pos

Sets the position vector of this vertex
overload 1:
Vertex:pos(pos)
Method Property Fluent Description Representation
pos accepts a Vector3
Return Value a Vertex
overload 2:
Vertex:pos(x, y, z)
Method Property Fluent Description Representation
x accepts a Number
y accepts a Number
z accepts a Number
Return Value a Vertex

Vertex.uv

Sets the UV vector of this vertex
overload 1:
Vertex:uv(UV)
Method Property Fluent Description Representation
UV accepts a Vector2
Return Value a Vertex
overload 2:
Vertex:uv(u, v)
Method Property Fluent Description Representation
u accepts a Number
v accepts a Number
Return Value a Vertex
a a