Preparing search index...
The search index is not available
kokomi.js
kokomi.js
ThirdPersonCamera
Class ThirdPersonCamera
Reference:
https://www.youtube.com/watch?v=UuNPHOJ_V5o&t=483s&ab_channel=SimonDev
Hierarchy (
view full
)
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
Third
Person
Camera
(
base
,
target
,
config
?
)
:
ThirdPersonCamera
Parameters
base
:
Base
target
:
Object3D
<
Object3DEventMap
>
config
:
Partial
<
ThirdPersonCameraConfig
>
= {}
Returns
ThirdPersonCamera
Properties
base
base
:
Base
camera
camera
:
Camera
container
container
:
Scene
current
Look
At
current
Look
At
:
Vector3
current
Position
current
Position
:
Vector3
emitter
emitter
:
Emitter
<
any
>
enabled
enabled
:
boolean
look
At
look
At
:
Vector3
offset
offset
:
Vector3
target
target
:
Object3D
<
Object3DEventMap
>
Accessors
ideal
Look
At
get
idealLookAt
(
)
:
Vector3
Returns
Vector3
ideal
Offset
get
idealOffset
(
)
:
Vector3
Returns
Vector3
Methods
add
Existing
add
Existing
(
)
:
void
Returns
void
emit
emit
(
type
,
event
?
)
:
void
Parameters
type
:
string
event
:
any
= {}
Returns
void
off
off
(
type
,
handler
)
:
void
Parameters
type
:
string
handler
:
any
Returns
void
on
on
(
type
,
handler
)
:
void
Parameters
type
:
string
handler
:
any
Returns
void
update
update
(
time
)
:
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