//from global // create by Vector2 var force = new Force(vector); // create by x,y var force = new Force(fx, fy); // create by x,y,force var force = new Force(x, y, force); //from SarEngine var force = new SarEngine.Force(vector); var force = new SarEngine.Force(fx, fy); var force = new SarEngine.Force(x, y, force);
Force
Align
Arc
ArrayList
Audio
AudioTrack
Background
Block
Button
Camera
Circle
CollideGroup
Colliders
Color
Combination
Coordinate
Device
Font
FontStyle
FontVariant
FontWeight
Force
GameObject
Graphics
Ground
GUI
Image
ImageAnimation
Joystick
Keyboard
KeyEventArgs
Layer
Line
LinkList
Matrix
Mouse
MouseEventArgs
OneWayGround
Output
Particle
Path
Point
Polygon
Position
Rectangle
SarEngine
Scene
Text
TextAlign
TextBaseline
Thickness
Touch
TouchEventArgs
Vector2
Wall
用二维向量表示的力。可以通过指定一个向量来构造一个力。也可以通过向量来指定方向,力的大小来指定大小构造一个力。
Syntax
Parameters