Package | away3d.materials.utils.data |
Class | public class Ray |
Property | Defined by | ||
---|---|---|---|
dir : Number3D | Ray | ||
orig : Number3D | Ray | ||
planeNormal : Number3D
[read-only]
Defines the directional normal of the Ray object
| Ray |
Method | Defined by | ||
---|---|---|---|
Ray
() | Ray | ||
Ray | |||
Checks ray intersection by mesh.boundingRadius
| Ray |
dir | property |
dir:Number3D
[read-write]Implementation
public function get dir():Number3D
public function set dir(value:Number3D):void
orig | property |
orig:Number3D
[read-write]Implementation
public function get orig():Number3D
public function set orig(value:Number3D):void
planeNormal | property |
planeNormal:Number3D
[read-only]Defines the directional normal of the Ray object
Implementation public function get planeNormal():Number3D
Ray | () | constructor |
public function Ray()
Init Parameters
getIntersect | () | method |
public function getIntersect(p0:Number3D, p1:Number3D, v0:Number3D, v1:Number3D, v2:Number3D):Number3D
Parameters
p0:Number3D |
|
p1:Number3D |
|
v0:Number3D |
|
v1:Number3D |
|
v2:Number3D |
Number3D |
intersectBoundingRadius | () | method |
public function intersectBoundingRadius(pos:Number3D, radius:Number):Boolean
Checks ray intersection by mesh.boundingRadius
Parameterspos:Number3D |
|
radius:Number |
Boolean — Boolean If the ray intersect the mesh boundery
|