XNACS1Lib: CSS490 Spring 2011
Assembly: XNACS1Lib (in XNACS1Lib.dll) Version: 1.0.0.0
aPos and bPos are two end positions on the opposite edges of the rectangle. Width is the width of the edge.
Namespace: XNACS1LibAssembly: XNACS1Lib (in XNACS1Lib.dll) Version: 1.0.0.0
Syntax
C# |
---|
public void SetEndPoints( Vector2 aPos, Vector2 bPos, float width ) |
Parameters
- aPos
- Type: Vector2
Center of one end position.
- bPos
- Type: Vector2
Center of the opposite end position.
- width
- Type: System..::..Single
Width of the rectangle.