레퍼런스 model()

model()

p5.Geometry 객체를 캔버스에 그립니다.

매개 변수인 model는 다음과 같습니다. p5.Geometry 객체는 p5.Geometry , buildGeometry(), beginGeometry(), endGeometry()로 생성할 수 있으며, loadGeometry()를 사용하여 파일에서 불러오는 것도 가능합니다.

참조: model() 는 WebGL 모드에서만 사용할 수 있습니다.

예제

구문

model(model)

매개변수

model

그려질 3D 도형.

Notice any errors or typos? Please let us know. Please feel free to edit src/webgl/loading.js and open a pull request!

관련 레퍼런스