Search
Preparing search index...
The search index is not available
CocosCreatorAPI
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
common
b2Mat22
Class b2Mat22
Hierarchy
b2Mat22
Index
Properties
data
ex
ey
IDENTITY
Methods
Clone
Copy
Get
Angle
Get
Inverse
Self
Abs
Self
AddM
Self
Inv
Self
SubM
Set
Angle
Set
Identity
SetSSSS
SetVV
Set
Zero
Solve
AbsM
AddMM
From
Angle
FromSSSS
FromVV
MulMM
MulMV
MulTMM
MulTMV
Properties
Readonly
data
data
:
Float32Array
= new Float32Array([ 1, 0, 0, 1 ])
Readonly
ex
ex
:
b2Vec2
= new b2Vec2(this.data.subarray(0, 2))
Readonly
ey
ey
:
b2Vec2
= new b2Vec2(this.data.subarray(2, 4))
Static
Readonly
IDENTITY
IDENTITY
:
Readonly
<
b2Mat22
>
= new b2Mat22()
Methods
Clone
Clone
(
)
:
b2Mat22
Returns
b2Mat22
Copy
Copy
(
other
:
b2Mat22
)
:
this
Parameters
other:
b2Mat22
Returns
this
Get
Angle
Get
Angle
(
)
:
number
Returns
number
Get
Inverse
Get
Inverse
(
out
:
b2Mat22
)
:
b2Mat22
Parameters
out:
b2Mat22
Returns
b2Mat22
Self
Abs
Self
Abs
(
)
:
this
Returns
this
Self
AddM
Self
AddM
(
M
:
b2Mat22
)
:
this
Parameters
M:
b2Mat22
Returns
this
Self
Inv
Self
Inv
(
)
:
this
Returns
this
Self
SubM
Self
SubM
(
M
:
b2Mat22
)
:
this
Parameters
M:
b2Mat22
Returns
this
Set
Angle
Set
Angle
(
radians
:
number
)
:
this
Parameters
radians:
number
Returns
this
Set
Identity
Set
Identity
(
)
:
this
Returns
this
SetSSSS
SetSSSS
(
r1c1
:
number
, r1c2
:
number
, r2c1
:
number
, r2c2
:
number
)
:
this
Parameters
r1c1:
number
r1c2:
number
r2c1:
number
r2c2:
number
Returns
this
SetVV
SetVV
(
c1
:
XY
, c2
:
XY
)
:
this
Parameters
c1:
XY
c2:
XY
Returns
this
Set
Zero
Set
Zero
(
)
:
this
Returns
this
Solve
Solve<T>
(
b_x
:
number
, b_y
:
number
, out
:
T
)
:
T
Type parameters
T
:
XY
Parameters
b_x:
number
b_y:
number
out:
T
Returns
T
Static
AbsM
AbsM
(
M
:
b2Mat22
, out
:
b2Mat22
)
:
b2Mat22
Parameters
M:
b2Mat22
out:
b2Mat22
Returns
b2Mat22
Static
AddMM
AddMM
(
A
:
b2Mat22
, B
:
b2Mat22
, out
:
b2Mat22
)
:
b2Mat22
Parameters
A:
b2Mat22
B:
b2Mat22
out:
b2Mat22
Returns
b2Mat22
Static
From
Angle
From
Angle
(
radians
:
number
)
:
b2Mat22
Parameters
radians:
number
Returns
b2Mat22
Static
FromSSSS
FromSSSS
(
r1c1
:
number
, r1c2
:
number
, r2c1
:
number
, r2c2
:
number
)
:
b2Mat22
Parameters
r1c1:
number
r1c2:
number
r2c1:
number
r2c2:
number
Returns
b2Mat22
Static
FromVV
FromVV
(
c1
:
XY
, c2
:
XY
)
:
b2Mat22
Parameters
c1:
XY
c2:
XY
Returns
b2Mat22
Static
MulMM
MulMM
(
A
:
b2Mat22
, B
:
b2Mat22
, out
:
b2Mat22
)
:
b2Mat22
Parameters
A:
b2Mat22
B:
b2Mat22
out:
b2Mat22
Returns
b2Mat22
Static
MulMV
MulMV<T>
(
M
:
b2Mat22
, v
:
XY
, out
:
T
)
:
T
Type parameters
T
:
XY
Parameters
M:
b2Mat22
v:
XY
out:
T
Returns
T
Static
MulTMM
MulTMM
(
A
:
b2Mat22
, B
:
b2Mat22
, out
:
b2Mat22
)
:
b2Mat22
Parameters
A:
b2Mat22
B:
b2Mat22
out:
b2Mat22
Returns
b2Mat22
Static
MulTMV
MulTMV<T>
(
M
:
b2Mat22
, v
:
XY
, out
:
T
)
:
T
Type parameters
T
:
XY
Parameters
M:
b2Mat22
v:
XY
out:
T
Returns
T
Globals
node_
modules\@cocos\box2d\src\common
b2
Mat22
data
ex
ey
IDENTITY
Clone
Copy
Get
Angle
Get
Inverse
Self
Abs
Self
AddM
Self
Inv
Self
SubM
Set
Angle
Set
Identity
SetSSSS
SetVV
Set
Zero
Solve
AbsM
AddMM
From
Angle
FromSSSS
FromVV
MulMM
MulMV
MulTMM
MulTMV
Generated using
TypeDoc