| Package | idv.cjcat.stardust.threeD.deflectors |
| Class | public class Deflector3D |
| Inheritance | Deflector3D StardustElement |
| Subclasses | BoundingCube, BoundingSphere, PlaneDeflector, SphereDeflector, WrappingCube |
Deflect3D action.
See also
| Property | Defined by | ||
|---|---|---|---|
| active : Boolean | Deflector3D | ||
| bounce : Number | Deflector3D | ||
![]() | name : String | StardustElement | |
| Method | Defined by | ||
|---|---|---|---|
| Deflector3D | |||
|
getElementTypeXMLTag():XML
| Deflector3D | ||
| Deflector3D | |||
![]() |
getRelatedObjects():Array
[Abstract Method] Returns the related objects of the element.
| StardustElement | |
![]() |
getXMLTag():XML
Returns the root tag of the XML representation.
| StardustElement | |
|
getXMLTagName():String
| Deflector3D | ||
|
parseXML(xml:XML, builder:XMLBuilder = null):void
| Deflector3D | ||
|
toXML():XML
| Deflector3D | ||
| Method | Defined by | ||
|---|---|---|---|
|
[Abstract Method] Returns a
MotionData6D object representing the deflected position and velocity coordinates for a particle. | Deflector3D | ||
| active | property |
public var active:Boolean
| bounce | property |
public var bounce:Number
| Deflector3D | () | constructor |
public function Deflector3D()
| calculateMotionData6D | () | method |
protected function calculateMotionData6D(particle:Particle3D):MotionData6D
[Abstract Method] Returns a MotionData6D object representing the deflected position and velocity coordinates for a particle.
Returns null if no deflection occured. A non-null value can trigger the DeflectorTrigger3D action trigger.
particle:Particle3D |
MotionData6D |
See also
| getElementTypeXMLTag | () | method |
public override function getElementTypeXMLTag():XML
Returns
XML |
| getMotionData6D | () | method |
public final function getMotionData6D(particle:Particle3D):MotionData6DParameters
particle:Particle3D |
MotionData6D |
| getXMLTagName | () | method |
public override function getXMLTagName():String
Returns
String |
| parseXML | () | method |
public override function parseXML(xml:XML, builder:XMLBuilder = null):voidParameters
xml:XML |
|
builder:XMLBuilder (default = null) |
| toXML | () | method |
public override function toXML():XML
Returns
XML |