RaycasterIntersection

THREE.RaycasterIntersection
trait RaycasterIntersection extends Object

The intersection point of a raycaster intersection test.

Attributes

Graph
Supertypes
class Object
trait Any
class Object
trait Matchable
class Any

Members list

Value members

Inherited methods

def hasOwnProperty(v: String): Boolean

Attributes

Inherited from:
Object
def isPrototypeOf(v: Object): Boolean

Attributes

Inherited from:
Object
def propertyIsEnumerable(v: String): Boolean

Attributes

Inherited from:
Object
def toLocaleString(): String

Attributes

Inherited from:
Object
def valueOf(): Any

Attributes

Inherited from:
Object

Concrete fields

The 3D object that has been intersected.

The 3D object that has been intersected.

Attributes

val distance: Double

The distance from the ray's origin to the intersection point.

The distance from the ray's origin to the intersection point.

Attributes

val distanceToRay: UndefOr[Double]

Some 3D objects e.g. Points provide the distance of the intersection to the nearest point on the ray. For other objects it will be undefined.

Some 3D objects e.g. Points provide the distance of the intersection to the nearest point on the ray. For other objects it will be undefined.

Attributes

val face: UndefOr[Object]

The face that has been intersected.

The face that has been intersected.

Attributes

val faceIndex: UndefOr[Int]

The face index.

The face index.

Attributes

val instanceId: UndefOr[Int]

The index number of the instance where the ray intersects the InstancedMesh.

The index number of the instance where the ray intersects the InstancedMesh.

Attributes

val normal: UndefOr[Vector3]

Interpolated normal vector at point of intersection.

Interpolated normal vector at point of intersection.

Attributes

val point: Vector3

The intersection point, in world coordinates.

The intersection point, in world coordinates.

Attributes

val uv: UndefOr[Vector2]

U,V coordinates at point of intersection.

U,V coordinates at point of intersection.

Attributes

val uv1: UndefOr[Vector2]

Second set of U,V coordinates at point of intersection.

Second set of U,V coordinates at point of intersection.

Attributes