UNPKG

@polygonjs/polygonjs

Version:

node-based WebGL 3D engine https://polygonjs.com

27 lines (26 loc) 1.4 kB
import { Intersection, Vector2, Vector3, Object3D } from 'three'; import { NamedFunction1, NamedFunction2, ObjectNamedFunction1 } from './_Base'; export declare class getIntersectionPropertyDistance extends NamedFunction1<[Intersection | undefined]> { static type(): string; func(intersection: Intersection | undefined): number; } export declare class getIntersectionPropertyFaceIndex extends NamedFunction1<[Intersection | undefined]> { static type(): string; func(intersection: Intersection | undefined): number; } export declare class getIntersectionPropertyObject extends ObjectNamedFunction1<[Intersection | undefined]> { static type(): string; func(object3D: Object3D, intersection: Intersection | undefined): Object3D; } export declare class getIntersectionPropertyPoint extends NamedFunction2<[Intersection | undefined, Vector3]> { static type(): string; func(intersection: Intersection | undefined, target: Vector3): Vector3; } export declare class getIntersectionPropertyNormal extends NamedFunction2<[Intersection | undefined, Vector3]> { static type(): string; func(intersection: Intersection | undefined, target: Vector3): Vector3; } export declare class getIntersectionPropertyUv extends NamedFunction2<[Intersection | undefined, Vector2]> { static type(): string; func(intersection: Intersection | undefined, target: Vector2): Vector2; }