BufferGeometry¶
- class pythreejs.BufferGeometry[source]¶
This widget has some manual overrides on the Python side.
Inherits
BaseBufferGeometry
.Three.js docs: https://threejs.org/docs/#api/core/BufferGeometry
- index¶
Union([ Instance(BufferAttribute, allow_none=True), Instance(InterleavedBufferAttribute, allow_none=True) ]).tag(sync=True, **widget_serialization)
- attributes¶
Dict(Union([ Instance(BufferAttribute), Instance(InterleavedBufferAttribute) ])).tag(sync=True, **widget_serialization)
- morphAttributes¶
Dict(TypedTuple(Union([ Instance(BufferAttribute), Instance(InterleavedBufferAttribute) ]))).tag(sync=True, **widget_serialization)
- userData¶
Dict(default_value={}, allow_none=False).tag(sync=True)
- MaxIndex¶
CInt(65535, allow_none=False).tag(sync=True)
- _ref_geometry¶
Union([ Instance(BaseGeometry, allow_none=True), Instance(BaseBufferGeometry, allow_none=True) ]).tag(sync=True, **widget_serialization)
- _store_ref¶
Bool(False, allow_none=False).tag(sync=True)
- type¶
Unicode("BufferGeometry", allow_none=False).tag(sync=True)
- classmethod from_geometry(geometry, store_ref=False)[source]¶
Creates a PlainBufferGeometry of another geometry.
store_ref determines if the reference is stored after initalization. If it is, it will be used for future embedding.
- validate¶