constructor
Raycaster(origin,direction,near,far)
ray
near
far
params = {
Mesh: {},
Line: {},
LOD: {},
Points: { threshold: 1 },
Sprite: {}
}
method方法
set(orgin,direction)
设置光线源点和方向
setFromCamera(coords,camera)
从相机设置ray
intersectObject(object,recursive,optionalTarget)
intersectObjects(objects,recursive,optionalTarget)
网友评论