| Package | com.rockonflash.papervision3d.objects |
| Class | public class GenericColladaObject |
| Inheritance | GenericColladaObject GenericObject flash.events.EventDispatcher |
| Method | Defined by | ||
|---|---|---|---|
|
GenericColladaObject(p_id:String, p_scene:SceneObject3D, p_matsList:MaterialsList, p_filename:String, p_scale:Number = 1, initObject:Object = null)
The constructor takes care of setting the necessary properties and then loading the collada file
| GenericColladaObject | ||
![]() |
getID():String
String friendly identifier
| GenericObject | |
![]() |
DisplayObject3D Reference to the actual rendered object
| GenericObject | |
![]() |
setID(p_id:String):void
sets the friendly identifier
| GenericObject | |
| GenericColladaObject | () | constructor |
public function GenericColladaObject(p_id:String, p_scene:SceneObject3D, p_matsList:MaterialsList, p_filename:String, p_scale:Number = 1, initObject:Object = null)The constructor takes care of setting the necessary properties and then loading the collada file
Parametersp_id:String — riend name of the collada object
|
|
p_scene:SceneObject3D — where the collada scene is rendered
|
|
p_matsList:MaterialsList — MaterialsList for the collada scene
|
|
p_filename:String — file location of the DAE file
|
|
p_scale:Number (default = 1) — initial scale of the scene
|
|
initObject:Object (default = null) — extra info to be included with the collada object
|