Class Matrix3d

a 4x4 Matrix3d Object

Constructors

constructor

Properties

val

val: Float32Array

The matrix values

Accessors

tx

ty

tz

Methods

apply

applyInverse

clone

copy

equals

fromMat2d

identity

invert

isIdentity

multiply

ortho

  • ortho(left, right, bottom, top, near, far): Matrix3d
  • generate an orthogonal projection matrix, with the result replacing the current matrix

    Parameters

    • left: number

      farthest left on the x-axis

    • right: number

      farthest right on the x-axis

    • bottom: number

      farthest down on the y-axis

    • top: number

      farthest up on the y-axis

    • near: number

      distance to the near clipping plane along the -Z axis

    • far: number

      distance to the far clipping plane along the -Z axis

    Returns Matrix3d

    Reference to this object for method chaining

rotate

scale

  • scale(x, y?, z?): Matrix3d
  • scale the matrix

    Parameters

    • x: number

      a number representing the abscissa of the scaling vector.

    • Optionaly: number = x

      a number representing the ordinate of the scaling vector.

    • Optionalz: number = 0

      a number representing the depth vector

    Returns Matrix3d

    Reference to this object for method chaining

scaleV

scaleX

scaleY

setTransform

toArray

toString

translate

transpose

Settings

Member Visibility

On This Page

AltStyle によって変換されたページ (->オリジナル) /