| Property | Defined By | ||
|---|---|---|---|
| dir : Vector3D
Defines the directional vector of the Ray object
| Ray | ||
| orig : Vector3D
Defines the origin point of the Ray object
| Ray | ||
| planeNormal : Vector3D [read-only]
Defines the directional normal of the Ray object
| Ray | ||
| Method | Defined By | ||
|---|---|---|---|
Ray() | Ray | ||
getIntersect(p0:Vector3D, p1:Vector3D, v0:Vector3D, v1:Vector3D, v2:Vector3D):Vector3D | Ray | ||
intersectBoundingRadius(pos:Vector3D, radius:Number):Boolean
Checks ray intersection by mesh.boundingRadius
| Ray | ||
| dir | property |
dir:Vector3DDefines the directional vector of the Ray object
public function get dir():Vector3D public function set dir(value:Vector3D):void| orig | property |
orig:Vector3DDefines the origin point of the Ray object
public function get orig():Vector3D public function set orig(value:Vector3D):void| planeNormal | property |
planeNormal:Vector3D [read-only] Defines the directional normal of the Ray object
public function get planeNormal():Vector3D| Ray | () | Constructor |
public function Ray()| getIntersect | () | method |
public function getIntersect(p0:Vector3D, p1:Vector3D, v0:Vector3D, v1:Vector3D, v2:Vector3D):Vector3DParameters
p0:Vector3D | |
p1:Vector3D | |
v0:Vector3D | |
v1:Vector3D | |
v2:Vector3D |
Vector3D |
| intersectBoundingRadius | () | method |
public function intersectBoundingRadius(pos:Vector3D, radius:Number):BooleanChecks ray intersection by mesh.boundingRadius
Parameters
pos:Vector3D | |
radius:Number |
Boolean — Boolean If the ray intersect the mesh boundery
|