Packageaway3d.core.utils
Classpublic class Init
InheritanceInit Inheritance Object

Convinient object initialization support



Public Methods
 MethodDefined By
  
Init(init:Object)
Init
  
getArray(name:String):Array
Init
  
getBitmap(name:String):BitmapData
Init
  
getBoolean(name:String, def:Boolean):Boolean
Init
  
getColor(name:String, def:uint):uint
Init
  
Init
  
getInit(name:String):Init
Init
  
getInt(name:String, def:int, bounds:Object = null):int
Init
  
getMaterial(name:String):Material
Init
  
getNumber(name:String, def:Number, bounds:Object = null):Number
Init
  
getObject(name:String, type:Class = null):Object
Init
  
getObject3D(name:String):Object3D
Init
  
getObjectOrInit(name:String, type:Class = null):Object
Init
  
getPosition(name:String):Vector3D
Init
  
getString(name:String, def:String):String
Init
  
getVector3D(name:String):Vector3D
Init
  
parse(init:Object):Init
[static]
Init
Constructor Detail
Init()Constructor
public function Init(init:Object)



Parameters
init:Object
####INIT####
Method Detail
addForCheck()method
arcane function addForCheck():void

checkUnusedArguments()method 
arcane static function checkUnusedArguments():void

getArray()method 
public function getArray(name:String):Array

Parameters

name:String

Returns
Array
getBitmap()method 
public function getBitmap(name:String):BitmapData

Parameters

name:String

Returns
BitmapData
getBoolean()method 
public function getBoolean(name:String, def:Boolean):Boolean

Parameters

name:String
 
def:Boolean

Returns
Boolean
getColor()method 
public function getColor(name:String, def:uint):uint

Parameters

name:String
 
def:uint

Returns
uint
getCubeMaterials()method 
public function getCubeMaterials(name:String):CubeMaterialsData

Parameters

name:String

Returns
CubeMaterialsData
getInit()method 
public function getInit(name:String):Init

Parameters

name:String

Returns
Init
getInt()method 
public function getInt(name:String, def:int, bounds:Object = null):int

Parameters

name:String
 
def:int
 
bounds:Object (default = null)

Returns
int
getMaterial()method 
public function getMaterial(name:String):Material

Parameters

name:String

Returns
Material
getNumber()method 
public function getNumber(name:String, def:Number, bounds:Object = null):Number

Parameters

name:String
 
def:Number
 
bounds:Object (default = null)

Returns
Number
getObject()method 
public function getObject(name:String, type:Class = null):Object

Parameters

name:String
 
type:Class (default = null)

Returns
Object
getObject3D()method 
public function getObject3D(name:String):Object3D

Parameters

name:String

Returns
Object3D
getObjectOrInit()method 
public function getObjectOrInit(name:String, type:Class = null):Object

Parameters

name:String
 
type:Class (default = null)

Returns
Object
getPosition()method 
public function getPosition(name:String):Vector3D

Parameters

name:String

Returns
Vector3D
getString()method 
public function getString(name:String, def:String):String

Parameters

name:String
 
def:String

Returns
String
getVector3D()method 
public function getVector3D(name:String):Vector3D

Parameters

name:String

Returns
Vector3D
parse()method 
public static function parse(init:Object):Init

Parameters

init:Object

Returns
Init
removeFromCheck()method 
arcane function removeFromCheck():void