Class FlyLine

Base 基类方便继承以实现其他类型的情况

Hierarchy (view full)

Constructors

Properties

bezierLine: BezierLine
bufferType: string
buffers: Record<string, WebGLBuffer> = {}
buffersSize: Record<string, number> = {}
childId: number
config: BaseMeshConfig
count: number
data: {
    end: {
        x: number;
        y: number;
    };
    endXY?: {
        x: number;
        y: number;
    };
    start: {
        x: number;
        y: number;
    };
    startXY?: {
        x: number;
        y: number;
    };
}

Type declaration

  • end: {
        x: number;
        y: number;
    }
    • x: number
    • y: number
  • Optional endXY?: {
        x: number;
        y: number;
    }
    • x: number
    • y: number
  • start: {
        x: number;
        y: number;
    }
    • x: number
    • y: number
  • Optional startXY?: {
        x: number;
        y: number;
    }
    • x: number
    • y: number
depthMask: boolean = false
depthTest: boolean = true
drawType: string = 'LINE_STRIP'
gl: WebGL2RenderingContext
indices: number[] = []
indicesPointer: WebGLBuffer
matrix: mat3
miniGL: MiniGL
offset: number = 0
parent: Group
shaderProgram: WebGLProgram
shaders: {
    fragment: string;
    vertex: string;
} = ...

Type declaration

  • fragment: string
  • vertex: string
startFlag: boolean
texture: WebGLTexture
transparent: boolean = true
uniformData: Record<string, {
    texture?: WebGLTexture;
    type: string;
    value: number | number[] | Float32Array;
}> = ...

Type declaration

  • Optional texture?: WebGLTexture
  • type: string
  • value: number | number[] | Float32Array
uniformLocations: {} = {}

Type declaration

    uniformsNeedUpdate: boolean = true
    vSize: number = 2
    vertex: any[] = []
    visible: boolean = true
    worldMatrix: mat3
    zOrder: number

    Methods

    • Parameters

      • data: {
            end: {
                x: number;
                y: number;
            };
            start: {
                x: number;
                y: number;
            };
        }
        • end: {
              x: number;
              y: number;
          }
          • x: number
          • y: number
        • start: {
              x: number;
              y: number;
          }
          • x: number
          • y: number

      Returns void

    Generated using TypeDoc