Packageaway3d.core.base
Classpublic class Frame
ImplementsIFrame

Holds vertexposition information about a single animation frame.

Public Properties
 PropertyDefined by
  vertexpositions : Array
An array of vertex position objects.
Frame
Public Methods
 MethodDefined by
  
Frame
()
Creates a new Frame object.
Frame
  
adjust(k:Number = 1):void
Adjusts the position of all vertex objects in the frame incrementally.
Frame
  
getIndexes(vertices:Array):Array
Frame
Property detail
vertexpositionsproperty
public var vertexpositions:Array

An array of vertex position objects.

Constructor detail
Frame()constructor
public function Frame() Init Parameters
Method detail
adjust()method
public function adjust(k:Number = 1):void

Adjusts the position of all vertex objects in the frame incrementally.

Parameters
k:Number (default = 1) — The fraction by which to adjust the vertex values.
getIndexes()method 
public function getIndexes(vertices:Array):Array Parameters
vertices:Array

Returns
Array
Wiki link
Click to go to the wiki page for 'away3d.core.base.Frame'

Code examples

Comments