Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ObjectGl

Hierarchy

Index

Constructors

Properties

_rotate: Vec3 = ...
_scale: Vec3 = ...
_scalePatch: number = 1
_translate: Vec3 = ...
children: ObjectGl[] = []
hasMatrix: boolean = true
isProgram: boolean = false
isUpdateMatrix: boolean = false
kgl: default
mMatrix: Float32Array = ...
mvpMatrix: Float32Array = ...

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

  • changeMatrix(): void
  • Returns void

  • draw(): void
  • Returns void

  • forEachProgram(func: Function): void
  • Parameters

    • func: Function

    Returns void

  • Parameters

    Returns void

  • setIsUpdateMatrix(): void
  • Returns void

  • updateMatrix(vpMatrix: Float32Array): undefined | boolean
  • Parameters

    • vpMatrix: Float32Array

    Returns undefined | boolean

Generated using TypeDoc