Package | away3dlite.primitives |
Class | public class Trident |
Inheritance | Trident ObjectContainer3D Mesh Object3D flash.display.Sprite |
Method | Defined by | ||
---|---|---|---|
Trident
(radius:int = 500, hasNegativeTrident:Boolean = false)
Creates a new
Trident object. | Trident | ||
addChild(child:DisplayObject):DisplayObject
Adds a 3d object to the scene as a child of the container.
| ObjectContainer3D | ||
addFace(vs:Vector, uvs:Vector):void
| Mesh | ||
Adds a 3d light to the lights array of the container.
| ObjectContainer3D | ||
Adds a 3d sprite to the scene as a child of the container.
| ObjectContainer3D | ||
Duplicates the 3d object's properties to another
ObjectContainer3D object
| ObjectContainer3D | ||
Returns a bone object specified by name from the child array of the container
| ObjectContainer3D | ||
getChildByName(childName:String):DisplayObject
Returns a 3d object specified by name from the child array of the container
| ObjectContainer3D | ||
lookAt(target:Vector3D, upAxis:Vector3D = null):void
Rotates the 3D object around to face a point defined relative to the local coordinates of the parent
ObjectContainer3D . | Object3D | ||
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 | ||
moveRight(distance:Number):void
Moves the 3D object forwards along it's local x axis
| Object3D | ||
moveUp(distance:Number):void
Moves the 3D object forwards along it's local y axis
| Object3D | ||
pitch(degrees:Number):void
Rotates the 3D object around it's local x-axis
| Object3D | ||
pushV3D(v:Vector3D, uv:Point):void
| Mesh | ||
removeChild(child:DisplayObject):DisplayObject
Removes a 3d object from the child array of the container.
| ObjectContainer3D | ||
Removes a 3d light from the lights array of the container.
| ObjectContainer3D | ||
Removes a 3d sprite from the sprites array of the container.
| ObjectContainer3D | ||
roll(degrees:Number):void
Rotates the 3D object around it's local z-axis
| Object3D | ||
rotate(degrees:Number, axis:Vector3D, pivotPoint:Vector3D = null):void
Rotates the 3D object around an axis by a defined degrees
| Object3D | ||
translate(axis:Vector3D, distance:Number):void
Moves the 3D object along a vector by a defined length
| Object3D | ||
yaw(degrees:Number):void
Rotates the 3D object around it's local y-axis
| Object3D |
Trident | () | constructor |
public function Trident(radius:int = 500, hasNegativeTrident:Boolean = false)
Parameters
radius:int (default = 500 ) — radius The radius of the trident axes. Default is 500.
|
|
hasNegativeTrident:Boolean (default = false )
|