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.BooleanExample
NegUnitCross()
Box2D.Common.b2Vec2 NegUnitCross()()The mathematical equivalent of 1 cross with this
Returns:
Box2D.Common.b2Vec2Example
Normalize()
System.Single Normalize()()Returns:
System.SingleExample
Set(float, float)
Set(float, float)(System.Single x_, System.Single y_)Parameters:
x_ (System.Single)y_ (System.Single)Example
SetZero()
SetZero()()Example
Skew()
Box2D.Common.b2Vec2 Skew()()Returns:
Box2D.Common.b2Vec2Example
ToString()
System.String ToString()()Returns:
System.StringExample
UnitCross()
Box2D.Common.b2Vec2 UnitCross()()The mathematical equivalent of this cross with 1.0f
Returns:
Box2D.Common.b2Vec2Example
Propertys
Length(System.Single)
LengthSquared(System.Single)
Fields
Zero(Box2D.Common.b2Vec2)
x(System.Single)
y(System.Single)