| Package | graphics.geom |
| Class | public class Ring |
| Inheritance | Ring Object |
| Implements | Geometry |
| Property | Defined By | ||
|---|---|---|---|
| center : Vector3
The center vector of the ring. | Ring | ||
| innerRadius : Number
The ring's inner radius. | Ring | ||
| outerRadius : Number
The ring's outer radius. | Ring | ||
| up : Vector3
The the unit up vector defining the ring's orientation. | Ring | ||
| Method | Defined By | ||
|---|---|---|---|
Creates a new Ring instance. | Ring | ||
clone():*
Returns a shallow copy of this instance. | Ring | ||
equals(o:*):Boolean
Compares the specified object with this object for equality. | Ring | ||
toSource(indent:int = 0):String
Returns the source code string representation of the object. | Ring | ||
toString():String
Returns the string representation of the object. | Ring | ||
| center | property |
public var center:Vector3The center vector of the ring.
| innerRadius | property |
public var innerRadius:NumberThe ring's inner radius.
| outerRadius | property |
public var outerRadius:NumberThe ring's outer radius.
| up | property |
public var up:Vector3The the unit up vector defining the ring's orientation.
| Ring | () | Constructor |
public function Ring(center:Vector3 = null, up:Vector3 = null, innerRadius:Number = 0, outerRadius:Number = 1)Creates a new Ring instance.
Parameterscenter:Vector3 (default = null) — the center of the ring.
| |
up:Vector3 (default = null) — the unit up vector defining the ring's orientation.
| |
innerRadius:Number (default = 0) — the ring's inner radius.
| |
outerRadius:Number (default = 1) — the ring's outer radius.
|
| clone | () | method |
public function clone():*Returns a shallow copy of this instance.
Returns* — a shallow copy of this instance.
|
| equals | () | method |
public function equals(o:*):BooleanCompares the specified object with this object for equality.
Parameters
o:* |
Boolean — true if the the specified object is equal with this object.
|
| toSource | () | method |
public function toSource(indent:int = 0):StringReturns the source code string representation of the object.
Parameters
indent:int (default = 0) |
String — the source code string representation of the object.
|
| toString | () | method |
public function toString():StringReturns the string representation of the object.
ReturnsString — the string representation of the object.
|