| Package | sandy.events |
| Class | public class Shape3DEvent |
| Inheritance | Shape3DEvent BubbleEvent flash.events.Event |
See also
| Property | Defined by | ||
|---|---|---|---|
| event : Event
Original Flash event instance.
| Shape3DEvent | ||
| point : Vector
Real 3D position of the point under mouse click position.
| Shape3DEvent | ||
| polygon : Polygon
Polygon that has been clicked.
| Shape3DEvent | ||
| shape : Shape3D
A reference to the object which has bene clicked.
| Shape3DEvent | ||
![]() | target : Object
The event target.
| BubbleEvent | |
| uv : UVCoord
Real UV coordinate of the point under the mouse click position.
| Shape3DEvent | ||
| Method | Defined by | ||
|---|---|---|---|
|
Shape3DEvent(e:String, p_oShape:Shape3D, p_oPolygon:Polygon, p_oUV:UVCoord, p_oPoint3d:Vector, p_oEvent:Event)
Constructs a new Shape3DEvent instance.
| Shape3DEvent | ||
![]() |
toString():String
Returns the string representation of the event.
| BubbleEvent | |
| event | property |
public var event:EventOriginal Flash event instance.
| point | property |
| polygon | property |
| shape | property |
public var shape:Shape3DA reference to the object which has bene clicked.
See also
| uv | property |
| Shape3DEvent | () | constructor |
public function Shape3DEvent(e:String, p_oShape:Shape3D, p_oPolygon:Polygon, p_oUV:UVCoord, p_oPoint3d:Vector, p_oEvent:Event)Constructs a new Shape3DEvent instance.
Example
var e:Shape3DEvent = new Shape3DEvent(MyClass.onSomething, theShapeReference, thePolygonReference, theUVCoord, theReal3DIntersectionPoint);
Parameters
e:String — A name for the event.
|
|
p_oShape:Shape3D — The Shape3D object reference
|
|
p_oPolygon:Polygon — The Polygon object reference
|
|
p_oUV:UVCoord — The UVCoord object which corresponds to the UVCoord under mouse position
|
|
p_oPoint3d:Vector — The Vector object which is the real 3D position under the mouse position
|
|
p_oEvent:Event |
See also