This page has been translated automatically.
Programming
Fundamentials
Setting Up Development Environment
UnigineScript
High-Level Systems
C++
C#
UUSL (Unified UNIGINE Shader Language)
File Formats
Rebuilding the Engine and Tools
GUI
Double Precision Coordinates
API
Core Library
Containers
Engine Classes
Node-Related Classes
Rendering-Related Classes
Physics-Related Classes
Bounds-Related Classes
GUI-Related Classes
Controls-Related Classes
Pathfinding-Related Classes
Utility Classes
Warning! This version of documentation is OUTDATED, as it describes an older SDK version! Please switch to the documentation for the latest SDK version.
Warning! This version of documentation describes an old SDK version which is no longer supported! Please upgrade to the latest SDK version.

mesh_02

This article describes the data/samples/objects/mesh_02.cpp sample.

The mesh_02 sample demonstrates how to deform a static mesh as a dynamic mesh, namely:

  • Load the static mesh from a given file and copy it to the dynamic mesh by using the setMesh() function
  • Deform vertices of the dynamic mesh
  • Add the deformed dynamic mesh as the static mesh to the editor

49 dynamic ObjectMeshes

Notice
The static mesh used in this sample is stored in the samples/objects/meshes/mesh_02.mesh file.

See Also

Last update: 2017-07-03
Build: ()