Description
Supported Script Types: Interface Scripts • Client Entity Scripts • Avatar Scripts • Server Entity Scripts • Assignment Client Scripts
A handle for a mesh in an entity, such as returned by Entities.getMeshes.Deprecated: Use the Graphics API instead.
Constructor |
---|
new MeshProxy( )
|
Methods
Name | Return Value | Summary |
---|---|---|
getNumVertices
|
number |
Get the number of vertices in the mesh. |
getPos
|
Vec3 |
Get the position of a vertex in the mesh. |
Method Details
getNumVertices( ) → {number}
Returns: Integer number of vertices in the mesh. |
---|
Get the number of vertices in the mesh. |
getPos( index ) → {Vec3}
Returns: Local position of the vertex relative to the mesh. |
||||||
---|---|---|---|---|---|---|
Get the position of a vertex in the mesh. Parameters
|