Packageaway3d.core.base
Classpublic class VertexPosition

Vertex position value object.

Public Properties
 PropertyDefined by
  vertex : Vertex
VertexPosition
  x : Number
Defines the x coordinate.
VertexPosition
  y : Number
Defines the y coordinate.
VertexPosition
  z : Number
Defines the z coordinate.
VertexPosition
Public Methods
 MethodDefined by
  
Creates a new VertexPosition object.
VertexPosition
  
adjust(k:Number = 1):void
Adjusts the position of the vertex object incrementally.
VertexPosition
Property detail
vertexproperty
public var vertex:Vertex
xproperty 
public var x:Number

Defines the x coordinate.

yproperty 
public var y:Number

Defines the y coordinate.

zproperty 
public var z:Number

Defines the z coordinate.

Constructor detail
VertexPosition()constructor
public function VertexPosition(vertex:Vertex)Parameters
vertex:Vertex — The vertex object used to define the default x, y and z values.
####INIT####
Method detail
adjust()method
public function adjust(k:Number = 1):void

Adjusts the position of the vertex object incrementally.

Parameters
k:Number (default = 1) — The fraction by which to adjust the vertex values.
Wiki link
Click to go to the wiki page for ####WIKI####

Code examples

Comments