Packageaway3d.tools
Classpublic class Weld

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
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  [read-write]Implementation
    public function get doUVs():Boolean
    public function set doUVs(value:Boolean):void
Constructor detail
Weld()constructor
public function Weld(doUVs:Boolean = true)Parameters
doUVs:Boolean (default = true) — doUVs [optional] Boolean. If uv's needs to be optimized as well. Default is true.
Init Parameters
Method detail
apply()method
public function apply(object3d:Object3D):void

Apply the welding code to a given object3D.

Parameters
object3d:Object3D — object3d Object3D. The target Object3d object.
Wiki link
Click to go to the wiki page for 'away3d.tools.Weld'

Code examples

Comments