Main Content

generatePatches (Aero.Body)

Generate patches for body with loaded face, vertex, and color data

Syntax

generatePatches(h, ax)
h.generatePatches(ax)

Description

generatePatches(h, ax) and h.generatePatches(ax) generate patches for the animation body object h using the loaded face, vertex, and color data in ax.

Examples

Generate patches for b using the axes, ax.

b=Aero.Body;
b.load('pa24-250_orange.ac','Ac3d'); 
f = figure;
ax = axes;
b.generatePatches(ax);

See Also

Introduced in R2007a