Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IFieldOfView

Hierarchy

  • IFieldOfView

Implemented by

Index

Properties

blurEnabled

blurEnabled: boolean

computeOffset

computeOffset: Vec2

disabled

disabled: boolean

maxRadius

maxRadius: number

radius

radius: number

texLight

texLight: WebGLTexture

texLightOld

texLightOld: WebGLTexture

Methods

canASeeB

  • canASeeB(aX: number, aY: number, aZ: number, bX: number, bY: number, bZ: number, lightLevel?: number): boolean
  • Parameters

    • aX: number
    • aY: number
    • aZ: number
    • bX: number
    • bY: number
    • bZ: number
    • Optional lightLevel: number

    Returns boolean

compute

  • compute(force?: boolean): boolean
  • Parameters

    • Optional force: boolean

    Returns boolean

createDebugRenderer

getBounds

  • Parameters

    • player: IPlayer
    • Optional radius: number

    Returns Bound3

getSubdivisions

  • getSubdivisions(): number
  • Returns number

getTextureSize

  • getTextureSize(): number
  • Returns number

tickSeed

  • tickSeed(): void
  • Returns void

Generated using TypeDoc