Class: abstract
FController
The base class for 3D controllers in Fibbo.
Extends
FController
Extended by
Constructors
new FController()
new FController(
options
):FController
Parameters
• options: FControllerOptions
The options for the controller.
Returns
Overrides
FControllerCore.constructor
Defined in
3d/src/controllers/FController.ts:23
Methods
frame()
abstract
frame(delta
):void
Update the controller. Should be called every frame. The purpose of this method is to update the component transform based on the controller logic.
Parameters
• delta: number
The time since the last frame.
Returns
void
Inherited from
FControllerCore.frame
Defined in
core/dist/index.d.ts:26
Properties
component
component:
FComponent
The component attached to the controller. It is redefined here to get the correct type (with 3D properties).
Overrides
FControllerCore.component