threejs-syntax-geometries
Installation
SKILL.md
threejs-syntax-geometries
Quick Reference
BufferGeometry: Core Properties
| Property | Type | Default | Description |
|---|---|---|---|
attributes |
Object |
{} |
Hash map of named BufferAttribute instances |
index |
BufferAttribute | null |
null |
Index buffer for indexed rendering |
morphAttributes |
Object |
{} |
Morph target attribute arrays |
morphTargetsRelative |
Boolean |
false |
If true, morph data = relative offsets |
groups |
Array |
[] |
{ start, count, materialIndex } for multi-material |
drawRange |
Object |
{ start: 0, count: Infinity } |
Portion of geometry to render |
boundingBox |
Box3 | null |
null |
Cached — null until computeBoundingBox() |
boundingSphere |
Sphere | null |
null |
Cached — null until computeBoundingSphere() |
BufferGeometry: Key Methods
Related skills