Skip to main content

b2Mat22

b2Mat22

Box2D.Common

Type: Struct

Constructors

b2Mat22(b2Vec2, b2Vec2)

b2Mat22(float, float, float, float)

Methods

GetInverse()

Box2D.Common.b2Mat22 GetInverse()()
Returns:
Box2D.Common.b2Mat22

GetInverse(out b2Mat22)

GetInverse(out b2Mat22)(Box2D.Common.b2Mat22 matrix)
Parameters:
matrix (Box2D.Common.b2Mat22)

Set(b2Vec2, b2Vec2)

Set(b2Vec2, b2Vec2)(Box2D.Common.b2Vec2 c1, Box2D.Common.b2Vec2 c2)
Parameters:
c1 (Box2D.Common.b2Vec2)
c2 (Box2D.Common.b2Vec2)
Example

SetIdentity()

SetIdentity()()
Example

SetZero()

SetZero()()
Example

Solve(b2Vec2)

Box2D.Common.b2Vec2 Solve(b2Vec2)(Box2D.Common.b2Vec2 b)
Parameters:
b (Box2D.Common.b2Vec2)
Returns:
Box2D.Common.b2Vec2
Example

Fields

Identity(Box2D.Common.b2Mat22)
Zero(Box2D.Common.b2Mat22)
ex(Box2D.Common.b2Vec2)
ey(Box2D.Common.b2Vec2)

Propertys

exx(System.Single)
exy(System.Single)
eyx(System.Single)
eyy(System.Single)

Operators

operator +(b2Mat22, b2Mat22)

operator *(b2Mat22, b2Mat22)

operator *(b2Mat22, b2Vec2)

operator *(b2Vec2, b2Mat22)