import RenderStage from "./RenderStage"; import Scene from "./Scene"; import AbstractLineEntity from "./AbstractLineEntity"; import LineMaterial from "./LineMaterial"; /** * 太さ付き連続線エンティティ */ declare class PathEntity extends AbstractLineEntity { private _length_array; private _lower_length; private _upper_length; /** * @param scene 所属可能シーン * @param opts オプション集合 */ constructor(scene: Scene, opts?: PathEntity.Option); /** * アニメーションの BindingBlock を初期化 */ private _setupAnimationBindingBlock; /** * 距離の下限値を設定 * * @param lower_length 距離の下限値 */ setLowerLength(lower_length: number): void; /** * 距離の上限値を設定 * * @param upper_length 距離の上限値 */ setUpperLength(upper_length: number): void; /** * 複数の頂点を追加 * * points は [lon_0, lat_0, alt_0, lon_1, lat_1, alt_1, ...] のような形式の配列を与える。 * * @param points 頂点の配列 * @param length_array 始点からの距離の配列 */ addPoints(points: number[], length_array: number[]): void; /** */ private _setupByJson; /** * 専用マテリアルを取得 */ protected getLineMaterial(render_target: RenderStage.RenderTarget): LineMaterial; } declare namespace PathEntity { interface Option extends AbstractLineEntity.Option { /** * 生成情報 */ json?: Json; } interface Json extends AbstractLineEntity.Json { points: PointsJson; lower_length: number; upper_length: number; } interface PointsJson { positions: number[]; lengths: number[]; } } export default PathEntity; //# sourceMappingURL=PathEntity.d.ts.map