TFollowComponentCameraController
Hierarchy
- default
- TFollowComponentCameraController
Implements
- default
Index
Constructors
constructor
Returns default
Properties
publiclerpFactor
Methods
attachTo
Parameters
component: default
Returns void
publiclookAt
Adjust the camera to look at the specified target position using linear interpolation.
Parameters
target: vec3
The target position to look at.
instant: boolean = false
If true, rotate the camera instantly without interpolation.
Returns void
publicmoveTo
Move the camera to the specified position using linear interpolation.
Parameters
position: vec3
The target position to move the camera to.
instant: boolean = false
If true, move the camera instantly without interpolation.
Returns void
Lerp factor controlling the speed of interpolation.