pocketmine\level\particle\DustParticle::__construct PHP Метод

__construct() публичный Метод

public __construct ( Vector3 $pos, $r, $g, $b, $a = 255 )
$pos pocketmine\math\Vector3
    public function __construct(Vector3 $pos, $r, $g, $b, $a = 255)
    {
        parent::__construct($pos, Particle::TYPE_DUST, ($a & 0xff) << 24 | ($r & 0xff) << 16 | ($g & 0xff) << 8 | $b & 0xff);
    }
DustParticle