Hierarchy

Constructors

  • Parameters

    Returns FieldOfView

Properties

blurEnabled: boolean
computeOffset: default = Vector2.ZERO
disabled: boolean
event: IEventEmitter<FieldOfView, IFieldOfViewEvents>
maxRadius: number
radius: number
rendererPlatform: IFieldOfViewPlatform

Marks a set of tiles as explored

transitionProgress: number = 1

Accessors

  • get instance(): IFieldOfViewCPP
  • Returns IFieldOfViewCPP

Methods

  • Parameters

    • timeStamp: number
    • Optional force: boolean
    • Optional skipTransition: boolean

    Returns boolean

  • Returns void

  • Returns number

  • Returns number

  • Returns void

  • Returns void

  • Parameters

    • timeStamp: number

    Returns void

  • Updates the explored tiles around players

    Parameters

    • updateForGhosts: boolean = false

      Update field of ghosts too

    Returns void

  • Parameters

    Returns void

  • Parameters

    • timeStamp: number

    Returns boolean

  • Note: CanASeeBType.ClientSide is used to skip adding a sync check for the result

    Parameters

    • origin: IFieldOfViewOrigin
    • type: CanASeeBType
    • islandId: `${number},${number}`
    • tileX: number
    • tileY: number
    • tileZ: number
    • fieldOfView: undefined | FieldOfView = renderer.fieldOfView
    • Optional customRadius: number

    Returns boolean

  • Parameters

    • origin: IVector3
    • mapSize: number
    • radius: number

    Returns IBound3

  • Gets the field of view radius based on either the field of view object, player, or the default value

    Parameters

    Returns number

Generated using TypeDoc