@masatomakino/threejs-spherical-controls
Preparing search index...
CameraPositionLimiter
Class CameraPositionLimiter
Index
Constructors
constructor
Properties
phi
Max
phi
Min
r
Max
r
Min
theta
Max
theta
Min
Methods
clamp
Position
clamp
With
Type
set
Limit
Constructors
constructor
new
CameraPositionLimiter
()
:
CameraPositionLimiter
Returns
CameraPositionLimiter
Properties
phi
Max
phiMax
:
number
= ...
phi
Min
phiMin
:
number
= CameraPositionLimiter.EPS
r
Max
rMax
:
number
= Number.MAX_VALUE
r
Min
rMin
:
number
= CameraPositionLimiter.EPS
theta
Max
thetaMax
:
undefined
|
number
= undefined
theta
Min
thetaMin
:
undefined
|
number
= undefined
Methods
clamp
Position
clampPosition
(
type
:
SphericalParamType
,
pos
:
Spherical
)
:
void
Parameters
type
:
SphericalParamType
pos
:
Spherical
Returns
void
clamp
With
Type
clampWithType
(
type
:
SphericalParamType
,
val
:
number
)
:
number
Parameters
type
:
SphericalParamType
val
:
number
Returns
number
set
Limit
setLimit
(
type
:
SphericalParamType
,
max
:
number
,
min
:
number
)
:
void
Parameters
type
:
SphericalParamType
max
:
number
min
:
number
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
phi
Max
phi
Min
r
Max
r
Min
theta
Max
theta
Min
Methods
clamp
Position
clamp
With
Type
set
Limit
@masatomakino/threejs-spherical-controls
Loading...