Packageaway3d.extrusions
Classpublic class PathExtrude
InheritancePathExtrude Inheritance Mesh Inheritance Entity Inheritance ObjectContainer3D Inheritance Object3D Inheritance NamedAssetBase Inheritance flash.events.EventDispatcher
Deprecated: Deprecated



Public Properties
 PropertyDefined By
  aligntoPath : Boolean
[read-only] Defines if the array of profile points should be orientated on path or not.
PathExtrude
  alignToPath : Boolean
[write-only]
PathExtrude
 Inheritedanimator : IAnimator
Defines the animator of the mesh.
Mesh
 InheritedassetFullPath : Array
[read-only]
NamedAssetBase
 InheritedassetNamespace : String
[read-only]
NamedAssetBase
 InheritedassetType : String
[override] [read-only]
Mesh
 InheritedbackVector : Vector3D
[read-only]
Object3D
  bounds : BoundingVolumeBase
[override] The bounding volume approximating the volume occupied by the Entity.
PathExtrude
 InheritedcastsShadows : Boolean
Indicates whether or not the Mesh can cast shadows
Mesh
  centerMesh : Boolean
Defines whether the mesh is recentered of not after generation
PathExtrude
  closePath : Boolean
Defines if the last PathSegment should join the first one and close the loop.
PathExtrude
  coverAll : Boolean
Defines if the texture(s) should be stretched to cover the entire mesh or per step between segments.
PathExtrude
  coverSegment : Boolean
Defines if the texture(s) should applied per segment.
PathExtrude
  distribute : Boolean
Defines if the mesh subdivision is spread evenly over the entire geometry.
PathExtrude
  distributeU : Boolean
Defines the uv's u values are spreaded procentually over the entire surface to prevent the maps to be stretched.
PathExtrude
 InheriteddownVector : Vector3D
[read-only]
Object3D
  endProfile : Vector.<Vector3D>
[read-only] returns a vector of vector3d's representing the transformed profile coordinates at the end of the extrude shape null if "keepExtremes" is false or if the extrusion has not been builded yet.
PathExtrude
 Inheritedeulers : Vector3D
Defines the rotation of the 3d object as a Vector3D object containing euler angles for rotation around x, y and z axis.
Object3D
 Inheritedextra : Object
An object that can contain any extra data.
Object3D
  flip : Boolean
Defines if the generated faces should be inversed.
PathExtrude
 InheritedforwardVector : Vector3D
[read-only]
Object3D
  geometry : Geometry
[override] The geometry used by the mesh that provides it with its shape.
PathExtrude
 InheritedignoreTransform : Boolean
[override]
Entity
 InheritedinverseSceneTransform : Matrix3D
[read-only] The inverse scene transform object that transforms from world to model space.
ObjectContainer3D
  keepExtremes : Boolean
Defines if the first and last transformed vector3d's of the profile are kept.
PathExtrude
 InheritedleftVector : Vector3D
[read-only]
Object3D
  mapFit : Boolean
Defines if the texture(s) should be projected on the geometry evenly spreaded over the source bitmapdata or using distance/percent.
PathExtrude
 Inheritedmaterial : MaterialBase
The material with which to render the Mesh.
Mesh
  materials : Vector.<MaterialBase>
An optional Vector.<MaterialBase>.
PathExtrude
 InheritedmaxX : Number
[override] [read-only] The maximum extremum of the object along the X-axis.
Entity
 InheritedmaxY : Number
[override] [read-only] The maximum extremum of the object along the Y-axis.
Entity
 InheritedmaxZ : Number
[override] [read-only] The maximum extremum of the object along the Z-axis.
Entity
 InheritedminX : Number
[override] [read-only] The minimum extremum of the object along the X-axis.
Entity
 InheritedminY : Number
[override] [read-only] The minimum extremum of the object along the Y-axis.
Entity
 InheritedminZ : Number
[override] [read-only] The minimum extremum of the object along the Z-axis.
Entity
 InheritedmodelViewProjection : Matrix3D
[read-only] The current model-view-projection (MVP) matrix - the one on the top of the stack - used to transform from model to homogeneous projection space.
Entity
 InheritedmouseChildren : Boolean
ObjectContainer3D
 InheritedmouseEnabled : Boolean
Indicates whether the IRenderable should trigger mouse events, and hence should be rendered for hit testing.
ObjectContainer3D
 Inheritedname : String
NamedAssetBase
 InheritednumChildren : uint
[read-only] The amount of child objects of the ObjectContainer3D.
ObjectContainer3D
 InheritedoriginalName : String
[read-only] The original name used for this asset in the resource (e.g.
NamedAssetBase
 Inheritedparent : ObjectContainer3D
[read-only] The parent ObjectContainer3D to which this object's transformation is relative.
ObjectContainer3D
 Inheritedpartition : Partition3D
The space partition to be used by the object container and all its recursive children, unless it has its own space partition assigned.
ObjectContainer3D
  path : IPath
Defines the Path object representing path to extrude along.
PathExtrude
 InheritedpickingCollider : IPickingCollider
Used by the raycast-based picking system to determine how the geometric contents of an entity are processed in order to offer more details for the picking collision object, including local position, normal vector and uv value.
Entity
 InheritedpickingCollisionVO : PickingCollisionVO
[read-only] Returns a unique picking collision value object for the entity.
Entity
 InheritedpivotPoint : Vector3D
Defines the local point around which the object rotates.
Object3D
 Inheritedposition : Vector3D
Defines the position of the 3d object, relative to the local coordinates of the parent ObjectContainer3D.
Object3D
  profile : Vector.<Vector3D>
Defines a Vector.<Vector3D> of Vector3D objects representing the profile information to be projected along the Path object.
PathExtrude
 InheritedrightVector : Vector3D
[read-only]
Object3D
  rotations : Vector.<Vector3D>
An optional Vector.<Vector3D> of Vector3D objects that defines a series of rotations to be set on each PathSegment.
PathExtrude
 InheritedrotationX : Number
Defines the euler angle of rotation of the 3d object around the x-axis, relative to the local coordinates of the parent ObjectContainer3D.
Object3D
 InheritedrotationY : Number
Defines the euler angle of rotation of the 3d object around the y-axis, relative to the local coordinates of the parent ObjectContainer3D.
Object3D
 InheritedrotationZ : Number
Defines the euler angle of rotation of the 3d object around the z-axis, relative to the local coordinates of the parent ObjectContainer3D.
Object3D
  scales : Vector.<Vector3D>
An optional Vector.<Vector3D> of Vector3D objects that defines a series of scales to be set on each PathSegment.
PathExtrude
 InheritedscaleX : Number
Defines the scale of the 3d object along the x-axis, relative to local coordinates.
Object3D
 InheritedscaleY : Number
Defines the scale of the 3d object along the y-axis, relative to local coordinates.
Object3D
 InheritedscaleZ : Number
Defines the scale of the 3d object along the z-axis, relative to local coordinates.
Object3D
 Inheritedscene : Scene3D
[override] A reference to the Scene3D object to which this object belongs.
Entity
 InheritedscenePosition : Vector3D
[read-only] The global position of the ObjectContainer3D in the scene.
ObjectContainer3D
 InheritedsceneTransform : Matrix3D
[read-only] The transformation matrix that transforms from model to world space.
ObjectContainer3D
 InheritedshaderPickingDetails : Boolean
Used by the shader-based picking system to determine whether a separate render pass is made in order to offer more details for the picking collision object, including local position, normal vector and uv value.
Entity
 InheritedshowBounds : Boolean
Entity
  smoothScale : Boolean
Defines if a scaling of a PathSegment defined from the scales array of Vector3D objects should affect the whole PathSegment evenly or be smoothly interpolated from previous PathSegment scale.
PathExtrude
  smoothSurface : Boolean
Defines if the surface of the mesh must be smoothed or not.
PathExtrude
  startProfile : Vector.<Vector3D>
[read-only] returns a vector of vector3d's representing the transformed profile coordinates at the start of the extrude shape null if "keepExtremes" is false or if the extrusion has not been builded yet.
PathExtrude
 InheritedstaticNode : Boolean
Defines whether or not the object will be moved or animated at runtime.
Entity
  subdivision : int
Defines the subdivisions created in the mesh for each PathSegment.
PathExtrude
  subMeshes : Vector.<SubMesh>
[override] [read-only] The SubMeshes out of which the Mesh consists.
PathExtrude
 Inheritedtransform : Matrix3D
The transformation of the 3d object, relative to the local coordinates of the parent ObjectContainer3D.
Object3D
  upAxis : Vector3D
PathExtrude
 InheritedupVector : Vector3D
[read-only]
Object3D
 Inheritedvisible : Boolean
ObjectContainer3D
 Inheritedx : Number
Defines the x coordinate of the 3d object relative to the local coordinates of the parent ObjectContainer3D.
Object3D
 Inheritedy : Number
Defines the y coordinate of the 3d object relative to the local coordinates of the parent ObjectContainer3D.
Object3D
 Inheritedz : Number
Defines the z coordinate of the 3d object relative to the local coordinates of the parent ObjectContainer3D.
Object3D
Protected Properties
 PropertyDefined By
 Inherited_bounds : BoundingVolumeBase
Entity
 Inherited_boundsInvalid : Boolean = true
Entity
 Inherited_explicitPartition : Partition3D
ObjectContainer3D
 Inherited_geometry : Geometry
Mesh
 Inherited_ignoreTransform : Boolean = false
ObjectContainer3D
 Inherited_implicitPartition : Partition3D
ObjectContainer3D
 Inherited_mouseEnabled : Boolean
ObjectContainer3D
 Inherited_mvpIndex : int = -1
Entity
 Inherited_mvpTransformStack : Vector.<Matrix3D>
Entity
 Inherited_parent : ObjectContainer3D
ObjectContainer3D
 Inherited_pivotPoint : Vector3D
Object3D
 Inherited_pivotZero : Boolean = true
Object3D
 Inherited_pos : Vector3D
Object3D
 Inherited_rot : Vector3D
Object3D
 Inherited_sca : Vector3D
Object3D
 Inherited_scaleX : Number = 1
Object3D
 Inherited_scaleY : Number = 1
Object3D
 Inherited_scaleZ : Number = 1
Object3D
 Inherited_scene : Scene3D
ObjectContainer3D
 Inherited_sceneTransform : Matrix3D
ObjectContainer3D
 Inherited_sceneTransformDirty : Boolean = true
ObjectContainer3D
 Inherited_stackLen : uint
Entity
 Inherited_transform : Matrix3D
Object3D
 Inherited_transformComponents : Vector.<Vector3D>
Object3D
 Inherited_x : Number = 0
Object3D
 Inherited_y : Number = 0
Object3D
 Inherited_z : Number = 0
Object3D
 Inherited_zIndices : Vector.<Number>
Entity
Public Methods
 MethodDefined By
  
PathExtrude(material:MaterialBase = null, path:IPath = null, profile:Vector.<Vector3D> = null, subdivision:uint = 2, coverAll:Boolean = true, coverSegment:Boolean = false, alignToPath:Boolean = true, centerMesh:Boolean = false, mapFit:Boolean = false, flip:Boolean = false, closePath:Boolean = false, materials:Vector.<MaterialBase> = null, scales:Vector.<Vector3D> = null, smoothScale:Boolean = true, rotations:Vector.<Vector3D> = null, smoothSurface:Boolean = true, distribute:Boolean = false, distributeU:Boolean = true, keepExtremes:Boolean = false)
Creates a new PathExtrude
PathExtrude
 Inherited
Adds a child ObjectContainer3D to the current object.
ObjectContainer3D
 Inherited
addChildren(... childarray):void
Adds an array of 3d objects to the scene as children of the container
ObjectContainer3D
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
[override]
ObjectContainer3D
 Inherited
assetPathEquals(name:String, ns:String):Boolean
NamedAssetBase
 Inherited
Mesh
 Inherited
[override] Clones this Mesh instance along with all it's children, while re-using the same material and geometry instance.
Mesh
 Inherited
ObjectContainer3D
 Inherited
dispatchEvent(event:Event):Boolean
[override]
ObjectContainer3D
 Inherited
dispose():void
[override] Cleans up resources used by this asset.
Mesh
 Inherited
Object3D
 Inherited
Retrieves the child object at the given index.
ObjectContainer3D
 Inherited
Gets a concrete EntityPartition3DNode subclass that is associated with this Entity instance
Entity
 Inherited
Mesh
 Inherited
lookAt(target:Vector3D, upAxis:Vector3D = null):void
[override] Rotates the 3d object around to face a point defined relative to the local coordinates of the parent ObjectContainer3D.
ObjectContainer3D
 Inherited
moveBackward(distance:Number):void
Moves the 3d object backwards along it's local z axis
Object3D
 Inherited
moveDown(distance:Number):void
Moves the 3d object backwards along it's local y axis
Object3D
 Inherited
moveForward(distance:Number):void
Moves the 3d object forwards along it's local z axis
Object3D
 Inherited
moveLeft(distance:Number):void
Moves the 3d object backwards along it's local x axis
Object3D
 Inherited
movePivot(dx:Number, dy:Number, dz:Number):void
Moves the local point around which the object rotates.
Object3D
 Inherited
moveRight(distance:Number):void
Moves the 3d object forwards along it's local x axis
Object3D
 Inherited
moveTo(dx:Number, dy:Number, dz:Number):void
Moves the 3d object directly to a point in space
Object3D
 Inherited
moveUp(distance:Number):void
Moves the 3d object forwards along it's local y axis
Object3D
 Inherited
pitch(angle:Number):void
Rotates the 3d object around it's local x-axis
Object3D
 Inherited
Removes a model view projection matrix from the stack, used when leaving a render.
Entity
 Inherited
pushModelViewProjection(camera:Camera3D, updateZIndex:Boolean = true):void
Updates the model-view-projection (MVP) matrix used to transform from model to homogeneous projection space and places it on the stack.
Entity
 Inherited
Removes a 3d object from the child array of the container
ObjectContainer3D
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
[override]
ObjectContainer3D
 Inherited
resetAssetPath(name:String, ns:String = null, overrideOriginal:Boolean = true):void
NamedAssetBase
 Inherited
roll(angle:Number):void
Rotates the 3d object around it's local z-axis
Object3D
 Inherited
rotate(axis:Vector3D, angle:Number):void
[override]
ObjectContainer3D
 Inherited
rotateTo(ax:Number, ay:Number, az:Number):void
Rotates the 3d object directly to a euler angle
Object3D
 Inherited
scale(value:Number):void
Appends a uniform scale to the current transformation.
Object3D
 Inherited
translate(axis:Vector3D, distance:Number):void
Moves the 3d object along a vector by a defined length
Object3D
 Inherited
translateLocal(axis:Vector3D, distance:Number):void
[override]
ObjectContainer3D
 Inherited
ObjectContainer3D
 Inherited
yaw(angle:Number):void
Rotates the 3d object around it's local y-axis
Object3D
Protected Methods
 MethodDefined By
 Inherited
[override] Factory method that returns the current partition node.
Mesh
 Inherited
Creates the default bounding box to be used by this type of Entity.
Entity
 Inherited
Invalidates the bounding volume, causing to be updated when requested.
Entity
 Inherited
[override] Invalidates the scene transformation matrix, causing it to be updated the next time it's requested.
Entity
 Inherited
[override] Updates the bounding volume for the object.
Mesh
 Inherited
[override]
Entity
 Inherited
Updates the scene transformation matrix.
ObjectContainer3D
 Inherited
Object3D
Events
 Event Summary Defined By
 InheritedDispatched when a user presses the left hand mouse button while the cursor is over the 3d object.ObjectContainer3D
 InheritedDispatched when a user moves the cursor while it is over the 3d object.ObjectContainer3D
 InheritedDispatched when a user moves the cursor away from the 3d object.ObjectContainer3D
 InheritedDispatched when a user moves the cursor over the 3d object.ObjectContainer3D
 InheritedDispatched when a user releases the left hand mouse button while the cursor is over the 3d object.ObjectContainer3D
 InheritedDispatched when the position of the 3d object changes.Object3D
 InheritedDispatched when the rotation of the 3d object changes.Object3D
 InheritedDispatched when the scale of the 3d object changes.Object3D
 InheritedDispatched when the parent scene of the 3d object changes.ObjectContainer3D
 InheritedDispatched when the scene transform matrix of the 3d object changes.ObjectContainer3D
Public Constants
 ConstantDefined By
 InheritedDEFAULT_NAMESPACE : String = default
[static]
NamedAssetBase
Property Detail
aligntoPathproperty
aligntoPath:Boolean  [read-only]

Defines if the array of profile points should be orientated on path or not. Default true. Note that Path object's worldaxis property might need to be changed. default = 0,1,0.


Implementation
    public function get aligntoPath():Boolean

See also

alignToPathproperty 
alignToPath:Boolean  [write-only]


Implementation
    public function set alignToPath(value:Boolean):void
boundsproperty 
bounds:BoundingVolumeBase[override]

The bounding volume approximating the volume occupied by the Entity.


Implementation
    public function get bounds():BoundingVolumeBase
    public function set bounds(value:BoundingVolumeBase):void
centerMeshproperty 
centerMesh:Boolean

Defines whether the mesh is recentered of not after generation


Implementation
    public function get centerMesh():Boolean
    public function set centerMesh(value:Boolean):void
closePathproperty 
closePath:Boolean

Defines if the last PathSegment should join the first one and close the loop. Defaults to false.


Implementation
    public function get closePath():Boolean
    public function set closePath(value:Boolean):void
coverAllproperty 
coverAll:Boolean

Defines if the texture(s) should be stretched to cover the entire mesh or per step between segments. Defaults to true.


Implementation
    public function get coverAll():Boolean
    public function set coverAll(value:Boolean):void
coverSegmentproperty 
coverSegment:Boolean

Defines if the texture(s) should applied per segment. Default false.


Implementation
    public function get coverSegment():Boolean
    public function set coverSegment(value:Boolean):void
distributeproperty 
distribute:Boolean

Defines if the mesh subdivision is spread evenly over the entire geometry. Possibly resulting in uneven subdivision per segments. Uv mapping is less distorted on complex shapes once applied. Depending on Path length, extra construct time might be significant. Defaults to false.


Implementation
    public function get distribute():Boolean
    public function set distribute(value:Boolean):void
distributeUproperty 
distributeU:Boolean

Defines the uv's u values are spreaded procentually over the entire surface to prevent the maps to be stretched.


Implementation
    public function get distributeU():Boolean
    public function set distributeU(value:Boolean):void
endProfileproperty 
endProfile:Vector.<Vector3D>  [read-only]

returns a vector of vector3d's representing the transformed profile coordinates at the end of the extrude shape null if "keepExtremes" is false or if the extrusion has not been builded yet.


Implementation
    public function get endProfile():Vector.<Vector3D>
flipproperty 
flip:Boolean

Defines if the generated faces should be inversed. Default false.


Implementation
    public function get flip():Boolean
    public function set flip(value:Boolean):void
geometryproperty 
geometry:Geometry[override]

The geometry used by the mesh that provides it with its shape.


Implementation
    public function get geometry():Geometry
    public function set geometry(value:Geometry):void
keepExtremesproperty 
keepExtremes:Boolean

Defines if the first and last transformed vector3d's of the profile are kept. For instance to be able to pass these coordinates to DelaunayMesh class, to close the extrude, if it was a tube.


Implementation
    public function get keepExtremes():Boolean
    public function set keepExtremes(value:Boolean):void

See also

getStartProfile
getEndProfile
mapFitproperty 
mapFit:Boolean

Defines if the texture(s) should be projected on the geometry evenly spreaded over the source bitmapdata or using distance/percent. Default is false. The mapping considers first and last profile points are the most distant from each other. Most left and most right on the map. Note that it is NOT suitable for most cases. It is helpfull for roads definition, usually seen from above with simple profile. It prevents then distorts and eases map designs.


Implementation
    public function get mapFit():Boolean
    public function set mapFit(value:Boolean):void
materialsproperty 
materials:Vector.<MaterialBase>

An optional Vector.<MaterialBase>. It defines a series of materials to be set on each PathSegment if coverAll is set to false.


Implementation
    public function get materials():Vector.<MaterialBase>
    public function set materials(value:Vector.<MaterialBase>):void
pathproperty 
path:IPath

Defines the Path object representing path to extrude along. Required.


Implementation
    public function get path():IPath
    public function set path(value:IPath):void
profileproperty 
profile:Vector.<Vector3D>

Defines a Vector.<Vector3D> of Vector3D objects representing the profile information to be projected along the Path object. Required.


Implementation
    public function get profile():Vector.<Vector3D>
    public function set profile(value:Vector.<Vector3D>):void
rotationsproperty 
rotations:Vector.<Vector3D>

An optional Vector.<Vector3D> of Vector3D objects that defines a series of rotations to be set on each PathSegment.


Implementation
    public function get rotations():Vector.<Vector3D>
    public function set rotations(value:Vector.<Vector3D>):void
scalesproperty 
scales:Vector.<Vector3D>

An optional Vector.<Vector3D> of Vector3D objects that defines a series of scales to be set on each PathSegment.


Implementation
    public function get scales():Vector.<Vector3D>
    public function set scales(value:Vector.<Vector3D>):void
smoothScaleproperty 
smoothScale:Boolean

Defines if a scaling of a PathSegment defined from the scales array of Vector3D objects should affect the whole PathSegment evenly or be smoothly interpolated from previous PathSegment scale. Defaults to true.


Implementation
    public function get smoothScale():Boolean
    public function set smoothScale(value:Boolean):void
smoothSurfaceproperty 
smoothSurface:Boolean

Defines if the surface of the mesh must be smoothed or not.


Implementation
    public function get smoothSurface():Boolean
    public function set smoothSurface(value:Boolean):void
startProfileproperty 
startProfile:Vector.<Vector3D>  [read-only]

returns a vector of vector3d's representing the transformed profile coordinates at the start of the extrude shape null if "keepExtremes" is false or if the extrusion has not been builded yet.


Implementation
    public function get startProfile():Vector.<Vector3D>
subdivisionproperty 
subdivision:int

Defines the subdivisions created in the mesh for each PathSegment. Defaults to 2, minimum 2.


Implementation
    public function get subdivision():int
    public function set subdivision(value:int):void
subMeshesproperty 
subMeshes:Vector.<SubMesh>  [read-only] [override]

The SubMeshes out of which the Mesh consists. Every SubMesh can be assigned a material to override the Mesh's material.


Implementation
    public function get subMeshes():Vector.<SubMesh>
upAxisproperty 
upAxis:Vector3D


Implementation
    public function get upAxis():Vector3D
    public function set upAxis(value:Vector3D):void
Constructor Detail
PathExtrude()Constructor
public function PathExtrude(material:MaterialBase = null, path:IPath = null, profile:Vector.<Vector3D> = null, subdivision:uint = 2, coverAll:Boolean = true, coverSegment:Boolean = false, alignToPath:Boolean = true, centerMesh:Boolean = false, mapFit:Boolean = false, flip:Boolean = false, closePath:Boolean = false, materials:Vector.<MaterialBase> = null, scales:Vector.<Vector3D> = null, smoothScale:Boolean = true, rotations:Vector.<Vector3D> = null, smoothSurface:Boolean = true, distribute:Boolean = false, distributeU:Boolean = true, keepExtremes:Boolean = false)

Creates a new PathExtrude

Parameters
material:MaterialBase (default = null) — [optional] MaterialBase. The PathExtrude (Mesh) material. Optional in constructor, material must be set before PathExtrude object is rendered. Required for the class to work.
 
path:IPath (default = null) — [optional] Path. Defines the Path object representing path to extrude along. Required for the class to work.
 
profile:Vector.<Vector3D> (default = null) — [optional] Vector.<Vector3D>. Defines an Vector.<Vector3D> of Vector3D objects representing the profile information to be projected along the Path object. Required for the class to work.
 
subdivision:uint (default = 2) — [optional] uint. Howmany steps between each PathSegment. If the path holds curves, the higher this value, the higher the curve fidelity. Default and minimum is 2;
 
coverAll:Boolean (default = true) — [optional] Boolean. Defines the uv mapping, when true a unique material is stretched along the entire path/shape. Default is true.
 
coverSegment:Boolean (default = false) — [optional] Boolean. Defines the uv mapping, when true and coverall is false a unique material is stretched along one PathSegment. Default is false.
 
alignToPath:Boolean (default = true) — [optional] Boolean. If the profile must follow the path or keep its original orientation.
 
centerMesh:Boolean (default = false) — [optional] Boolean. If the geometry needs to be recentered in its own object space. If the position after generation is set to 0,0,0, the object would be centered in worldspace. Default is false.
 
mapFit:Boolean (default = false) — [optional] Boolean. The UV mapping is percentually spreaded over the width of the path, making texture looking nicer and edits for applications such as a race track, road, more easy. Affects the uv's u values and set distributeU to false. Default is false.
 
flip:Boolean (default = false) — [optional] Boolean. If the faces must be reversed depending on Vector3D's orientation. Default is false.
 
closePath:Boolean (default = false) — [optional] Boolean. If the last PathSegment entered must be welded back to first one. Executed in a straight manner, its recommanded to pass the first entry to the Path again, as last entry if curves are involved.
 
materials:Vector.<MaterialBase> (default = null) — [optional] Vector.<MaterialBase>. An optional Vector.<MaterialBase> of different materials that can be alternated along the path if coverAll is false.
 
scales:Vector.<Vector3D> (default = null) — [optional] An optional Vector.<Vector3D> of Vector3D objects that defines a series of scales to be set on each PathSegment.
 
smoothScale:Boolean (default = true) — [optional] Boolean. Defines if the scale must be interpolated between values or keep their full aspect on each PathSegment.
 
rotations:Vector.<Vector3D> (default = null) — [optional] An optional Vector.<Vector3D> of Vector3D objects that defines a series of rotations to be set on each PathSegment.
 
smoothSurface:Boolean (default = true) — [optional] An optional Boolean. Defines if the surface of the mesh must be smoothed or not. Default is true.
 
distribute:Boolean (default = false) — [optional] Boolean. If the mesh subdivision is evenly spreaded over the entire mesh. Depending on path definition, segments are possibly not having the same amount of subdivision.
 
distributeU:Boolean (default = true) — [optional] Boolean. If the mesh uv' u value is procentually spreaded over the entire mesh surface. Prevents the source map to be stretched. Default is true.
 
keepExtremes:Boolean (default = false) — [optional] Boolean. If the the first and last profile coordinates must be kept accessible, in order to feed classes such as DelaunayMesh. Default is false;