kokomi.js
Preparing search index...
ThirdPersonCamera
Class ThirdPersonCamera
Reference:
https://www.youtube.com/watch?v=UuNPHOJ_V5o&t=483s&ab_channel=SimonDev
Hierarchy (
View Summary
)
Component
ThirdPersonCamera
Index
Constructors
constructor
Properties
base
camera
container
current
Look
At
current
Position
emitter
enabled
look
At
offset
target
Accessors
ideal
Look
At
ideal
Offset
Methods
add
Existing
emit
off
on
update
Constructors
constructor
new
ThirdPersonCamera
(
base
:
Base
,
target
:
Object3D
,
config
?:
Partial
<
ThirdPersonCameraConfig
>
,
)
:
ThirdPersonCamera
Parameters
base
:
Base
target
:
Object3D
config
:
Partial
<
ThirdPersonCameraConfig
>
= {}
Returns
ThirdPersonCamera
Properties
base
base
:
Base
camera
camera
:
Camera
container
container
:
Scene
current
Look
At
currentLookAt
:
Vector3
current
Position
currentPosition
:
Vector3
emitter
emitter
:
Emitter
<
any
>
enabled
enabled
:
boolean
look
At
lookAt
:
Vector3
offset
offset
:
Vector3
target
target
:
Object3D
Accessors
ideal
Look
At
get
idealLookAt
()
:
Vector3
Returns
Vector3
ideal
Offset
get
idealOffset
()
:
Vector3
Returns
Vector3
Methods
add
Existing
addExisting
()
:
void
Returns
void
emit
emit
(
type
:
string
,
event
?:
any
)
:
void
Parameters
type
:
string
event
:
any
= {}
Returns
void
off
off
(
type
:
string
,
handler
:
any
)
:
void
Parameters
type
:
string
handler
:
any
Returns
void
on
on
(
type
:
string
,
handler
:
any
)
:
void
Parameters
type
:
string
handler
:
any
Returns
void
update
update
(
time
:
number
)
:
void
Parameters
time
:
number
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
base
camera
container
current
Look
At
current
Position
emitter
enabled
look
At
offset
target
Accessors
ideal
Look
At
ideal
Offset
Methods
add
Existing
emit
off
on
update
kokomi.js
Loading...
Reference: https://www.youtube.com/watch?v=UuNPHOJ_V5o&t=483s&ab_channel=SimonDev