@equinor/esv-intersection
Version:
Intersection component package with testing and automatic documentation.
27 lines • 785 B
TypeScript
import { IPoint, MeshGeometry } from 'pixi.js';
export declare class FixedWidthSimpleRopeGeometry extends MeshGeometry {
points: IPoint[];
_width: number;
/**
* @param {number} [width=200] - The width (i.e., thickness) of the rope.
* @param {PIXI.Point[]} [points] - An array of PIXI.Point objects to construct this rope.
*/
constructor(points: IPoint[], width?: number);
/**
* The width (i.e., thickness) of the rope.
* @member {number}
* @readOnly
*/
get width(): number;
/**
* Refreshes Rope indices and uvs
* @private
*/
private build;
/**
* refreshes vertices of Rope mesh
*/
updateVertices(): void;
update(): void;
}
//# sourceMappingURL=FixedWidthSimpleRopeGeometry.d.ts.map