vrpatch2ifs
Convert MATLAB patches to IndexedFaceSet
nodes
Syntax
Description
converts
the node
= vrpatch2ifs(patches
,world
)patches
array and saves the result into the vrnode
array node
.
Each resulting IndexedFaceSet
node in node
is
wrapped by the created Shape
node residing in a
root level of the world
virtual world.
converts
the node
= vrpatch2ifs(patches
,shape
)patches
array and saves the result into the vrnode
array node
.
Each resulting IndexedFaceSet
node in node is a
child of the respective Shape node in the shape array. If the Shape
node already contains an IndexedFaceSet
node, that IndexedFaceSet
is
overwritten. The number of patches must equal the number of Shape
nodes.
Note
This function converts only geometry and color data of the patch.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2015a