Preparing search index...
The search index is not available
如视 Five SDK
如视 Five SDK
five
BoundingVolume
Interface BoundingVolume
interface
BoundingVolume
{
type
:
"box"
|
"sphere"
|
"regin"
;
applyMatrix4
(
matrix
:
Matrix4
)
:
this
;
clone
(
)
:
BoundingVolume
;
copy
(
boundingVolume
:
this
)
:
this
;
distanceSquaredToPoint
(
point
:
Vector3
)
:
number
;
distanceToPlane
(
plane
:
Plane
)
:
number
;
distanceToPoint
(
point
:
Vector3
)
:
number
;
fromJson
(
json
:
any
)
:
this
;
getBoundingBox
(
target
:
Box3
)
:
Box3
;
getCenter
(
result
:
Vector3
)
:
Vector3
;
intersectPlane
(
plane
:
Plane
)
:
VolumePlaneIntersect
;
intersectRay
(
ray
:
Ray
,
far
?:
number
)
:
boolean
;
toGeometry
(
)
:
BufferGeometry
;
toJson
(
)
:
BoundingVolumeJson
;
}
Implemented by
BoxBoundingVolume
RegionBoundingVolume
SphereBoundingVolume
Index
Properties
type
Methods
apply
Matrix4
clone
copy
distance
Squared
To
Point
distance
To
Plane
distance
To
Point
from
Json
get
Bounding
Box
get
Center
intersect
Plane
intersect
Ray
to
Geometry
to
Json
Properties
type
type
:
"box"
|
"sphere"
|
"regin"
Methods
apply
Matrix4
apply
Matrix4
(
matrix
)
:
this
Parameters
matrix
:
Matrix4
Returns
this
clone
clone
(
)
:
BoundingVolume
Returns
BoundingVolume
copy
copy
(
boundingVolume
)
:
this
Parameters
boundingVolume
:
this
Returns
this
distance
Squared
To
Point
distance
Squared
To
Point
(
point
)
:
number
Parameters
point
:
Vector3
Returns
number
distance
To
Plane
distance
To
Plane
(
plane
)
:
number
Parameters
plane
:
Plane
Returns
number
distance
To
Point
distance
To
Point
(
point
)
:
number
Parameters
point
:
Vector3
Returns
number
from
Json
from
Json
(
json
)
:
this
Parameters
json
:
any
Returns
this
get
Bounding
Box
get
Bounding
Box
(
target
)
:
Box3
Parameters
target
:
Box3
Returns
Box3
get
Center
get
Center
(
result
)
:
Vector3
Parameters
result
:
Vector3
Returns
Vector3
intersect
Plane
intersect
Plane
(
plane
)
:
VolumePlaneIntersect
Parameters
plane
:
Plane
Returns
VolumePlaneIntersect
intersect
Ray
intersect
Ray
(
ray
,
far
?
)
:
boolean
Parameters
ray
:
Ray
Optional
far
:
number
Returns
boolean
to
Geometry
to
Geometry
(
)
:
BufferGeometry
Returns
BufferGeometry
to
Json
to
Json
(
)
:
BoundingVolumeJson
Returns
BoundingVolumeJson
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Properties
type
Methods
apply
Matrix4
clone
copy
distance
Squared
To
Point
distance
To
Plane
distance
To
Point
from
Json
get
Bounding
Box
get
Center
intersect
Plane
intersect
Ray
to
Geometry
to
Json
如视 Five SDK
Loading...