-
Notifications
You must be signed in to change notification settings - Fork 155
extrudeGeometry
Wiki » Internal Components » Geometries » extrudeGeometry
Creates a THREE.ExtrudeGeometry
In order to create shapes to extrude, place a <shape> or a <shapeResource> within.
The geometry is wrapped within a THREE.BufferGeometry.
This is to prevent having to remount the component every time anything changes.
string
: Name for this geometry.
Default: ''
array of THREE.Vector3
: See THREE.Geometry#vertices.
Default: []
array of THREE.Color
: See THREE.Geometry#colors.
Default: []
array of (array of (array of THREE.Vector2))
: See THREE.Geometry#faceVertexUvs.
Default: []
array of THREE.Face3
: See THREE.Geometry#faces.
Default: []
bool
: See THREE.Geometry#dynamic.
Set to true if attribute buffers will need to change in runtime (using "dirty" flags).
Unless set to true internal typed arrays corresponding to buffers will be deleted once sent to GPU.
Default: false
array of THREE.Shape
: Array of shapes, or a single shape THREE.Shape
Default: []
number
: Default is 12 (not used in three.js at the moment)
any
shape of
{
generateTopUV: function,
generateSideWallUV: function
}
A UV generator, defaults to ExtrudeGeometry's WorldUVGenerator
number
number
number
number
number
number
bool
THREE.CurvePath
shape of
{
tangents: array of THREE.Vector3,
normals: array of THREE.Vector3,
binormals: array of THREE.Vector3
}
string
: The resource id of this object, only used if it is placed into resources.
Default: ''
This component can be added into <resources/>! See Resource Types for more information.
===
View Source |
---|
Home | Usage | API Reference | Examples