Package | away3dlite.loaders |
Class | public class Collada |
Inheritance | Collada ![]() ![]() |
Property | Defined by | ||
---|---|---|---|
centerMeshes : Boolean
Controls the automatic centering of geometry data in the model, improving culling and the accuracy of bounding dimension values.
| Collada | ||
![]() | container : Object3D
Retuns a 3d container object used for storing the parsed 3d object.
| AbstractParser | |
containerData : ContainerData
Container data object used for storing the parsed collada data structure.
| Collada | ||
![]() | geometryLibrary : GeometryLibrary
Retuns a geometryLibrary object used for storing the parsed geometry data.
| AbstractParser | |
![]() | material : Material
Overrides all materials in the model.
| AbstractParser | |
![]() | materialLibrary : MaterialLibrary
Retuns a materialLibrary object used for storing the parsed material objects.
| AbstractParser | |
![]() | materials : Object
Overides materials in the model using name:value pairs.
| AbstractParser | |
![]() | parsedChunks : int
Returns the total number of data chunks parsed
| AbstractParser | |
![]() | parseTimeout : int = 40000
Defines a timeout period for file parsing (in milliseconds).
| AbstractParser | |
scaling : Number
A scaling factor for all geometry in the model.
| Collada | ||
shading : Boolean
Controls the use of shading materials when color textures are encountered.
| Collada | ||
![]() | totalChunks : int
Returns the total number of data chunks available
| AbstractParser |
Method | Defined by | ||
---|---|---|---|
Collada
()
Creates a new
Collada object. | Collada | ||
![]() |
addOnError(listener:Function):void
Default method for adding a parseError event listener
| AbstractParser | |
![]() |
addOnProgress(listener:Function):void
Default method for adding a parseProgress event listener
| AbstractParser | |
![]() |
addOnSuccess(listener:Function):void
Default method for adding a parseSuccess event listener
| AbstractParser | |
array2matrix(ar:Array, yUp:Boolean, scaling:Number):Vector
Fills the 3d matrix object with values from an array with 3d matrix values
ordered from right to left and up to down.
| Collada | ||
![]() |
Parses 3d file data.
| AbstractParser | |
![]() |
removeOnError(listener:Function):void
Default method for removing a parseError event listener
| AbstractParser | |
![]() |
removeOnProgress(listener:Function):void
Default method for removing a parseProgress event listener
| AbstractParser | |
![]() |
removeOnSuccess(listener:Function):void
Default method for removing a parseSuccess event listener
| AbstractParser |
centerMeshes | property |
public var centerMeshes:Boolean
Controls the automatic centering of geometry data in the model, improving culling and the accuracy of bounding dimension values. Defaults to false.
containerData | property |
public var containerData:ContainerData
Container data object used for storing the parsed collada data structure.
scaling | property |
public var scaling:Number
A scaling factor for all geometry in the model. Defaults to 1.
shading | property |
public var shading:Boolean
Controls the use of shading materials when color textures are encountered. Defaults to false.
Collada | () | constructor |
public function Collada()
Init Parameters
array2matrix | () | method |
public function array2matrix(ar:Array, yUp:Boolean, scaling:Number):Vector
Fills the 3d matrix object with values from an array with 3d matrix values ordered from right to left and up to down.
Parametersar:Array |
|
yUp:Boolean |
|
scaling:Number |
Vector |