Skip to main content

b2Vec3

b2Vec3

Box2D.Common

Type: Struct

Constructors

b2Vec3(float, float, float)

Methods

IsValid()

System.Boolean IsValid()()
Returns:
System.Boolean
Example

Length()

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

LengthSquared()

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

Normalize()

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

Set(float, float, float)

Set(float, float, float)(System.Single ix, System.Single iy, System.Single iz)
Parameters:
ix (System.Single)
iy (System.Single)
iz (System.Single)
Example

SetZero()

SetZero()()
Example

Skew()

Box2D.Common.b2Vec3 Skew()()
Returns:
Box2D.Common.b2Vec3
Example

Operators

operator +(b2Vec3, b2Vec3)

operator *(b2Vec3, float)

operator *(float, b2Vec3)

operator -(b2Vec3, b2Vec3)

operator -(b2Vec3)

Fields

x(System.Single)
y(System.Single)
z(System.Single)