interface com.babylonhx.mesh.simplification.ISimplifier
Available on all platforms
Implementors | ||||
![]() | QuadraticErrorSimplification |
|
@author Krtolica Vujadin
Instance Fields
function simplify(settings:ISimplificationSettings, successCallback:Mesh ->Void?errorCallback:Void ->Void):Void
Simplification of a given mesh according to the given settings. Since this requires computation, it is assumed that the function runs async.
settings | The settings of the simplification, including quality and distance |
successCallback | A callback that will be called after the mesh was simplified. |
errorCallback | in case of an error, this callback will be called. optional. |