Static methods

staticinlinerandomPointInTriangle(a:Vec3, b:Vec3, c:Vec3):Vec3

Generates a random point in the triangle with vertex positions abc.

Please note that the given position vectors are changed in-place by this function and can be considered garbage afterwards, so make sure to clone them first if needed.

Constructor

new(sceneName:String, pref:TParticleReference)

Variables

@:value(1.0)speed:Float = 1.0

Methods