phaser - v4.0.0-rc.4
    Preparing search index...
    RopeConfig: GameObjectConfig & {
        alphas?: number[];
        colors?: number[];
        frame?: string | integer | null;
        horizontal?: boolean;
        key?: string;
        points?: integer | Vector2Like[];
    }

    Type declaration

    • Optionalalphas?: number[]

      An optional array containing the alpha data for this Rope. You should provide one alpha value per pair of vertices.

    • Optionalcolors?: number[]

      An optional array containing the color data for this Rope. You should provide one color value per pair of vertices.

    • Optionalframe?: string | integer | null

      An optional frame from the Texture this Game Object is rendering with.

    • Optionalhorizontal?: boolean

      Should the vertices of this Rope be aligned horizontally (true), or vertically (false)?

    • Optionalkey?: string

      The key of the Texture this Game Object will use to render with, as stored in the Texture Manager. If not given, __DEFAULT is used.

    • Optionalpoints?: integer | Vector2Like[]

      An array containing the vertices data for this Rope, or a number that indicates how many segments to split the texture frame into. If none is provided a simple quad is created. See setPoints to set this post-creation.