UNPKG

@spearwolf/twopoint5d

Version:

a library to create 2.5d realtime graphics and pixelart with three.js

17 lines 871 B
import { Object3D, Plane as THREE_Plane, Vector3 } from 'three'; export type ProjectionPlaneDescription = 'xy|bottom-left' | 'xy|top-left' | 'xz|bottom-left' | 'xz|top-left'; export declare class ProjectionPlane { plane: THREE_Plane; up: Vector3; constructor(planeDescription: ProjectionPlaneDescription | THREE_Plane, up?: Vector3); static get(plane: ProjectionPlane | ProjectionPlaneDescription): ProjectionPlane; clone(): ProjectionPlane; equals(projectionPlane: ProjectionPlane): boolean; applyRotation(obj3d: Object3D): void; getPointByDistance(distanceToPlane: number, target?: Vector3): Vector3; getOrigin(target?: Vector3): Vector3; getForward(target?: Vector3): Vector3; getRight(target?: Vector3): Vector3; getPoint(x: number, y: number, target?: Vector3): Vector3; } //# sourceMappingURL=ProjectionPlane.d.ts.map