Skip to main content

FocusData

The FocusData class is used to override the focus of the camera.

Index

Properties

publicstaticreadonlyfocusOverrideEntity

focusOverrideEntity: Entity

publicstaticreadonlyfocusOverrideOffset

focusOverrideOffset: Vector3

publicstaticreadonlyfocusOverridePos

focusOverridePos: Vector3

publicstaticreadonlyisFocusOverriden

isFocusOverriden: boolean

Methods

publicstaticclearFocus

  • clearFocus(): void

publicstaticoverrideFocus

  • overrideFocus(pos: Vector3, offset?: Vector3): void
  • overrideFocus(pos: Entity, offset?: Vector3): void