loadShape()

Shape

Description

Loads geometry into a variable of type PShape. Supports SVG and OBJ files.

Syntax

PShape* loadShape(std::string path)

Parameters

NameTypeDescription
pathstd::stringpath to the SVG or OBJ file

Returns

PShape*

Related

Under the Hood

Implementation in Processing.h / Processing.cpp:

Loading...