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:368
fovDegrees
fovDegrees?:
number
The camera perspective field of view, in degrees, if applicable.
Source
@novorender/web_app/controller/base.ts:359
fovMeters
fovMeters?:
number
The camera orthographic field of meters, in degrees, if applicable.
Source
@novorender/web_app/controller/base.ts:362
kind
readonly
kind:string
The kind of controller to initialize.
Source
@novorender/web_app/controller/base.ts:350
pivot
pivot?:
ReadonlyVec3
The camera pivot point, if applicable.
Source
@novorender/web_app/controller/base.ts:365
position
position?:
ReadonlyVec3
The camera position, if applicable.
Source
@novorender/web_app/controller/base.ts:353
rotation
rotation?:
ReadonlyQuat
The camera rotation, if applicable.