Phaser API Documentation

  Version: 
<static> Clone(source)

Description:

Clones a Triangle object.

Parameters:

name type description
source Phaser.Geom.Triangle

The Triangle to clone.

Returns:
Description:

A new Triangle identical to the given one but separate from it.

Since: 3.0.0
Source: src/geom/triangle/Clone.js (Line 9)