Properties
Readonly p
Readonly q
Static Readonly IDENTITY
Methods
Clone
-
Copy
-
Parameters
Returns this
GetAngle
-
Returns number
GetPosition
- GetPosition(): Readonly<b2Vec2>
-
Returns Readonly<b2Vec2>
GetRotation
- GetRotation(): Readonly<b2Rot>
-
Returns Readonly<b2Rot>
GetRotationAngle
- GetRotationAngle(): number
-
Returns number
SetIdentity
-
Returns this
SetPosition
- SetPosition(position: XY): this
-
Parameters
Returns this
SetPositionAngle
- SetPositionAngle(pos: XY, a: number): this
-
Parameters
Returns this
SetPositionRotation
- SetPositionRotation(position: XY, q: Readonly<b2Rot>): this
-
Parameters
Returns this
SetPositionXY
- SetPositionXY(x: number, y: number): this
-
Parameters
Returns this
SetRotation
- SetRotation(rotation: Readonly<b2Rot>): this
-
Parameters
-
rotation: Readonly<b2Rot>
Returns this
SetRotationAngle
- SetRotationAngle(radians: number): this
-
Parameters
Returns this
Static MulTXV
-
Type parameters
Parameters
Returns T
Static MulTXX
-
Parameters
Static MulXV
-
Type parameters
Parameters
Returns T
Static MulXX
-
Parameters