wtc-gl
    Preparing search index...

    Class Plane

    Class representing some Geometry.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    The WTCGL attribute collection that describes this geometry.

    bounds: WTCGLBounds

    An object defining the boundary of the geometry

    drawRange: { count: number; start: number }

    The range of supplied elements to draw.

    The WTCGL rendering context.

    An object defining all of the rendering state properties.

    id: number

    The unique ID of the Geometry.

    instancedCount: number

    The number of instances to draw.

    isInstanced: boolean

    A boolean indicating whether the geometry is an instanced geometry or not.

    transformFeedbackIndex: number = 0
    transformFeedbacks: TransformFeedback

    Any supplied transform feedback objects

    VAOs: { [key: string]: WebGLVertexArrayObject }

    An array of vertex array objects that represent the different attributes.

    Methods

    • Sets up the draw range, used to determined which properties are drawn

      Parameters

      • start: number

        The start of the range

      • count: number

        The number of properties to draw

      Returns void

    • Parameters

      • position: Float32Array
      • normal: Float32Array
      • uv: Float32Array
      • index: Uint16Array<ArrayBufferLike> | Uint32Array<ArrayBufferLike>
      • width: number
      • height: number
      • depth: number
      • wSegs: number
      • hSegs: number
      • u: number = 0
      • v: number = 1
      • w: number = 2
      • uDir: number = 1
      • vDir: number = -1
      • i: number = 0
      • ii: number = 0

      Returns void