Search
Preparing search index...
The search index is not available
@motor/core
Options
All
Public
Public/Protected
All
Inherited
Menu
@motor/core
default
MotorCore
Camera
Class Camera
Hierarchy
MotorObj
Camera
Index
Constructors
constructor
Properties
debug
Primitive
frustum
Accessors
direction
directionWC
inverse
View
Matrix
position
positionWC
right
rightWC
up
upWC
Methods
destroy
get
Cesium
Camera
get
Intersect
With
Horizontal
Plane
get
View
Position
get
View
Position
Adapter
is
Destroyed
project
set
Debug
Options
set
Frustum
set
View
ToView
Position
set
World
Matrix
type
un
Project
Constructors
constructor
new
Camera
(
viewer
:
Viewer
, transform
?:
Matrix4
)
:
Camera
Parameters
viewer:
Viewer
Optional
transform:
Matrix4
Returns
Camera
Properties
Optional
debug
Primitive
debug
Primitive
:
DebugCameraPrimitive
frustum
frustum
:
Frustum
Accessors
direction
get
direction
(
)
:
Cartesian3
Returns
Cartesian3
directionWC
get
directionWC
(
)
:
Cartesian3
Returns
Cartesian3
inverse
View
Matrix
get
inverseViewMatrix
(
)
:
Matrix4
Returns
Matrix4
position
get
position
(
)
:
Cartesian3
Returns
Cartesian3
positionWC
get
positionWC
(
)
:
Cartesian3
Returns
Cartesian3
right
get
right
(
)
:
Cartesian3
Returns
Cartesian3
rightWC
get
rightWC
(
)
:
Cartesian3
Returns
Cartesian3
up
get
up
(
)
:
Cartesian3
Returns
Cartesian3
upWC
get
upWC
(
)
:
Cartesian3
Returns
Cartesian3
Methods
destroy
destroy
(
)
:
undefined
Returns
undefined
get
Cesium
Camera
get
Cesium
Camera
(
)
:
Camera
Returns
Camera
get
Intersect
With
Horizontal
Plane
get
Intersect
With
Horizontal
Plane
(
height
:
number
)
:
Cartesian3
[]
Parameters
height:
number
Returns
Cartesian3
[]
get
View
Position
get
View
Position
(
)
:
ViewPosition
Returns
ViewPosition
get
View
Position
Adapter
get
View
Position
Adapter
(
)
:
Promise
<
undefined
|
ViewPosition
>
Returns
Promise
<
undefined
|
ViewPosition
>
is
Destroyed
is
Destroyed
(
)
:
boolean
Returns
boolean
project
project
(
position
:
Vector3
, result
?:
Vector3
)
:
Vector3
Parameters
position:
Vector3
Optional
result:
Vector3
Returns
Vector3
set
Debug
Options
set
Debug
Options
(
options
?:
DebugOption
)
:
void
Parameters
Optional
options:
DebugOption
Returns
void
set
Frustum
set
Frustum
(
frustumOptions
:
FrustumOptions
)
:
void
Parameters
frustumOptions:
FrustumOptions
Returns
void
set
View
ToView
Position
set
View
ToView
Position
(
opt
:
ViewPosition
, durationTime
?:
number
, easingFunction
?:
Callback
)
:
void
Parameters
opt:
ViewPosition
Optional
durationTime:
number
Optional
easingFunction:
Callback
Returns
void
set
World
Matrix
set
World
Matrix
(
matrix
:
Matrix4
)
:
void
Parameters
matrix:
Matrix4
Returns
void
type
type
(
)
:
string
Returns
string
un
Project
un
Project
(
position
:
Vector3
, result
?:
Vector3
)
:
Vector3
Parameters
position:
Vector3
Optional
result:
Vector3
Returns
Vector3
Exports
default
default.
Motor
Core
Camera
constructor
debug
Primitive
frustum
direction
directionWC
inverse
View
Matrix
position
positionWC
right
rightWC
up
upWC
destroy
get
Cesium
Camera
get
Intersect
With
Horizontal
Plane
get
View
Position
get
View
Position
Adapter
is
Destroyed
project
set
Debug
Options
set
Frustum
set
View
ToView
Position
set
World
Matrix
type
un
Project