@itwin/core-frontend
Version:
iTwin.js frontend components
28 lines • 1.27 kB
TypeScript
/** @packageDocumentation
* @module Rendering
*/
import { Frustum } from "@itwin/core-common";
import { Map4d, Matrix4d, Plane3dByOriginAndUnitNormal, Range1d, Range3d, Transform } from "@itwin/core-geometry";
import { Tile, TileTreeReference } from "../../../tile/internal";
import { SceneContext } from "../../../ViewContext";
import { ViewState3d } from "../../../ViewState";
import { RenderState } from "./RenderState";
import { Target } from "./Target";
export declare class PlanarTextureProjection {
private static _postProjectionMatrixNpc;
private static isTileRangeInBounds;
static computePlanarTextureProjection(texturePlane: Plane3dByOriginAndUnitNormal, sceneContext: SceneContext, target: {
tiles: Tile[];
location: Transform;
}, drapeRefs: TileTreeReference[], viewState: ViewState3d, textureWidth: number, textureHeight: number, maskRange: Range3d, _heightRange?: Range1d): {
textureFrustum?: Frustum;
worldToViewMap?: Map4d;
projectionMatrix?: Matrix4d;
debugFrustum?: Frustum;
};
static getTextureDrawingParams(target: Target): {
state: RenderState;
viewFlags: import("@itwin/core-common").ViewFlags;
};
}
//# sourceMappingURL=PlanarTextureProjection.d.ts.map