bufferGeometry - firtoz/react-three-renderer GitHub Wiki

Wiki » Internal Components » Geometries » bufferGeometry

bufferGeometry

Creates a THREE.BufferGeometry

Attributes

name

string

Default: ''

position

one of types [THREE.BufferAttribute, THREE.InterleavedBufferAttribute]

normal

one of types [THREE.BufferAttribute, THREE.InterleavedBufferAttribute]

color

one of types [THREE.BufferAttribute, THREE.InterleavedBufferAttribute]

uv

one of types [THREE.BufferAttribute, THREE.InterleavedBufferAttribute]

index

one of types [THREE.BufferAttribute, THREE.InterleavedBufferAttribute]

resourceId

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

Default: ''

Notes:

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

===

View Source