b2Vec2
b2Vec2
Box2D.CommonType: Struct
Constructors
b2Vec2(float, float)
Methods
Equals(b2Vec2)
System.Boolean Equals(b2Vec2)(Box2D.Common.b2Vec2 o)Parameters:
o (Box2D.Common.b2Vec2)Returns:
System.BooleanEquals(object)
System.Boolean Equals(object)(System.Object obj)Parameters:
obj (System.Object)Returns:
System.BooleanExample
GetHashCode()
System.Int32 GetHashCode()()Returns:
System.Int32Example
IsValid()
System.Boolean IsValid()()Returns:
System.BooleanNegUnitCross()
Box2D.Common.b2Vec2 NegUnitCross()()Returns:
Box2D.Common.b2Vec2Normalize()
System.Single Normalize()()Returns:
System.SingleSet(float, float)
Set(float, float)(System.Single x_, System.Single y_)Parameters:
x_ (System.Single)y_ (System.Single)SetZero()
SetZero()()Skew()
Box2D.Common.b2Vec2 Skew()()Returns:
Box2D.Common.b2Vec2ToString()
System.String ToString()()Returns:
System.StringExample
UnitCross()
Box2D.Common.b2Vec2 UnitCross()()Returns:
Box2D.Common.b2Vec2Propertys
Length(System.Single)
LengthSquared(System.Single)
Fields
Zero(Box2D.Common.b2Vec2)
x(System.Single)
y(System.Single)