Skip to content
This repository has been archived by the owner on Jul 20, 2020. It is now read-only.

extrudeGeometry

Firtina Ozbalikci edited this page Feb 10, 2016 · 17 revisions

Wiki » Internal Components » Geometries » extrudeGeometry

extrudeGeometry

Creates a THREE.ExtrudeGeometry

It then wraps this with a THREE.BufferGeometry. This is to prevent having to remount the component every time anything changes.

Attributes

dynamic

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.

Defaults to true.

name

string: Name for this geometry.

Default is an empty string.

shapes

array of THREE.Shape

settings

any

amount

any

bevelThickness

any

bevelSize

any

bevelSegments

any

bevelEnabled

any

curveSegments

any

steps

any

extrudePath

any

UVGenerator

any

frames

any

resourceId

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

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

===

View Source
Clone this wiki locally