Constructors
constructor
- new CubismMatrix44(): CubismMatrix44
-
Properties
Protected
_tr
_tr: Float32Array
Methods
clone
- clone(): CubismMatrix44
-
getArray
- getArray(): Float32Array
-
Returns Float32Array
getScaleX
- getScaleX(): number
-
Returns number
getScaleY
- getScaleY(): number
-
Returns number
getTranslateX
- getTranslateX(): number
-
Returns number
getTranslateY
- getTranslateY(): number
-
Returns number
invertTransformX
- invertTransformX(src: number): number
-
Returns number
invertTransformY
- invertTransformY(src: number): number
-
Returns number
loadIdentity
- loadIdentity(): void
-
Returns void
multiplyByMatrix
- multiplyByMatrix(m: CubismMatrix44): void
-
Returns void
scale
- scale(x: number, y: number): void
-
Returns void
scaleRelative
- scaleRelative(x: number, y: number): void
-
Returns void
setMatrix
- setMatrix(tr: Float32Array): void
-
Returns void
transformX
- transformX(src: number): number
-
Returns number
transformY
- transformY(src: number): number
-
Returns number
translate
- translate(x: number, y: number): void
-
Returns void
translateRelative
- translateRelative(x: number, y: number): void
-
Returns void
translateX
- translateX(x: number): void
-
Returns void
translateY
- translateY(y: number): void
-
Returns void
Static
multiply
- multiply(a: Float32Array, b: Float32Array, dst: Float32Array): void
-
Parameters
-
a: Float32Array
-
b: Float32Array
-
dst: Float32Array
Returns void
4x4の行列
4x4行列の便利クラス。