Skip to main content

merge_geometry_hierarchy

Functions

compute_transform_matrix(object, ancestor_root, result)
equal_attribute_structure(a, b)boolean
merge_contexts(contexts)GeometryContext
merge_by_material(input, output, output_offset)number
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

ParamType
objectTHREE.Object3D
ancestor_rootTHREE.Object3D
resultFloat32Array

compute_transform_matrix~path : Array.<THREE.Object3D>

Kind: inner constant of compute_transform_matrix

equal_attribute_structure(a, b) ⇒ boolean

Kind: global function

ParamType
aTHREE.BufferGeometry
bTHREE.BufferGeometry

merge_contexts(contexts) ⇒ GeometryContext

Kind: global function

ParamType
contextsArray.<GeometryContext>

merge_by_material(input, output, output_offset) ⇒ number

Kind: global function

ParamType
inputArray.<GeometryContext>
outputArray.<GeometryContext>
output_offsetnumber

context_to_mesh(ctx) ⇒ Mesh

Kind: global function

ParamType
ctxGeometryContext

matrix_array_to_three_object(matrix, destination)

Kind: global function

ParamType
matrixArray.<number>
destinationTHREE.Object3D

apply_transform_to_another_three_object(source, destination)

Kind: global function

ParamType
sourceTHREE.Object3D
destinationTHREE.Object3D

merge_geometry_hierarchy(input) ⇒ THREE.Object3D

Kind: global function

ParamType
inputTHREE.Object3D

merge_geometry_hierarchy~dedupe_geometry(geo) ⇒ THREE.BufferGeometry

Kind: inner method of merge_geometry_hierarchy

ParamType
geoTHREE.BufferGeometry