| Package | alternativa.engine3d.loaders |
| Class | public class Parser |
| Inheritance | Parser Object |
| Subclasses | Parser3DS, ParserA3D, ParserCollada |
| Property | Defined By | ||
|---|---|---|---|
| animations : Vector.<AnimationClip>
Array of animations. | Parser | ||
| hierarchy : Vector.<Object3D>
List of root objects. | Parser | ||
| materials : Vector.<ParserMaterial>
List of all materials assigned to objects, that are got after parsing. | Parser | ||
| objects : Vector.<Object3D>
List of objects, that are got after parsing. | Parser | ||
| Method | Defined By | ||
|---|---|---|---|
clean():void
Erases all links to external objects. | Parser | ||
getLayerByObject(object:Object3D):String
Returns name of layer for specified object. | Parser | ||
getObjectByName(name:String):Object3D
Returns object from array objects by name. | Parser | ||
| Method | Defined By | ||
|---|---|---|---|
complete(a3d:Object):void | Parser | ||
| animations | property |
public var animations:Vector.<AnimationClip>Array of animations.
| compressedBuffers | property |
alternativa3d var compressedBuffers:Boolean = false| hierarchy | property |
public var hierarchy:Vector.<Object3D>List of root objects. Root objects are objects, that have no parents.
See also
| layers | property |
alternativa3d var layers:Vector.<String>| materials | property |
public var materials:Vector.<ParserMaterial>List of all materials assigned to objects, that are got after parsing.
See also
| objects | property |
| clean | () | method |
public function clean():voidErases all links to external objects.
| complete | () | method |
protected function complete(a3d:Object):voidParameters
a3d:Object |
| getLayerByObject | () | method |
public function getLayerByObject(object:Object3D):StringReturns name of layer for specified object.
Parameters
object:Object3D |
String |
| getObjectByName | () | method |
public function getObjectByName(name:String):Object3D
Returns object from array objects by name.
Parameters
name:String |
Object3D |
| traceGeometry | () | method |