 |
MeshUtilsTranslateMesh Method |
Translates the specified vertices in an array of PositionNormalTextureVertex with the specified offset.
Namespace: Ab4d.SharpEngine.UtilitiesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 5.0.1075+bc537c8d217949260b11f66ee86aefa6456ac517
Syntaxpublic static PositionNormalTextureVertex[] TranslateMesh(
PositionNormalTextureVertex[] vertices,
Vector3 offset
)
Parameters
- vertices PositionNormalTextureVertex
- array of PositionNormalTextureVertex
- offset Vector3
- translation vector
Return Value
PositionNormalTextureVertexnew array of PositionNormalTextureVertex with translated Positions (Normals and TextureCoordinates are not changed).
See Also