| Package | com.somerandomdude.coordy.layouts.threedee |
| Class | public class Wave3d |
| Inheritance | Wave3d Layout3d Layout flash.events.EventDispatcher |
| Implements | ILayout3d |
| Property | Defined by | ||
|---|---|---|---|
| alignAngleOffset : Number
The additional angle offset of each node from it's original path-aligned angle (in degrees)
| Wave3d | ||
| alignType : String
The type of path alignment each node executes (parallel or perpendicular)
| Wave3d | ||
![]() | depth : Number
Mutator/accessor for layout depth property
| Layout3d | |
| depthMultiplier : Number
Accessor for depthMultiplier property
| Wave3d | ||
| frequency : Number
Accessor for frequency property
| Wave3d | ||
![]() | height : Number
Mutator/accessor for layout height property
| Layout3d | |
| heightMultiplier : Number
Accessor for heightMultiplier property
| Wave3d | ||
![]() | jitterX : Number
Mutator/accessor for the jitterX property.
| Layout3d | |
![]() | jitterY : Number
Mutator/accessor for the jitterY property.
| Layout3d | |
![]() | jitterZ : Number
Mutator/accessor for the jitterZ property.
| Layout3d | |
![]() | nodes : Array
Returns an array of node objects
| Layout | |
![]() | proxyUpdater : IProxyUpdater
Sets a proxy update method for altering layouts as opposed to internal update methods
such as update(), render() or updateAndRender()
This allows more customization for the updating sequence.
| Layout3d | |
![]() | rotation : Number
Accessor for rotation property
| Layout3d | |
![]() | size : int
Returns the number of nodes currently stored and managed
| Layout | |
![]() | updateMethod : String
Specifies whether layout properties (x, y, width, height, etc.) adjust the layout
automatically without calling apply() method.
| Layout3d | |
| waveFunctionY : String
Mutator/accessor for waveFunctionY property
| Wave3d | ||
| waveFunctionZ : String
Mutator/accessor for waveFunctionZ property
| Wave3d | ||
![]() | width : Number
Mutator/accessor for layout width property
| Layout3d | |
![]() | x : Number
Mutator/accessor for layout x property
| Layout3d | |
![]() | y : Number
Mutator/accessor for layout y property
| Layout3d | |
![]() | z : Number
Mutator/accessor for layout z property
| Layout3d | |
| Method | Defined by | ||
|---|---|---|---|
|
Wave3d(width:Number, height:Number, depth:Number, x:Number = 0, y:Number = 0, z:Number = 0, frequency:Number = 1, waveFunctionY:String, waveFunctionZ:String, jitterX:Number = 0, jitterY:Number = 0, jitterZ:Number = 0, alignType:String, alignOffset:Number = 0)
Distributes nodes in a 3d wave.
| Wave3d | ||
![]() |
addLinkAt(object:Object, index:uint):void
Adds a link between the specified display object to the node object at the specified index
| Layout | |
|
Adds object to layout in next available position.
| Wave3d | ||
![]() |
addNodes(count:int):void
Adds a specified number of empty nodes to the layout
| Layout | |
|
addToLayout(object:Object, moveToCoordinates:Boolean = true):INode
Adds object to layout in next available position This method is depreceated.
| Wave3d | ||
|
Clones the current object's properties (does not include links to DisplayObjects)
| Wave3d | ||
![]() |
executeUpdateMethod():void
Performs the update method defined by the updateMethod property.
| Layout3d | |
![]() |
Returns node object at specified index of collection
| Layout | |
![]() |
getNodeByLink(link:Object):INode
Returns node object by specified display object
| Layout | |
![]() |
getNodeIndex(node:INode):uint
Returns specified node object's index in the collection
| Layout | |
![]() |
linkExists(link:Object):Boolean
Returns true if a link (DisplayObject owned by a layout's node) exists in the layout
| Layout | |
![]() |
removeAllNodes():void
Removes all nodes from the layout
| Layout | |
![]() |
removeLinkAt(index:uint):void
Removed the link between the node and display object at the specified index
| Layout | |
![]() |
removeLinks():void
Removes all links between nodes and display objects
| Layout | |
![]() |
removeNode(node:INode):void
Removes specified cell and its link from layout organizer and adjusts layout appropriately
| Layout3d | |
![]() |
removeNodeByLink(link:Object):void
Removes the node that is linked to the specified object
| Layout | |
|
render():void
Applies all layout property values to all cells/display objects in the collection
| Wave3d | ||
![]() |
renderNode(node:INode3d):void
Renders all layout property values of a specified node
| Layout3d | |
![]() |
Swaps links of two node objects
| Layout | |
![]() |
toJSON():String
Serializes the layout data of each node as a JSON string.
| Layout | |
|
toString():String
Returns the type of layout in a string format
| Wave3d | ||
![]() |
toXML():XML
Generates XML for the layout's properties.
| Layout | |
|
update():void
Updates the nodes' virtual coordinates.
| Wave3d | ||
![]() |
updateAndRender():void
Performs an update on all the nodes' positions and renders each node's corresponding link
| Layout3d | |
| alignAngleOffset | property |
alignAngleOffset:Number [read-write]The additional angle offset of each node from it's original path-aligned angle (in degrees)
Implementation public function get alignAngleOffset():Number
public function set alignAngleOffset(value:Number):void
| alignType | property |
alignType:String [read-write]The type of path alignment each node executes (parallel or perpendicular)
Implementation public function get alignType():String
public function set alignType(value:String):void
See also
| depthMultiplier | property |
depthMultiplier:Number [read-write]Accessor for depthMultiplier property
Implementation public function get depthMultiplier():Number
public function set depthMultiplier(value:Number):void
| frequency | property |
frequency:Number [read-write]Accessor for frequency property
Implementation public function get frequency():Number
public function set frequency(value:Number):void
| heightMultiplier | property |
heightMultiplier:Number [read-write]Accessor for heightMultiplier property
Implementation public function get heightMultiplier():Number
public function set heightMultiplier(value:Number):void
| waveFunctionY | property |
waveFunctionY:String [read-write]Mutator/accessor for waveFunctionY property
Implementation public function get waveFunctionY():String
public function set waveFunctionY(value:String):void
| waveFunctionZ | property |
waveFunctionZ:String [read-write]Mutator/accessor for waveFunctionZ property
Implementation public function get waveFunctionZ():String
public function set waveFunctionZ(value:String):void
| Wave3d | () | constructor |
public function Wave3d(width:Number, height:Number, depth:Number, x:Number = 0, y:Number = 0, z:Number = 0, frequency:Number = 1, waveFunctionY:String, waveFunctionZ:String, jitterX:Number = 0, jitterY:Number = 0, jitterZ:Number = 0, alignType:String, alignOffset:Number = 0)Distributes nodes in a 3d wave.
Parameterswidth:Number — Width of the wave
|
|
height:Number — Height of the wave
|
|
depth:Number — Depth of the wave
|
|
x:Number (default = 0) — x position of the wave
|
|
y:Number (default = 0) — y position of the wave
|
|
z:Number (default = 0) — z position of the wave
|
|
frequency:Number (default = 1) — Frequency of the wave
|
|
waveFunctionY:String — Wave function (sin,cos,tan,etc.) applied along the y-axis
|
|
waveFunctionZ:String — Wave function (sin,cos,tan,etc.) applied along the z-axis
|
|
jitterX:Number (default = 0) — Jitter multiplier for the layout's nodes on the x axis
|
|
jitterY:Number (default = 0) — Jitter multiplier for the layout's nodes on the y axis
|
|
jitterZ:Number (default = 0) — Jitter multiplier for the layout's nodes on the z axis
|
|
alignType:String |
|
alignOffset:Number (default = 0) |
| addNode | () | method |
public override function addNode(object:Object = null, moveToCoordinates:Boolean = true):INodeAdds object to layout in next available position.
Parametersobject:Object (default = null) — object Object to add to layout
|
|
moveToCoordinates:Boolean (default = true) — moveToCoordinates automatically move DisplayObject to corresponding nodes's coordinates
|
INode —
newly created node object containing a link to the object
|
| addToLayout | () | method |
public override function addToLayout(object:Object, moveToCoordinates:Boolean = true):INodeAdds object to layout in next available position This method is depreceated.
Parametersobject:Object — object Object to add to layout
|
|
moveToCoordinates:Boolean (default = true) — moveToCoordinates automatically move DisplayObject to corresponding node's coordinates
|
INode —
newly created node object containing a link to the object
|
| clone | () | method |
public override function clone():ILayout3dClones the current object's properties (does not include links to DisplayObjects)
ReturnsILayout3d —
Wave3d clone of object
|
| render | () | method |
public override function render():voidApplies all layout property values to all cells/display objects in the collection
| toString | () | method |
public override function toString():StringReturns the type of layout in a string format
ReturnsString — Layout's type
|
See also
| update | () | method |
public override function update():voidUpdates the nodes' virtual coordinates. Note - this method does not update the actual objects linked to the layout.