Packageaway3d.tools
Classpublic class Weld
InheritanceWeld Inheritance Object

Class Weld removes from the faces found of one or more object3d all the duplicated vertexes and uv's.Weld



Public Properties
 PropertyDefined By
  countuvs : int
[read-only] returns howmany uvs were deleted during the welding operation.
Weld
  countvertices : int
[read-only] returns howmany vertexes were deleted during the welding operation.
Weld
  doUVs : Boolean
Defines if the weld operation treats the UV's.
Weld
Public Methods
 MethodDefined By
  
Weld(doUVs:Boolean = true)
Class Weld removes from the faces found of an object3d all the duplicated vertexes and uv's.
Weld
  
apply(object3d:Object3D):void
Apply the welding code to a given object3D.
Weld
Property Detail
countuvsproperty
countuvs:int  [read-only]

returns howmany uvs were deleted during the welding operation.


Implementation
    public function get countuvs():int
countverticesproperty 
countvertices:int  [read-only]

returns howmany vertexes were deleted during the welding operation.


Implementation
    public function get countvertices():int
doUVsproperty 
doUVs:Boolean

Defines if the weld operation treats the UV's.


Implementation
    public function get doUVs():Boolean
    public function set doUVs(value:Boolean):void
Constructor Detail
Weld()Constructor
public function Weld(doUVs:Boolean = true)

Class Weld removes from the faces found of an object3d all the duplicated vertexes and uv's.

Parameters
doUVs:Boolean (default = true) — [optional] Boolean. If uv's needs to be optimized as well. Default is true.
####INIT####
Method Detail
apply()method
public function apply(object3d:Object3D):void

Apply the welding code to a given object3D.

Parameters

object3d:Object3D — Object3D. The target Object3d object.