Package | com.gestureworks.cml.away3d.geometries |
Class | public class ConeGeometry |
Inheritance | ConeGeometry ![]() |
Implements | com.gestureworks.cml.interfaces.IObject, com.gestureworks.cml.interfaces.ICSS, com.gestureworks.cml.interfaces.IState, IGeometry |
Property | Defined By | ||
---|---|---|---|
childList : ChildList
Sets cml childlist
| ConeGeometry | ||
className : String
sets the class name of displayobject
| ConeGeometry | ||
cmlIndex : int
Sets the cml index
| ConeGeometry | ||
state : Dictionary
Property states
| ConeGeometry | ||
stateId : *
Sets the state id
| ConeGeometry |
Method | Defined By | ||
---|---|---|---|
ConeGeometry(radius:Number = 50, height:Number = 100, segmentsW:uint = 16, segmentsH:uint = 15, yUp:Boolean = true) | ConeGeometry | ||
dispose():void [override]
Destructor
| ConeGeometry | ||
init():void
CML initialization
| ConeGeometry | ||
loadState(sId:* = null, recursion:Boolean = false):void
Loads state by index number. | ConeGeometry | ||
parseCML(cml:XMLList):XMLList
Custom CML parse routine
| ConeGeometry | ||
postparseCML(cml:XMLList):void
Postparse method
| ConeGeometry | ||
saveState(sId:* = null, recursion:Boolean = false):void
Save state by index number. | ConeGeometry | ||
tweenState(sId:* = null, tweenTime:Number = 1):void
Tween state by stateIndex from current to given state index. | ConeGeometry | ||
updateProperties(state:* = 0):void
Update properties of child
| ConeGeometry |
childList | property |
childList:ChildList
Sets cml childlist
public function get childList():ChildList
public function set childList(value:ChildList):void
className | property |
className:String
sets the class name of displayobject
public function get className():String
public function set className(value:String):void
cmlIndex | property |
cmlIndex:int
Sets the cml index
public function get cmlIndex():int
public function set cmlIndex(value:int):void
state | property |
public var state:Dictionary
Property states
stateId | property |
stateId:*
Sets the state id
public function get stateId():*
public function set stateId(value:any):void
ConeGeometry | () | Constructor |
public function ConeGeometry(radius:Number = 50, height:Number = 100, segmentsW:uint = 16, segmentsH:uint = 15, yUp:Boolean = true)
radius:Number (default = 50 )
| |
height:Number (default = 100 )
| |
segmentsW:uint (default = 16 )
| |
segmentsH:uint (default = 15 )
| |
yUp:Boolean (default = true )
|
dispose | () | method |
override public function dispose():void
Destructor
init | () | method |
public function init():void
CML initialization
loadState | () | method |
public function loadState(sId:* = null, recursion:Boolean = false):void
Loads state by index number. If the first parameter is NaN, the current state will be saved.
Parameters
sId:* (default = null ) — State index to be loaded.
| |
recursion:Boolean (default = false ) — If true the state will load recursively through the display list starting at the current display ojbect.
|
parseCML | () | method |
public function parseCML(cml:XMLList):XMLList
Custom CML parse routine
Parameters
cml:XMLList |
XMLList —
|
postparseCML | () | method |
public function postparseCML(cml:XMLList):void
Postparse method
Parameters
cml:XMLList |
saveState | () | method |
public function saveState(sId:* = null, recursion:Boolean = false):void
Save state by index number. If the first parameter is NaN, the current state will be saved.
Parameters
sId:* (default = null ) — State index to save.
| |
recursion:Boolean (default = false ) — If true the state will save recursively through the display list starting at the current display ojbect.
|
tweenState | () | method |
public function tweenState(sId:* = null, tweenTime:Number = 1):void
Tween state by stateIndex from current to given state index. If the first parameter is null, the current state will be used.
Parameters
sId:* (default = null ) — State index to tween.
| |
tweenTime:Number (default = 1 ) — Duration of tween
|
updateProperties | () | method |
public function updateProperties(state:* = 0):void
Update properties of child
Parameters
state:* (default = 0 )
|