Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Zoomblur

Hierarchy

Index

Constructors

Properties

_rotate: Vec3 = ...
_scale: Vec3 = ...
_scalePatch: number = 1
_translate: Vec3 = ...
attributes: {} = {}

Type declaration

children: ObjectGl[] = []
count?: number
data: AnyData = {}
drawType: DrawType
fragmentShader: null | <internal>.WebGLShader = null
glMode: number
hasCamera: boolean
hasLight: boolean
hasMatrix: boolean = true
height?: number
heightSegments?: number
id: number = -1
indicesCount?: number
instanceCount?: number
instancedArraysExt?: ANGLE_instanced_arrays
invMatrix?: Float32Array
isAdditive: boolean
isAutoResolution: boolean
isCulling: boolean
isDepth: boolean
isHidden: boolean
isInstanced: boolean
isPoint: boolean = false
isProgram: boolean = true
isTransparent: boolean
isUpdateMatrix: boolean = false
kgl: default
kglTextures: KglTexture[] = []
mMatrix: Float32Array = ...
mode?: Mode
mvpMatrix: Float32Array = ...
openEnded?: boolean
program: null | <internal>.WebGLProgram = null
radialSegments?: number
radius?: number
radiusBottom?: number
radiusTop?: number
size?: number
textures: {} = {}

Type declaration

thetaLength?: number
thetaStart?: number
uniforms: Uniforms = {}
vertexShader: null | <internal>.WebGLShader = null
width?: number

Accessors

  • get rotate(): any
  • set rotate(radian: any): void
  • Returns any

  • Parameters

    • radian: any

    Returns void

  • get rotate3d(): Vec3
  • set rotate3d(radian: Vec3): void
  • Returns Vec3

  • Parameters

    Returns void

  • get rotateX(): any
  • set rotateX(radian: any): void
  • Returns any

  • Parameters

    • radian: any

    Returns void

  • get rotateY(): any
  • set rotateY(radian: any): void
  • Returns any

  • Parameters

    • radian: any

    Returns void

  • get rotateZ(): any
  • set rotateZ(radian: any): void
  • Returns any

  • Parameters

    • radian: any

    Returns void

  • get scale(): any
  • set scale(value: any): void
  • Returns any

  • Parameters

    • value: any

    Returns void

  • Returns number | Array2 | Vec2

  • Parameters

    Returns void

  • Returns number | Array3 | Vec3

  • Parameters

    Returns void

  • get scalePatch(): number
  • set scalePatch(value: number): void
  • Returns number

  • Parameters

    • value: number

    Returns void

  • get scaleX(): any
  • set scaleX(value: any): void
  • Returns any

  • Parameters

    • value: any

    Returns void

  • get scaleY(): any
  • set scaleY(value: any): void
  • Returns any

  • Parameters

    • value: any

    Returns void

  • get scaleZ(): any
  • set scaleZ(value: any): void
  • Returns any

  • Parameters

    • value: any

    Returns void

  • get translate3d(): Vec3
  • set translate3d(value: Vec3): void
  • Returns Vec3

  • Parameters

    Returns void

  • get x(): any
  • set x(value: any): void
  • Returns any

  • Parameters

    • value: any

    Returns void

  • get y(): any
  • set y(value: any): void
  • Returns any

  • Parameters

    • value: any

    Returns void

  • get z(): any
  • set z(value: any): void
  • Returns any

  • Parameters

    • value: any

    Returns void

Methods

  • Parameters

    Returns void

  • addAttribute(key: string, value: AttributeValue, size?: number, isIndices?: boolean, isInstanced?: boolean): void
  • Parameters

    • key: string
    • value: AttributeValue
    • Optional size: number
    • isIndices: boolean = false
    • isInstanced: boolean = false

    Returns void

  • addUniform(key: string, value: any): void
  • Parameters

    • key: string
    • value: any

    Returns void

  • changeMatrix(): void
  • createAttribute(data: Attributes, isInstanced?: boolean): void
  • createProgram(codeVertexShader: string, codeFragmentShader: string): void
  • Parameters

    • codeVertexShader: string
    • codeFragmentShader: string

    Returns void

  • createShader(type: "VERTEX_SHADER" | "FRAGMENT_SHADER", content: string): undefined | <internal>.WebGLShader
  • destroy(): void
  • Returns void

  • draw(): void
  • Returns void

  • drawEffect(readFramebufferKey: string, outFramebufferKey: string, strength?: number, center?: Array2, isOnscreen?: boolean): void
  • Parameters

    • readFramebufferKey: string
    • outFramebufferKey: string
    • Optional strength: number
    • Optional center: Array2
    • Optional isOnscreen: boolean

    Returns void

  • forEachProgram(func: Function): void
  • hidden(): void
  • Returns void

  • setAttribute(key: string): void
  • Parameters

    • key: string

    Returns void

  • setIsUpdateMatrix(): void
  • updateAttribute(key: string, values: AttributeValue, offset?: number): void
  • updateMatrix(vpMatrix: Float32Array): undefined | true
  • Parameters

    • vpMatrix: Float32Array

    Returns undefined | true

  • updateUniforms(uniforms: {}): void
  • use(): void
  • Returns void

  • visible(): void
  • Returns void

Generated using TypeDoc