Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
THREE
Ray
Class Ray
Index
Constructor methods
constructor
Properties
direction
origin
Methods
applyMatrix4
at
clone
closestPointToPoint
copy
distanceSqToSegment
distanceToPlane
distanceToPoint
equals
intersectBox
intersectPlane
intersectTriangle
isIntersectionBox
isIntersectionPlane
isIntersectionSphere
recast
set
Constructor methods
constructor
(
origin
?:
Vector3
, direction
?:
Vector3
)
:
Ray
Parameters
origin?:
Vector3
optional
direction?:
Vector3
optional
Returns
Ray
Properties
public
direction
:
Vector3
public
origin
:
Vector3
Methods
public
applyMatrix4
(
matrix4
:
Matrix4
)
:
Ray
Parameters
matrix4:
Matrix4
Returns
Ray
public
at
(
t
:
number
, optionalTarget
?:
Vector3
)
:
Vector3
Parameters
t:
number
optionalTarget?:
Vector3
optional
Returns
Vector3
public
clone
(
)
:
Ray
Returns
Ray
public
closestPointToPoint
(
point
:
Vector3
, optionalTarget
?:
Vector3
)
:
Vector3
Parameters
point:
Vector3
optionalTarget?:
Vector3
optional
Returns
Vector3
public
copy
(
ray
:
Ray
)
:
Ray
Parameters
ray:
Ray
Returns
Ray
public
distanceSqToSegment
(
v0
:
Vector3
, v1
:
Vector3
, optionalPointOnRay
?:
Vector3
, optionalPointOnSegment
?:
Vector3
)
:
number
Parameters
v0:
Vector3
v1:
Vector3
optionalPointOnRay?:
Vector3
optional
optionalPointOnSegment?:
Vector3
optional
Returns
number
public
distanceToPlane
(
plane
:
Plane
)
:
number
Parameters
plane:
Plane
Returns
number
public
distanceToPoint
(
point
:
Vector3
)
:
number
Parameters
point:
Vector3
Returns
number
public
equals
(
ray
:
Ray
)
:
boolean
Parameters
ray:
Ray
Returns
boolean
public
intersectBox
(
box
:
Box3
, optionalTarget
?:
Vector3
)
:
Vector3
Parameters
box:
Box3
optionalTarget?:
Vector3
optional
Returns
Vector3
public
intersectPlane
(
plane
:
Plane
, optionalTarget
?:
Vector3
)
:
Vector3
Parameters
plane:
Plane
optionalTarget?:
Vector3
optional
Returns
Vector3
public
intersectTriangle
(
a
:
Vector3
, b
:
Vector3
, c
:
Vector3
, backfaceCulling
:
boolean
, optionalTarget
?:
Vector3
)
:
Vector3
Parameters
a:
Vector3
b:
Vector3
c:
Vector3
backfaceCulling:
boolean
optionalTarget?:
Vector3
optional
Returns
Vector3
public
isIntersectionBox
(
box
:
Box3
)
:
boolean
Parameters
box:
Box3
Returns
boolean
public
isIntersectionPlane
(
plane
:
Plane
)
:
boolean
Parameters
plane:
Plane
Returns
boolean
public
isIntersectionSphere
(
sphere
:
Sphere
)
:
boolean
Parameters
sphere:
Sphere
Returns
boolean
public
recast
(
t
:
number
)
:
Ray
Parameters
t:
number
Returns
Ray
public
set
(
origin
:
Vector3
, direction
:
Vector3
)
:
Ray
Parameters
origin:
Vector3
direction:
Vector3
Returns
Ray
Globals
THREE
AddEquation
AddOperation
AdditiveBlending
AlphaFormat
AnimationHandler
BackSide
BasicShadowMap
ByteType
ClampToEdgeWrapping
CubeReflectionMapping
CubeRefractionMapping
CullFaceBack
CullFaceFront
CullFaceFrontBack
CullFaceNone
CustomBlending
DoubleSide
DstAlphaFactor
DstColorFactor
FaceColors
FlatShading
FloatType
FontUtils
FrontFaceDirectionCCW
FrontFaceDirectionCW
FrontSide
GeometryUtils
ImageUtils
IntType
LinePieces
LineStrip
LinearFilter
LinearMipMapLinearFilter
LinearMipMapNearestFilter
LuminanceAlphaFormat
LuminanceFormat
Math
MirroredRepeatWrapping
MixOperation
MultiplyBlending
MultiplyOperation
NearestFilter
NearestMipMapLinearFilter
NearestMipMapNearestFilter
NoBlending
NoColors
NoShading
NormalBlending
OneFactor
OneMinusDstAlphaFactor
OneMinusDstColorFactor
OneMinusSrcAlphaFactor
OneMinusSrcColorFactor
PCFShadowMap
PCFSoftShadowMap
REVISION
RGBAFormat
RGBA_S3TC_DXT1_Format
RGBA_S3TC_DXT3_Format
RGBA_S3TC_DXT5_Format
RGBFormat
RGB_S3TC_DXT1_Format
RepeatWrapping
ReverseSubtractEquation
SceneUtils
ShaderChunk
ShaderFlares
ShaderLib
ShortType
SmoothShading
SphericalReflectionMapping
SphericalRefractionMapping
SrcAlphaFactor
SrcAlphaSaturateFactor
SrcColorFactor
SubtractEquation
SubtractiveBlending
UVMapping
UniformsLib
UniformsUtils
UnsignedByteType
UnsignedIntType
UnsignedShort4444Type
UnsignedShort5551Type
UnsignedShort565Type
UnsignedShortType
VertexColors
ZeroFactor
Blending
BlendingDstFactor
BlendingEquation
BlendingSrcFactor
Colors
Combine
CompressedPixelFormat
CullFace
FrontFaceDirection
LineType
Mapping
PathActions
PixelFormat
PixelType
Shading
ShadowMapType
Side
TextureDataType
TextureFilter
Wrapping
AnimationData
BoundingBox
BoundingBox3D
BoundingSphere
CanvasRendererParameters
HSL
IFog
Intersection
KeyFrame
KeyFrames
LensFlareProperty
LineBasicMaterialParameters
LineDashedMaterialParameters
MappingConstructor
Matrix
MeshBasicMaterialParameters
MeshDepthMaterialParameters
MeshLambertMaterialParameters
MeshNormalMaterialParameters
MeshPhongMaterialParameters
MorphBlendMeshAnimation
MorphColor
MorphNormals
MorphTarget
ParticleSystemMaterialParameters
Progress
RenderTarget
Renderer
RendererPlugin
SceneLoaderProgress
SceneLoaderResult
Shader
ShaderMaterialParameters
SplineControlPoint
SpriteCanvasMaterialParameters
SpriteMaterialParameters
TextGeometryParameters
TypefaceData
Vector
WebGLRenderTargetOptions
WebGLRendererParameters
AmbientLight
Animation
AnimationInterpolation
ArcCurve
AreaLight
ArrowHelper
AxisHelper
Bone
BoundingBoxHelper
Box2
Box3
BoxGeometry
BoxHelper
BufferAttribute
BufferGeometry
BufferGeometryLoader
Cache
Camera
CameraHelper
CanvasRenderer
CircleGeometry
Clock
ClosedSplineCurve3
Color
CombinedCamera
CompressedTexture
CubeCamera
CubeGeometry
CubicBezierCurve
CubicBezierCurve3
Curve
CurvePath
CylinderGeometry
DataTexture
DepthPassPlugin
DirectionalLight
DirectionalLightHelper
EdgesHelper
EllipseCurve
Euler
EventDispatcher
ExtrudeGeometry
Face3
FaceNormalsHelper
Float32Attribute
Float64Attribute
Fog
FogExp2
Frustum
Geometry
GridHelper
Gyroscope
HemisphereLight
HemisphereLightHelper
IcosahedronGeometry
ImageLoader
ImmediateRenderObject
Int16Attribute
Int32Attribute
Int8Attribute
JSONLoader
KeyFrameAnimation
LOD
LatheGeometry
LensFlare
LensFlarePlugin
Light
Line
Line3
LineBasicMaterial
LineCurve
LineCurve3
LineDashedMaterial
Loader
LoadingManager
Material
MaterialLoader
Matrix3
Matrix4
Mesh
MeshBasicMaterial
MeshDepthMaterial
MeshFaceMaterial
MeshLambertMaterial
MeshNormalMaterial
MeshPhongMaterial
MorphAnimMesh
MorphAnimation
MorphBlendMesh
Object3D
ObjectLoader
OctahedronGeometry
OrthographicCamera
ParametricGeometry
ParticleSystem
ParticleSystemMaterial
Path
PerspectiveCamera
Plane
PlaneGeometry
PointLight
PointLightHelper
PolyhedronGeometry
Projector
QuadraticBezierCurve
QuadraticBezierCurve3
Quaternion
RawShaderMaterial
Ray
constructor
direction
origin
applyMatrix4
at
clone
closestPointToPoint
copy
distanceSqToSegment
distanceToPlane
distanceToPoint
equals
intersectBox
intersectPlane
intersectTriangle
isIntersectionBox
isIntersectionPlane
isIntersectionSphere
recast
set
Raycaster
RenderableFace
RenderableLine
RenderableObject
RenderableSprite
RenderableVertex
RingGeometry
Scene
SceneLoader
ShaderMaterial
ShadowMapPlugin
Shape
ShapeGeometry
Skeleton
SkeletonHelper
SkinnedMesh
Sphere
SphereGeometry
Spline
SplineCurve
SplineCurve3
SpotLight
SpotLightHelper
Sprite
SpriteCanvasMaterial
SpriteMaterial
SpritePlugin
TetrahedronGeometry
TextGeometry
Texture
TextureLoader
TorusGeometry
TorusKnotGeometry
Triangle
TubeGeometry
Uint16Attribute
Uint32Attribute
Uint8Attribute
Uint8ClampedAttribute
Vector2
Vector3
Vector4
VertexNormalsHelper
VertexTangentsHelper
WebGLProgram
WebGLRenderTarget
WebGLRenderTargetCube
WebGLRenderer
WebGLShader
WireframeHelper
XHRLoader