Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IFieldOfView

Hierarchy

  • IFieldOfView

Implemented by

Index

Properties

blurEnabled

blurEnabled: boolean

computeOffset

computeOffset: Vector2

disabled

disabled: boolean

Readonly maxRadius

maxRadius: number

Readonly radius

radius: number

texLight

texLight: WebGLTexture | undefined

texLightOld

texLightOld: WebGLTexture | undefined

Readonly transitionProgress

transitionProgress: number

Methods

canASeeB

  • canASeeB(type: CanASeeBType, sourceEntity: Entity | undefined, aX: number, aY: number, aZ: number, bX: number, bY: number, bZ: number): boolean
  • Parameters

    • type: CanASeeBType
    • sourceEntity: Entity | undefined
    • aX: number
    • aY: number
    • aZ: number
    • bX: number
    • bY: number
    • bZ: number

    Returns boolean

compute

  • compute(timeStamp: number, force?: undefined | false | true): void
  • Parameters

    • timeStamp: number
    • Optional force: undefined | false | true

    Returns void

getBounds

  • getBounds(player: Player, radius?: undefined | number): IBound3
  • Parameters

    • player: Player
    • Optional radius: undefined | number

    Returns IBound3

getSubdivisions

  • getSubdivisions(): number
  • Returns number

getTextureSize

  • getTextureSize(): number
  • Returns number

resetGl

  • resetGl(gl: WebGL2RenderingContext): void
  • Parameters

    • gl: WebGL2RenderingContext

    Returns void

resetTransitionProgress

  • resetTransitionProgress(): void
  • Returns void

tickSeed

  • tickSeed(): void
  • Returns void

updateTransitionProgress

  • updateTransitionProgress(timeStamp: number): boolean
  • Parameters

    • timeStamp: number

    Returns boolean

Generated using TypeDoc