Packagecom.gestureworks.cml.away3d.geometries
Classpublic class CylinderGeometry
InheritanceCylinderGeometry Inheritance away3d.primitives.CylinderGeometry
Implements com.gestureworks.cml.interfaces.IObject, com.gestureworks.cml.interfaces.ICSS, com.gestureworks.cml.interfaces.IState, IGeometry

This class creates cylinder geometry that can be applied to a Mesh. It extends the Away3D CylinderGeometry class to add CML support.



Public Properties
 PropertyDefined By
  childList : ChildList
CylinderGeometry
  className : String
CylinderGeometry
  cmlIndex : int
CylinderGeometry
  state : Dictionary
CylinderGeometry
  stateId : *
CylinderGeometry
Public Methods
 MethodDefined By
  
CylinderGeometry(topRadius:Number = 50, bottomRadius:Number = 50, height:Number = 100, segmentsW:uint = 16, segmentsH:uint = 1, topClosed:Boolean = true, bottomClosed:Boolean = true, surfaceClosed:Boolean = true, yUp:Boolean = true)
CylinderGeometry
  
dispose():void
[override]
CylinderGeometry
  
init():void
CylinderGeometry
  
loadState(sId:* = null, recursion:Boolean = false):void
CylinderGeometry
  
parseCML(cml:XMLList):XMLList
CylinderGeometry
  
postparseCML(cml:XMLList):void
CylinderGeometry
  
saveState(sId:* = null, recursion:Boolean = false):void
CylinderGeometry
  
tweenState(sId:* = null, tweenTime:Number = 1):void
CylinderGeometry
  
updateProperties(state:* = 0):void
CylinderGeometry
Property Detail
childListproperty
childList:ChildList


Implementation
    public function get childList():ChildList
    public function set childList(value:ChildList):void
classNameproperty 
className:String


Implementation
    public function get className():String
    public function set className(value:String):void
cmlIndexproperty 
cmlIndex:int


Implementation
    public function get cmlIndex():int
    public function set cmlIndex(value:int):void
stateproperty 
public var state:Dictionary

stateIdproperty 
stateId:*


Implementation
    public function get stateId():*
    public function set stateId(value:any):void
Constructor Detail
CylinderGeometry()Constructor
public function CylinderGeometry(topRadius:Number = 50, bottomRadius:Number = 50, height:Number = 100, segmentsW:uint = 16, segmentsH:uint = 1, topClosed:Boolean = true, bottomClosed:Boolean = true, surfaceClosed:Boolean = true, yUp:Boolean = true)

Parameters
topRadius:Number (default = 50)
 
bottomRadius:Number (default = 50)
 
height:Number (default = 100)
 
segmentsW:uint (default = 16)
 
segmentsH:uint (default = 1)
 
topClosed:Boolean (default = true)
 
bottomClosed:Boolean (default = true)
 
surfaceClosed:Boolean (default = true)
 
yUp:Boolean (default = true)
Method Detail
dispose()method
override public function dispose():void

init()method 
public function init():void

loadState()method 
public function loadState(sId:* = null, recursion:Boolean = false):void

Parameters

sId:* (default = null)
 
recursion:Boolean (default = false)

parseCML()method 
public function parseCML(cml:XMLList):XMLList

Parameters

cml:XMLList

Returns
XMLList
postparseCML()method 
public function postparseCML(cml:XMLList):void

Parameters

cml:XMLList

saveState()method 
public function saveState(sId:* = null, recursion:Boolean = false):void

Parameters

sId:* (default = null)
 
recursion:Boolean (default = false)

tweenState()method 
public function tweenState(sId:* = null, tweenTime:Number = 1):void

Parameters

sId:* (default = null)
 
tweenTime:Number (default = 1)

updateProperties()method 
public function updateProperties(state:* = 0):void

Parameters

state:* (default = 0)