Package | away3d.core.base |
Class | public class Geometry |
Inheritance | Geometry flash.events.EventDispatcher |
See also
Property | Defined by | ||
---|---|---|---|
animation : AnimationBase
The AnimationBase object used to animate the geometry.
| Geometry | ||
subGeometries : Vector [read-only]
A collection of SubGeometry objects, each of which contain geometrical data such as vertices, normals, etc.
| Geometry |
Method | Defined by | ||
---|---|---|---|
Geometry
()
Creates a new Geometry object.
| Geometry | ||
Adds a new SubGeometry object to the list.
| Geometry | ||
Clones the geometry.
| Geometry | ||
dispose():void
Clears all resources used by the Geometry object, including SubGeometries.
| Geometry | ||
Removes a new SubGeometry object from the list.
| Geometry | ||
scale(scale:Number):void
Scales the geometry.
| Geometry | ||
scaleUV(scale:Number):void
Scales the uv coordinates.
| Geometry |
_animation | property |
arcane var _animation:AnimationBase
animation | property |
animation:AnimationBase
[read-write]The AnimationBase object used to animate the geometry.
Implementation public function get animation():AnimationBase
public function set animation(value:AnimationBase):void
subGeometries | property |
subGeometries:Vector
[read-only]A collection of SubGeometry objects, each of which contain geometrical data such as vertices, normals, etc.
Implementation public function get subGeometries():Vector
Geometry | () | constructor |
public function Geometry()
Init Parameters
addSubGeometry | () | method |
public function addSubGeometry(subGeometry:SubGeometry):void
Adds a new SubGeometry object to the list.
ParameterssubGeometry:SubGeometry — The SubGeometry object to be added.
|
clone | () | method |
public function clone():Geometry
Clones the geometry.
ReturnsGeometry —
An exact duplicate of the current Geometry object.
|
dispose | () | method |
public function dispose():void
Clears all resources used by the Geometry object, including SubGeometries.
removeSubGeometry | () | method |
public function removeSubGeometry(subGeometry:SubGeometry):void
Removes a new SubGeometry object from the list.
ParameterssubGeometry:SubGeometry — The SubGeometry object to be removed.
todo: consider signals instead of events?
|
scale | () | method |
public function scale(scale:Number):void
Scales the geometry.
Parametersscale:Number — The amount by which to scale.
|
scaleUV | () | method |
public function scaleUV(scale:Number):void
Scales the uv coordinates.
Parametersscale:Number — The amount by which to scale.
|