SKFieldForceEvaluator 委托

定义

一种方法,该方法通过将字段的物理特性应用于场内的主体来派生力。

public delegate OpenTK.Vector3 SKFieldForceEvaluator(Vector4 position, Vector4 velocity, float mass, float charge, double time);
type SKFieldForceEvaluator = delegate of Vector4 * Vector4 * single * single * double -> Vector3

参数

position
Vector4
velocity
Vector4
mass
Single
charge
Single
time
Double

返回值

适用于