merge_geometry_hierarchy
Functions
- compute_transform_matrix(object, ancestor_root, result)
-
equal_attribute_structure(a, b) ⇒
boolean -
merge_contexts(contexts) ⇒
GeometryContext -
context_to_mesh(ctx) ⇒
Mesh - matrix_array_to_three_object(matrix, destination)
- apply_transform_to_another_three_object(source, destination)
-
merge_geometry_hierarchy(input) ⇒
THREE.Object3D
compute_transform_matrix(object, ancestor_root, result)
Kind: global function
| Param | Type |
|---|---|
| object | THREE.Object3D |
| ancestor_root | THREE.Object3D |
| result | Float32Array |
compute_transform_matrix~path : Array.<THREE.Object3D>
Kind: inner constant of compute_transform_matrix
equal_attribute_structure(a, b) ⇒ boolean
Kind: global function
| Param | Type |
|---|---|
| a | THREE.BufferGeometry |
| b | THREE.BufferGeometry |
merge_contexts(contexts) ⇒ GeometryContext
Kind: global function
| Param | Type |
|---|---|
| contexts | Array.<GeometryContext> |
merge_by_material(input, output, output_offset) ⇒ number
Kind: global function
| Param | Type |
|---|---|
| input | Array.<GeometryContext> |
| output | Array.<GeometryContext> |
| output_offset | number |
context_to_mesh(ctx) ⇒ Mesh
Kind: global function
| Param | Type |
|---|---|
| ctx | GeometryContext |
matrix_array_to_three_object(matrix, destination)
Kind: global function
| Param | Type |
|---|---|
| matrix | Array.<number> |
| destination | THREE.Object3D |
apply_transform_to_another_three_object(source, destination)
Kind: global function
| Param | Type |
|---|---|
| source | THREE.Object3D |
| destination | THREE.Object3D |
merge_geometry_hierarchy(input) ⇒ THREE.Object3D
Kind: global function
| Param | Type |
|---|---|
| input | THREE.Object3D |
merge_geometry_hierarchy~dedupe_geometry(geo) ⇒ THREE.BufferGeometry
Kind: inner method of merge_geometry_hierarchy
| Param | Type |
|---|---|
| geo | THREE.BufferGeometry |