interface.ControllerInitParams
API > ControllerInitParams
Interface: ControllerInitParams
Common controller initialization parameters.
Remarks
No controller uses all of these parameters. This interface represents the union of all possible intialization paramters for all possible controllers. This is useful for deserialization, where the kind of controller is not known at compile time.
Properties
distance
distance?:
number
The distance to the pivot point, if applicable.
Source
@novorender/web_app/controller/base.ts:364
fovDegrees
fovDegrees?:
number
The camera perspective field of view, in degrees, if applicable.
Source
@novorender/web_app/controller/base.ts:355
fovMeters
fovMeters?:
number
The camera orthographic field of meters, in degrees, if applicable.
Source
@novorender/web_app/controller/base.ts:358
kind
readonly
kind:string
The kind of controller to initialize.
Source
@novorender/web_app/controller/base.ts:346
pivot
pivot?:
ReadonlyVec3
The camera pivot point, if applicable.
Source
@novorender/web_app/controller/base.ts:361
position
position?:
ReadonlyVec3
The camera position, if applicable.
Source
@novorender/web_app/controller/base.ts:349
rotation
rotation?:
ReadonlyQuat
The camera rotation, if applicable.