Skip to main content

b2Rot

b2Rot

Box2D.Common

Type: Struct

Constructors

b2Rot(float)

Methods

GetAngle()

System.Single GetAngle()()
Returns:
System.Single
Example

GetXAxis()

Box2D.Common.b2Vec2 GetXAxis()()
Returns:
Box2D.Common.b2Vec2
Example

GetYAxis()

Box2D.Common.b2Vec2 GetYAxis()()
Returns:
Box2D.Common.b2Vec2
Example

Set(float)

Set(float)(System.Single angle)
Parameters:
angle (System.Single)
Example

SetIdentity()

SetIdentity()()
Example

Fields

Identity(Box2D.Common.b2Rot)
c(System.Single)
s(System.Single)