Package | away3d.primitives |
Class | public class WireframeSphere |
Inheritance | WireframeSphere ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Method | Defined By | ||
---|---|---|---|
WireframeSphere(radius:Number = 50, segmentsW:uint = 16, segmentsH:uint = 12, color:uint = 0xFFFFFF, thickness:Number = 1)
Creates a new WireframeSphere object. | WireframeSphere | ||
![]() | activateSecondaryUVBuffer(index:int, stage3DProxy:Stage3DProxy):void | SegmentSet | |
![]() | activateUVBuffer(index:int, stage3DProxy:Stage3DProxy):void | SegmentSet | |
![]() | activateVertexBuffer(index:int, stage3DProxy:Stage3DProxy):void | SegmentSet | |
![]() | activateVertexNormalBuffer(index:int, stage3DProxy:Stage3DProxy):void | SegmentSet | |
![]() | activateVertexTangentBuffer(index:int, stage3DProxy:Stage3DProxy):void | SegmentSet | |
![]() |
Adds a child ObjectContainer3D to the current object. | ObjectContainer3D | |
![]() | addChildren(... childarray):void
Adds an array of 3d objects to the scene as children of the container
| ObjectContainer3D | |
![]() | addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void [override] | ObjectContainer3D | |
![]() | addSegment(segment:Segment):void | SegmentSet | |
![]() | assetPathEquals(name:String, ns:String):Boolean | NamedAssetBase | |
![]() | [override]
Clones this ObjectContainer3D instance along with all it's children, and
returns the result (which will be a copy of this container, containing copies
of all it's children.)
| ObjectContainer3D | |
![]() | contains(child:ObjectContainer3D):Boolean | ObjectContainer3D | |
![]() | dispatchEvent(event:Event):Boolean [override]
| ObjectContainer3D | |
![]() | dispose():void [override] | SegmentSet | |
![]() | disposeAsset():void | Object3D | |
![]() | getChildAt(index:uint):ObjectContainer3D
Retrieves the child object at the given index. | ObjectContainer3D | |
![]() |
Gets a concrete EntityPartition3DNode subclass that is associated with this Entity instance
| Entity | |
![]() | getIndexBuffer(stage3DProxy:Stage3DProxy):IndexBuffer3D | SegmentSet | |
![]() | getSegment(index:uint):Segment | SegmentSet | |
![]() | lookAt(target:Vector3D, upAxis:Vector3D = null):void [override]
Rotates the 3d object around to face a point defined relative to the local coordinates of the parent ObjectContainer3D. | ObjectContainer3D | |
![]() | moveBackward(distance:Number):void
Moves the 3d object backwards along it's local z axis
| Object3D | |
![]() | moveDown(distance:Number):void
Moves the 3d object backwards along it's local y axis
| Object3D | |
![]() | moveForward(distance:Number):void
Moves the 3d object forwards along it's local z axis
| Object3D | |
![]() | moveLeft(distance:Number):void
Moves the 3d object backwards along it's local x axis
| Object3D | |
![]() | movePivot(dx:Number, dy:Number, dz:Number):void
Moves the local point around which the object rotates. | Object3D | |
![]() | moveRight(distance:Number):void
Moves the 3d object forwards along it's local x axis
| Object3D | |
![]() | moveTo(dx:Number, dy:Number, dz:Number):void
Moves the 3d object directly to a point in space
| Object3D | |
![]() | moveUp(distance:Number):void
Moves the 3d object forwards along it's local y axis
| Object3D | |
![]() | pitch(angle:Number):void
Rotates the 3d object around it's local x-axis
| Object3D | |
![]() | popModelViewProjection():void
Removes a model view projection matrix from the stack, used when leaving a render. | Entity | |
![]() | pushModelViewProjection(camera:Camera3D, updateZIndex:Boolean = true):void [override] | WireframePrimitiveBase | |
![]() | removeAllSegments():void [override] | WireframePrimitiveBase | |
![]() | removeChild(child:ObjectContainer3D):void
Removes a 3d object from the child array of the container
| ObjectContainer3D | |
![]() | removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void [override] | ObjectContainer3D | |
![]() | removeSegment(segment:Segment):void | SegmentSet | |
![]() | resetAssetPath(name:String, ns:String = null, overrideOriginal:Boolean = true):void | NamedAssetBase | |
![]() | roll(angle:Number):void
Rotates the 3d object around it's local z-axis
| Object3D | |
![]() | rotate(axis:Vector3D, angle:Number):void [override] | ObjectContainer3D | |
![]() | rotateTo(ax:Number, ay:Number, az:Number):void
Rotates the 3d object directly to a euler angle
| Object3D | |
![]() | scale(value:Number):void
Appends a uniform scale to the current transformation. | Object3D | |
![]() | translate(axis:Vector3D, distance:Number):void
Moves the 3d object along a vector by a defined length
| Object3D | |
![]() | translateLocal(axis:Vector3D, distance:Number):void [override] | ObjectContainer3D | |
![]() | updateImplicitVisibility():void | ObjectContainer3D | |
![]() | yaw(angle:Number):void
Rotates the 3d object around it's local y-axis
| Object3D |
Method | Defined By | ||
---|---|---|---|
buildGeometry():void [override]
| WireframeSphere | ||
![]() | [override] | SegmentSet | |
![]() | [override] | SegmentSet | |
![]() | invalidateBounds():void
Invalidates the bounding volume, causing to be updated when requested. | Entity | |
![]() | invalidateGeometry():void | WireframePrimitiveBase | |
![]() | invalidateSceneTransform():void [override]
Invalidates the scene transformation matrix, causing it to be updated the next time it's requested. | Entity | |
![]() | updateBounds():void [override] | SegmentSet | |
![]() | updateMouseChildren():void [override] | WireframePrimitiveBase | |
![]() | updateOrAddSegment(index:uint, v0:Vector3D, v1:Vector3D):void | WireframePrimitiveBase | |
![]() | updateSceneTransform():void
Updates the scene transformation matrix. | ObjectContainer3D | |
![]() | updateTransform():void | Object3D |
WireframeSphere | () | Constructor |
public function WireframeSphere(radius:Number = 50, segmentsW:uint = 16, segmentsH:uint = 12, color:uint = 0xFFFFFF, thickness:Number = 1)
Creates a new WireframeSphere object.
Parametersradius:Number (default = 50 ) — The radius of the sphere.
| |
segmentsW:uint (default = 16 ) — Defines the number of horizontal segments that make up the sphere.
| |
segmentsH:uint (default = 12 ) — Defines the number of vertical segments that make up the sphere.
| |
color:uint (default = 0xFFFFFF ) — The colour of the wireframe lines
| |
thickness:Number (default = 1 ) — The thickness of the wireframe lines
|
buildGeometry | () | method |
override protected function buildGeometry():void