shape - firtoz/react-three-renderer GitHub Wiki

Wiki » Internal Components » Shapes » shape

shape

Creates a THREE.Shape

Place this within <extrudeGeometry>, <shapeGeometry>, or <resources>.

Attributes

points

array of THREE.Vector2

Default: []

resourceId

string: The resource id of this object, only used if it is placed into resources.

Default: ''

Children:

Notes:

This component can be added into <resources/>! See Resource Types for more information.

===

View Source