Search
Preparing search index...
The search index is not available
小游戏框架
Options
All
Public
Public/Protected
All
Inherited
Menu
小游戏框架
BoundBall
Class BoundBall
Hierarchy
BoundBall
Index
Constructors
constructor
Properties
OFFSETS
Accessors
center
radius
Methods
init
ByPoint
Radius
init
ByPoints
set
Value
create
From
Center
And
Radius
Constructors
constructor
new
Bound
Ball
(
raw
?:
Float32Array
, offset
?:
number
)
:
BoundBall
Parameters
Optional
raw:
Float32Array
Optional
offset:
number
Returns
BoundBall
Properties
Static
Readonly
OFFSETS
OFFSETS
:
Readonly
<
{
center
:
number
;
radius
:
number
}
>
= ...
Accessors
center
get
center
(
)
:
DeepImmutableObject
<
Vector3
>
set
center
(
val
:
DeepImmutableObject
<
Vector3
>
)
:
void
包围球中心
memberof
BoundBall
Returns
DeepImmutableObject
<
Vector3
>
包围球中心
Parameters
val:
DeepImmutableObject
<
Vector3
>
Returns
void
radius
get
radius
(
)
:
number
set
radius
(
val
:
number
)
:
void
包围球半径
memberof
BoundBall
Returns
number
包围球半径
Parameters
val:
number
Returns
void
Methods
init
ByPoint
Radius
init
ByPoint
Radius
(
center
:
DeepImmutableObject
<
Vector3
>
, radius
:
number
)
:
void
Parameters
center:
DeepImmutableObject
<
Vector3
>
radius:
number
Returns
void
init
ByPoints
init
ByPoints
(
points
:
DeepImmutableObject
<
Vector3
>
[]
)
:
BoundBall
使用一系列点初始化
memberof
BoundBall
Parameters
points:
DeepImmutableObject
<
Vector3
>
[]
Returns
BoundBall
自身
set
Value
set
Value
(
center
:
DeepImmutableObject
<
Vector3
>
, radius
:
number
)
:
BoundBall
设置值
memberof
BoundBall
Parameters
center:
DeepImmutableObject
<
Vector3
>
radius:
number
Returns
BoundBall
Static
create
From
Center
And
Radius
create
From
Center
And
Radius
(
center
:
DeepImmutableObject
<
Vector3
>
, radius
:
number
)
:
BoundBall
使用中心和半径创建包围球
static
memberof
BoundBall
Parameters
center:
DeepImmutableObject
<
Vector3
>
radius:
number
Returns
BoundBall
Exports
Bound
Ball
constructor
OFFSETS
center
radius
init
ByPoint
Radius
init
ByPoints
set
Value
create
From
Center
And
Radius
Generated using
TypeDoc
包围球中心
BoundBall