This page has been translated automatically.
Programming
Fundamentals
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
Containers
Common Functionality
Controls-Related Classes
Engine-Related Classes
Filesystem Functionality
GUI-Related Classes
Math Functionality
Node-Related Classes
Networking Functionality
Pathfinding-Related Classes
Physics-Related Classes
Plugins-Related Classes
Rendering-Related 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.

dynamic_04

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

The dynamic_04 sample demonstrates how to create a dynamic mesh with multiple surfaces that are added one after another.

A dynamic mesh with multiple surfaces

In this sample, each box is formed of the triangles created by adding one vertex after another. Once the box is created, it is added to the dynamic mesh as the surface.

See Also

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