Phaser API Documentation

  Version: 
alphas: Float32Array

Description:

An array containing the alpha data for this Rope.

Alphas should be given as float values, such as 0.5. You should provide two alpha values for every point in the Rope, one for the top and one for the bottom of each quad.

You can modify the contents of this array directly in real-time, however, should you need to change the size of the array, then you should use the setAlphas method instead.

Type:
Float32Array
Since: 3.23.0