Package | away3d.tools.commands |
Class | public class Weld |
Inheritance | Weld Object |
Property | Defined By | ||
---|---|---|---|
verticesRemovedCount : uint [static] [read-only]
returns howmany vertices were deleted during the welding operation. | Weld |
Method | Defined By | ||
---|---|---|---|
apply(obj:ObjectContainer3D, keepUVs:Boolean = true, keepNormals:Boolean = true):void [static]
Apply the welding code to a given ObjectContainer3D. | Weld |
verticesRemovedCount | property |
verticesRemovedCount:uint
[read-only] returns howmany vertices were deleted during the welding operation.
public static function get verticesRemovedCount():uint
apply | () | method |
public static function apply(obj:ObjectContainer3D, keepUVs:Boolean = true, keepNormals:Boolean = true):void
Apply the welding code to a given ObjectContainer3D.
Parameters
obj:ObjectContainer3D — ObjectContainer3D. The target Object3d object.
| |
keepUVs:Boolean (default = true ) — [otional]Boolean. If true the existing UV-mapping is not be altered by the welding operation, possibly adding extra data. Default is true.
| |
keepNormals:Boolean (default = true ) — [otional]Boolean. If true normals of shared vertices will be averaged. If false autoDeriveVertexNormals will be set to true. Default is true.
|