This repository has been archived by the owner on Jul 20, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 155
shape
Firtina Ozbalikci edited this page Jul 29, 2017
·
13 revisions
Wiki » Internal Components » Shapes » shape
Creates a THREE.Shape
Place this within <extrudeGeometry>, <shapeGeometry>, or <resources>.
array of THREE.Vector2
Default: []
string
: The resource id of this object, only used if it is placed into resources.
Default: ''
- moveTo: Calls THREE.Path#moveTo on the parent shape
- lineTo: Calls THREE.Path#lineTo on the parent shape
- bezierCurveTo: Calls THREE.Path#bezierCurveTo on the parent shape
- quadraticCurveTo: Calls THREE.Path#quadraticCurveTo on the parent shape
- absArc: Calls THREE.Path#absArc on the parent shape
- absEllipse: Calls THREE.Path#absEllipse on the parent shape
- splineThru: Calls THREE.Path#splineThru on the parent shape
- hole: Adds a hole into a parent shape, see THREE.Shape#holes
This component can be added into <resources/>! See Resource Types for more information.
===
View Source |
---|
Home | Usage | API Reference | Examples