Packageaway3d.core.utils
Classpublic class Init

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
  
getNumber3D(name:String):Number3D
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):Number3D
Init
  
getString(name:String, def:String):String
Init
  
parse(init:Object):Init
[static]
Init
Constructor detail
Init()constructor
public function Init(init:Object)Parameters
init:Object
Init Parameters
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
getNumber3D()method 
public function getNumber3D(name:String):Number3D Parameters
name:String

Returns
Number3D
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):Number3D Parameters
name:String

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

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

Returns
Init
removeFromCheck()method 
arcane function removeFromCheck():void
Wiki link
Click to go to the wiki page for 'away3d.core.utils.Init'

Code examples

Comments