Class: AxMergeGeometry

AxMergeGeometry(result, geometry1, geometry2, transform1non-null, transform2non-null)

new AxMergeGeometry(result, geometry1, geometry2, transform1non-null, transform2non-null)

Merges two meshes into a new one, incorporating the given transformations to the source meshes If the resulting mesh is also used as a source, its original geometry will be put into the final result Position, normals and texture coordinates are copied Indices are copied
Parameters:
Name Type Description
result AxDeviceMesh The mesh to hold the merged geometry
geometry1 AxDeviceMesh The first mesh to merge
geometry2 AxDeviceMesh The second mesh to merge
transform1 AxMatrix A transformation to apply to the first mesh in the merged geometry. If omitted, no transformation is applied
transform2 AxMatrix A transformation to apply to the second mesh in the merged geometry. If omitted, no transformation is applied
Source:

Methods

CreateGeometry(result, geometry1, geometry2, transform1, transform2)

Merges two meshes into a new one, incorporating the given transformations to the source meshes If the resulting mesh is also used as a source, its original geometry will be put into the final result Position, normals and texture coordinates are copied Indices are copied
Parameters:
Name Type Description
result AxDeviceMesh The mesh to hold the merged geometry
geometry1 AxDeviceMesh The first mesh to merge
geometry2 AxDeviceMesh The second mesh to merge
transform1 AxMatrix A transformation to apply to the first mesh in the merged geometry
transform2 AxMatrix A transformation to apply to the second mesh in the merged geometry
Source:

Documentation generated by JSDoc 3.5.3 on Wed Jan 17 2018 17:06:57 GMT+0200 (FLE Standard Time)